Function at 0x514590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x627348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x76c]
lea ecx, [esi + 0x494]
add eax, 0x1c
push eax
call fcn.005ddc16
mov eax, dword [esi + 0x76c]
add eax, 0x20
mov ecx, dword [eax]
test ecx, ecx
je 0x5145d9
push eax
lea ecx, [esi + 0x458]
call fcn.005ddc16
mov ecx, dword [esi + 0x76c]
push edi
add ecx, 0x24
push ecx
lea ecx, [esi + 0x4d0]
call fcn.005ddc16
mov edx, dword [esi + 0x76c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [edx + 0x28]
and eax, 1
push eax
mov eax, dword [esi + 0x6cc]
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x76c]
mov edx, dword [esi + 0x5dc]
push 0
mov eax, dword [ecx + 0x28]
and eax, 2
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov ecx, dword [esi + 0x5a0]
push 0
mov eax, dword [eax + 0x28]
and eax, 4
push eax
push 0xf1
push ecx
call edi
mov edx, dword [esi + 0x76c]
push 0
mov eax, dword [edx + 0x28]
and eax, 8
push eax
mov eax, dword [esi + 0x618]
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x76c]
mov edx, dword [esi + 0x564]
push 0
mov eax, dword [ecx + 0x28]
and eax, 0x10
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov ecx, dword [esi + 0x690]
push 0
mov eax, dword [eax + 0x28]
and eax, 0x20
push eax
push 0xf1
push ecx
call edi
mov edx, dword [esi + 0x76c]
push 0
mov eax, dword [edx + 0x28]
and eax, 0x40
push eax
mov eax, dword [esi + 0x654]
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x76c]
push 0
mov al, byte [ecx + 0x19]
test al, al
je 0x5146df
mov edx, dword [esi + 0x528]
push 1
push 0xf1
push edx
jmp 0x514708
mov eax, dword [esi + 0x528]
push 0
push 0xf1
push eax
call edi
push 0x4c5
mov ecx, esi
call fcn.00601246
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0xf1
push ecx
call edi
mov edx, dword [esi + 0x76c]
xor eax, eax
push ebx
push 0
mov al, byte [edx + 0x1a]
push eax
mov eax, dword [esi + 0x744]
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x76c]
mov edx, dword [esi + 0x708]
xor eax, eax
push 0
mov al, byte [ecx + 0x1b]
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov edx, dword [esi + 0x384]
xor ecx, ecx
push 0
mov cl, byte [eax + 0x15]
mov eax, ecx
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov edx, dword [esi + 0x3fc]
xor ecx, ecx
push 0
mov cl, byte [eax + 0x17]
mov eax, ecx
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov edx, dword [esi + 0x3c0]
xor ecx, ecx
push 0
mov cl, byte [eax + 0x16]
mov eax, ecx
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov edx, dword [esi + 0x438]
xor ecx, ecx
push 0
mov cl, byte [eax + 0x18]
mov eax, ecx
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x78]
xor ebx, ebx
push ebx
push ebx
push 0x146
push eax
call edi
test eax, eax
jle 0x514809
mov ecx, dword [esi + 0x78]
push 0
push ebx
push 0x150
push ecx
call edi
mov edx, dword [esi + 0x76c]
cmp dword [edx + 0x3c], eax
jne 0x5147f5
mov eax, dword [esi + 0x78]
push 0
push ebx
push 0x14e
push eax
call edi
mov ecx, dword [esi + 0x78]
push 0
push 0
push 0x146
push ecx
inc ebx
call edi
cmp ebx, eax
jl 0x5147ce
mov edx, dword [esi + 0x76c]
pop ebx
push 0
mov al, byte [edx + 8]
test al, al
je 0x514829
mov eax, dword [esi + 0x21c]
push 1
push 0xf1
push eax
jmp 0x514852
mov ecx, dword [esi + 0x21c]
push 0
push 0xf1
push ecx
call edi
push 0x630
mov ecx, esi
call fcn.00601246
mov edx, dword [eax + 0x1c]
push 0
push 1
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
push 0
cmp dword [eax + 4], 1
jne 0x514872
mov ecx, dword [esi + 0x258]
push 1
push 0xf1
push ecx
jmp 0x514880
mov edx, dword [esi + 0x258]
push 0
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
push 0x632
mov ecx, dword [eax + 4]
cmp ecx, 2
mov ecx, esi
jne 0x5148ab
call fcn.00601246
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0xf1
push ecx
jmp 0x5148bd
call fcn.00601246
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
push 0x633
mov ecx, dword [eax + 4]
cmp ecx, 3
mov ecx, esi
jne 0x5148e8
call fcn.00601246
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0xf1
push ecx
jmp 0x5148fa
call fcn.00601246
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov edx, dword [esi + 0x1e0]
xor ecx, ecx
push 0
mov cl, byte [eax + 9]
mov eax, ecx
push eax
push 0xf1
push edx
call edi
mov eax, dword [esi + 0x76c]
mov cl, byte [eax + 9]
test cl, cl
je 0x5149bb
mov ecx, dword [0x6f175c]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0xc]
mov eax, 0x88888889
imul ecx
add edx, ecx
lea ecx, [esp + 8]
sar edx, 5
mov eax, edx
mov dword [esp + 0x14], 0
shr eax, 0x1f
add edx, eax
push edx
push 0x6c50dc
push ecx
call fcn.005fa6fb
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esi + 0x14c]
push edx
call fcn.006013c8
mov eax, dword [esi + 0x76c]
mov ecx, 0x3c
mov eax, dword [eax + 0xc]
cdq
idiv ecx
push edx
lea edx, [esp + 0xc]
push 0x6c50dc
push edx
call fcn.005fa6fb
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esi + 0xd4]
push eax
call fcn.006013c8
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.006018cc
mov ecx, dword [esi + 0x76c]
mov eax, dword [esi + 0x2d0]
xor edx, edx
push 0
mov dl, byte [ecx + 0x14]
push edx
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x76c]
pop edi
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5149f4
push eax
lea ecx, [esi + 0x32c]
call fcn.006013c8
mov edx, dword [esi + 0x76c]
mov ecx, esi
mov al, byte [edx + 8]
test al, al
je 0x514a0a
call fcn.00513d50
jmp 0x514a0f
call fcn.00513d80
mov ecx, esi
call fcn.00513c70
mov ecx, esi
call fcn.00514010
mov ecx, esi
call fcn.00514040
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret