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

Disassembly:
push 0xffffffffffffffff
push 0x58b7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x40]
xor edi, edi
mov dword [esp + 0x40], edi
cmp dword [eax + 0x15c], edi
je 0x4a50e6
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x78]
push eax
mov byte [esp + 0x48], 1
call fcn.005672cc
test eax, eax
je 0x4a4ec5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00550577
mov ebp, eax
add esp, 4
cmp ebp, edi
jl 0x4a50d8
cmp ebp, dword [esi + 0x6c]
jge 0x4a50d8
mov edx, dword [esi + 0x68]
lea edi, [ebp*8]
sub edi, ebp
lea ecx, [esp + 0x20]
shl edi, 6
add edx, edi
push edx
call fcn.0056877a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x4a4eb7
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + edi + 0x38]
lea eax, [edx + edi]
mov edx, dword [0x5f9f88]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
push eax
push 0x5f0634
lea eax, [esp + 0x24]
push 0x5eaa2c
push eax
mov byte [esp + 0x50], 3
call fcn.00563eb4
add esp, 0xc
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00568481
mov ecx, esi
call fcn.004a46e0
mov ebx, eax
test ebx, ebx
je 0x4a4ea9
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a4df5
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x48]
push eax
call fcn.00567792
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esi + 0x78]
call fcn.00567354
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
sub eax, ebp
dec eax
lea edi, [edi + ecx]
je 0x4a4dc3
lea edx, [eax*8]
sub edx, eax
lea eax, [ebp + 1]
shl edx, 6
push edx
lea edx, [eax*8]
sub edx, eax
shl edx, 6
add edx, ecx
push edx
push edi
call fcn.005509e0
add esp, 0xc
mov ecx, dword [esi + 0x6c]
dec ecx
mov dword [esi + 0x6c], ecx
mov eax, dword [esi + 0x98]
cmp ebx, eax
jne 0x4a4dde
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0x1c]
push ebx
push 0
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4a4ea9
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x14]
add edx, edi
mov byte [esp + 0x40], 4
push edx
call fcn.0056877a
push 0x5fe7d8
push 0x5f0634
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 5
call fcn.005637fc
lea ecx, [esp + 0x14]
call fcn.00563ec7
mov eax, dword [esp + 0x14]
push 0x5fe7d8
push eax
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x4a4e58
push 0x5f0640
lea ecx, [esp + 0x18]
call fcn.00568895
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x38]
push 0x5f0650
push eax
call fcn.00563eb4
mov ecx, dword [esp + 0x40]
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00565304
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.0056870c
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 3
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 2
call fcn.0056870c
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x20]
jmp 0x4a50d3
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, edi
jle 0x4a50d8
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x2c]
add edx, edi
push edx
call fcn.0056877a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x4a4f18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 1
call fcn.0056870c
mov eax, dword [esi + 0x6c]
inc ebp
add edi, 0x1c0
cmp ebp, eax
jl 0x4a4ed2
jmp 0x4a50d8
mov edx, dword [esi + 0x68]
lea edi, [ebp*8]
sub edi, ebp
shl edi, 6
mov ecx, dword [edx + edi + 0x38]
lea eax, [edx + edi]
mov edx, dword [0x5f9f88]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
push eax
push 0x5f0634
lea eax, [esp + 0x30]
push 0x5eaa2c
push eax
mov byte [esp + 0x50], 7
call fcn.00563eb4
add esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00568481
mov ecx, esi
call fcn.004a46e0
mov ebx, eax
test ebx, ebx
je 0x4a50bc
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a5008
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0x48]
push eax
call fcn.00567792
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esi + 0x78]
call fcn.00567354
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
sub eax, ebp
dec eax
lea edi, [ecx + edi]
je 0x4a4fd6
lea edx, [eax*8]
sub edx, eax
lea eax, [ebp + 1]
shl edx, 6
push edx
lea edx, [eax*8]
sub edx, eax
shl edx, 6
add edx, ecx
push edx
push edi
call fcn.005509e0
add esp, 0xc
mov ecx, dword [esi + 0x6c]
dec ecx
mov dword [esi + 0x6c], ecx
mov eax, dword [esi + 0x98]
cmp ebx, eax
jne 0x4a4ff1
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0x1c]
push ebx
push 0
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4a50bc
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x18]
add edx, edi
mov byte [esp + 0x40], 8
push edx
call fcn.0056877a
push 0x5fe7d8
push 0x5f0634
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 9
call fcn.005637fc
lea ecx, [esp + 0x18]
call fcn.00563ec7
mov eax, dword [esp + 0x18]
push 0x5fe7d8
push eax
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x4a506b
push 0x5f0640
lea ecx, [esp + 0x1c]
call fcn.00568895
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x3c]
push 0x5f0650
push eax
call fcn.00563eb4
mov ecx, dword [esp + 0x44]
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00565304
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 8
call fcn.0056870c
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 7
call fcn.0056870c
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 6
call fcn.0056870c
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x2c]
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.0056870c
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4