Function at 0x419c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1706
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], edx
mov esi, ecx
test esi, esi
jne 0x419c91
xor eax, eax
jmp 0x419f21
xor eax, eax
test edx, edx
je 0x419f21
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419cb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00407020
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov esi, 0x811c9dc5
mov edx, dword [ebp - 0x2c]
cmovae edi, edx
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x419cf8
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x419ce7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], esi
cmp eax, 8
jb 0x419d35
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419d2b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419f3d
push ecx
push edx
call fcn.004c1e27
add esp, 8
mov edx, dword [0x544f54]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x419d67
cmp dword [eax + 0x10], esi
jae 0x419d50
mov eax, dword [eax + 8]
jmp 0x419d54
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x419d46
cmp ecx, edx
je 0x419d67
cmp esi, dword [ecx + 0x10]
jae 0x419c8a
push 0x5c
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.004c4ac0
add esp, 0xc
lea eax, [ebp - 0x8c]
push eax
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ebx, dword [ebp - 0x90]
lea edx, [ebp - 0x70]
mov ecx, ebx
sub edx, ebx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x419da0
mov eax, dword [ebp + 8]
neg eax
mov byte [ebp - 0x75], 1
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x8c], eax
je 0x419dcc
add dword [ebp - 0x7c], 0x2bc
cmp dword [ebp + 0x10], 0
mov ecx, 1
movzx eax, byte [ebp - 0x77]
cmovne eax, ecx
cmp dword [ebp + 0x14], 0
mov byte [ebp - 0x77], al
movzx eax, byte [ebp - 0x76]
cmovne eax, ecx
cmp dword [ebp + 0x18], 0
mov byte [ebp - 0x76], al
movzx eax, byte [ebp - 0x78]
cmovne eax, ecx
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
mov dword [ebp - 0x90], esi
test esi, esi
je 0x419c8a
lea ecx, [ebp - 0x98]
call fcn.0041aa50
mov dword [ebp - 4], 0
mov ecx, ebx
mov edi, dword [ebp - 0x98]
lea edx, [ecx + 2]
mov dword [edi], esi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419e37
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x1c]
call fcn.00407020
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x18]
push 0x3c
mov dword [edi + 0x44], eax
lea eax, [edi + 0x4c]
push 0
push eax
call fcn.004c4ac0
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0xac]
call fcn.0041aad0
add esp, 0x10
push eax
mov ecx, 0x544f54
mov byte [ebp - 4], 1
call fcn.0041ab60
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xa0]
mov ecx, 0x544f54
push eax
call fcn.0041abb0
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov esi, dword [ebp - 0xa4]
test esi, esi
je 0x419eec
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x419eec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x419eec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x419f1b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x419f1b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x419f1b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
call fcn.004c7d81
int3