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

Disassembly:
push 0xffffffffffffffff
push 0x5a7770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x76
mov dword [esp + 0x2c], edi
call fcn.005742aa
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0x1009
push eax
call esi
push 0x75
mov ecx, edi
call fcn.005742aa
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0x147
push ecx
mov dword [esp + 0x3c], eax
call esi
mov ebp, eax
xor eax, eax
cmp ebp, 0xffffffff
lea ecx, [edi + 0x220]
setne al
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
call fcn.005746c8
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0x3e0]
push edx
call fcn.005746c8
cmp ebp, 0xffffffff
push 0x85
setne al
mov ecx, edi
mov byte [edi + 0x278], al
call fcn.005742aa
mov ecx, dword [esp + 0x20]
mov ebp, eax
push ecx
mov ecx, ebp
call fcn.005746c8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
cmp eax, 0xffffffff
je 0x5086af
cmp byte [esp + 0x84], bl
jne 0x5083df
mov ecx, dword [edi + 0x4b8]
cmp ecx, ebx
je 0x5082be
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov edx, dword [ecx + 0x1c]
push 0x150
push edx
call esi
push eax
call fcn.00516e60
add esp, 4
lea ecx, [edi + 0x220]
mov dword [edi + 0x4b8], eax
call fcn.004828b0
test al, al
jne 0x50831b
lea ecx, [edi + 0x220]
call fcn.004dcdb0
mov ecx, dword [edi + 0x4b8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
sub esp, 8
fild qword [esp + 0x3c]
fstp qword [esp]
call fcn.00507310
jmp 0x508336
mov eax, dword [edi + 0x4b8]
fld qword [eax + 0x18]
call fcn.0053e380
push edx
push eax
lea ecx, [edi + 0x220]
call fcn.004dcd10
mov ecx, dword [ebp + 0x1c]
push ebx
push ebx
push 0x147
push ecx
call esi
cmp eax, 0xffffffff
je 0x508370
mov edx, dword [ebp + 0x1c]
push ebx
push ebx
push 0x147
push edx
call esi
push ebx
push eax
mov eax, dword [ebp + 0x1c]
push 0x150
push eax
call esi
mov ecx, dword [edi + 0x4b8]
mov dword [ecx + 0x34], eax
jmp 0x508464
mov ecx, dword [ebp + 0x1c]
push ebx
push ebx
push 0x146
push ecx
mov dword [esp + 0x24], ebx
call esi
cmp eax, ebx
jle 0x508464
mov edx, dword [edi + 0x4b8]
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov eax, dword [edx + 0x34]
mov edx, dword [ebp + 0x1c]
push 0x150
push edx
mov dword [esp + 0x3c], eax
call esi
cmp dword [esp + 0x2c], eax
jne 0x5083be
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1c]
push ebx
push eax
push 0x14e
push ecx
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x1c]
push ebx
push ebx
inc ecx
push 0x146
push edx
mov dword [esp + 0x24], ecx
call esi
cmp dword [esp + 0x14], eax
jl 0x508389
jmp 0x508464
mov eax, dword [edi + 0x4b8]
cmp eax, ebx
je 0x508464
fld qword [eax + 0x18]
call fcn.0053e380
push edx
push eax
lea ecx, [edi + 0x220]
call fcn.004dcd10
mov eax, dword [ebp + 0x1c]
push ebx
push ebx
push 0x146
push eax
mov dword [esp + 0x24], ebx
call esi
cmp eax, ebx
jle 0x508464
mov ecx, dword [edi + 0x4b8]
mov eax, dword [esp + 0x14]
push ebx
push eax
mov edx, dword [ecx + 0x34]
mov ecx, dword [ebp + 0x1c]
push 0x150
push ecx
mov dword [esp + 0x3c], edx
call esi
cmp dword [esp + 0x2c], eax
jne 0x508448
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
push ebx
push edx
push 0x14e
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1c]
push ebx
push ebx
inc eax
push 0x146
push ecx
mov dword [esp + 0x24], eax
call esi
cmp dword [esp + 0x14], eax
jl 0x508413
mov edx, dword [edi + 0x4b8]
mov al, byte [edx + 0x2c]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
push ecx
lea ecx, [edi + 0x120]
call fcn.005746c8
mov edx, dword [edi + 0x4b8]
mov al, byte [edx + 0x2c]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
push ecx
lea ecx, [edi + 0x1a0]
call fcn.005746c8
mov edx, dword [edi + 0x4b8]
mov al, byte [edx + 0x2c]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
push ecx
lea ecx, [edi + 0x360]
call fcn.005746c8
mov edx, dword [edi + 0x4b8]
mov al, byte [edx + 0x2c]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
push ecx
lea ecx, [edi + 0x3a0]
call fcn.005746c8
mov edx, dword [edi + 0x4b8]
mov esi, dword [edx + 0x20]
xor edx, edx
cmp esi, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edx
jle 0x5086af
mov eax, dword [edi + 0x4b8]
xor ebp, ebp
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 0x10]
cmp eax, ebx
mov dword [esp + 0x30], eax
jle 0x50868c
jmp 0x508536
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ebp
call fcn.005123e0
mov esi, eax
mov al, byte [esp + 0x84]
cmp al, bl
jne 0x508586
mov eax, dword [esi + 4]
mov cl, byte [esi + 0x50]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x44]
mov byte [esp + 0x13], cl
push edx
push eax
lea ecx, [edi + 0x4c0]
mov dword [esp + 0x48], ebx
call fcn.0050a6e0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push edx
call fcn.005113f0
mov al, byte [esp + 0x13]
mov byte [esi + 0x50], al
mov al, byte [esi + 0x60]
xor ecx, ecx
cmp al, bl
lea edx, [esp + 0x4c]
setne cl
inc ecx
push edx
mov eax, ecx
mov ecx, dword [esp + 0x24]
shl eax, 0xc
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x24], ecx
push ebx
mov ecx, dword [eax + 0x1c]
push 0x1007
push ecx
mov dword [esp + 0x5c], 0xe
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], 0xf000
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [0x6131b0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x14], eax
mov esi, dword [esi + 4]
mov byte [esp + 0x7c], 1
push esi
call fcn.005170f0
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00576ee0
mov edx, dword [esp + 0x1c]
lea eax, [edx + 1]
push eax
lea eax, [esp + 0x1c]
push 0x5fdac4
push eax
call fcn.0056ad27
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
add esp, 0xc
push ecx
push 1
push edi
mov ecx, esi
call fcn.0056db1a
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
push 2
push edi
call fcn.0056db1a
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], bl
call fcn.00575bd5
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00575bd5
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x50852e
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
inc edx
cmp edx, esi
mov dword [esp + 0x1c], edx
jl 0x50850b
cmp dword [esp + 0x20], ebx
je 0x5086af
mov ecx, dword [esp + 0x24]
push 3
push 3
push ebx
call fcn.0056daef
jmp 0x5086b6
mov ecx, edi
call fcn.005086d0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4