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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x58b31d
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x44], ebp
mov esi, dword [eax + 0x40]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x62f600]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x40]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0x3c]
mov ebp, dword [edx + 0x40]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.0058f920
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 0x80]
test dx, dx
jne 0x58aa00
mov edx, dword [ecx + 0x74]
test edx, edx
je 0x58b2c6
mov edx, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
test edx, edx
je 0x58aa30
mov ebp, dword [eax + 8]
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xc0], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x58b2b0
mov dword [ebp + 0xb8], edx
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 0x54]
test dx, dx
jne 0x58b263
movzx ecx, word [ecx + 0x80]
test cx, cx
je 0x58b25c
mov edx, dword [eax + 8]
mov ebx, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
xor ebp, ebp
jmp 0x58aa5e
inc ebp
cmp ebp, edx
jge 0x58b20f
lea esi, [ebx + ebp*2]
cmp word [esi], cx
jne 0x58aa5d
mov word [esp + 0x32], cx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
je 0x58b1c2
mov word [esp], ax
call fcn.005977c0
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x58aab2
test al, al
je 0x58b175
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x28]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
je 0x58b164
mov dword [esp], ebx
mov dword [esp + 4], edx
mov word [esp + 8], cx
call fcn.00597470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x58b12e
mov edx, dword [esp + 0xa8]
mov dword [edx + 0xc], eax
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x58b11b
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], edx
lea ebx, [0x62e400]
mov dword [esp], ebx
call fcn.0040b4f0
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x58b106
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 8]
mov dword [edx + 0xc8], 1
mov dword [edx + 0xcc], 1
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x58b0f6
mov dword [edx + 0xc4], eax
mov edi, dword [ecx + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov edx, dword [0x8326a0]
test edx, edx
jne 0x58b0ea
mov dword [edi], 0
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xe4]
test eax, eax
jg 0x58adbf
mov eax, dword [ecx + 8]
mov dword [esp], eax
call fcn.0058d8a0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.0058d8a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00581ab0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x58adaa
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00581b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x58ad95
lea ebx, [0x6410e0]
cmp ecx, ebx
jne 0x58ad89
mov eax, edx
jne 0x58acdf
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x58acca
mov eax, dword [esp + 0xa8]
mov dword [eax + 4], edx
mov dword [esp], eax
call fcn.0058a4d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x58acad
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa4
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0xa4
ret
mov ecx, dword [esp + 0xa8]
lea edi, [ecx + 4]
mov eax, edx
call fcn.0045ace0
mov eax, ecx
jmp 0x58ac84
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00581150
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
lea eax, [0x6410e0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
lea eax, [0x682ddc]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa4
ret
mov eax, edx
mov edx, 0
jmp 0x58ac6e
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
add esp, 0xa4
ret
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa4
ret
mov eax, dword [ecx + 0x14]
movzx eax, word [eax + 0xe]
mov word [esp], ax
call fcn.0057af70
mov eax, dword [esp + 4]
test eax, eax
je 0x58b0bc
mov ecx, dword [esp + 0xa8]
mov ebx, dword [ecx + 0x38]
mov ebx, dword [ebx + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x58b043
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x28]
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0045af8b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x58b038
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x7c]
mov esi, esp
call fcn.0045b46e
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x14]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x90]
call fcn.0045b46e
mov edi, esp
lea esi, [esp + 0x7c]
call fcn.0045b46e
lea edi, [esp + 0x14]
lea esi, [esp + 0x90]
call fcn.0045b46e
call fcn.0049cd30
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call fcn.00452890
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe0]
add ebp, dword [ebx + 0x80]
test esi, esi
jbe 0x58b313
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x38]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.00506930
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x62f600]
mov dword [esp], edx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x40]
mov byte [eax + 3], cl
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.0058f920
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.0058daf0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
call fcn.005971c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
lea ebx, [0x62e340]
mov dword [esp], ebx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x58b02d
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0058db80
mov ecx, dword [esp + 0xa8]
jmp 0x58abcf
mov eax, dword [esp + 0x68]
call fcn.0045ace0
jmp 0x58affb
lea ecx, [0x689910]
jmp 0x58ae0e
mov edx, dword [ecx + 8]
mov dword [edx + 0xe4], 0
mov dword [edx + 0xe8], 0
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x58b0ad
mov dword [edx + 0xe0], 0
mov edx, dword [ecx + 8]
mov dword [edx + 0xf0], 0
mov dword [edx + 0xf4], 0
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x58b09b
mov dword [edx + 0xec], 0
jmp 0x58b021
lea edi, [edx + 0xec]
xor eax, eax
call fcn.0045ace0
jmp 0x58b021
lea edi, [edx + 0xe0]
xor eax, eax
call fcn.0045ace0
jmp 0x58b06e
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa4
ret
xor eax, eax
call fcn.0045ace0
jmp 0x58abbe
lea edi, [edx + 0xc4]
call fcn.0045ace0
jmp 0x58ab99
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045ace0
mov eax, ecx
jmp 0x58ab67
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, ecx
call fcn.0045ace0
mov eax, ebx
jmp 0x58ab0a
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov ebx, dword [0x81b960]
mov edx, dword [0x81b964]
jmp 0x58aac6
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x67ff95]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x681e6b]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x67d473]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
mov ecx, eax
jmp 0x58ab99
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x67ec4d]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
lea edi, [ebp + 0xb8]
mov ecx, eax
mov eax, edx
call fcn.0045ace0
mov eax, ecx
jmp 0x58aa30
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x681c21]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0xa4
ret
xor eax, eax
mov ecx, esi
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.0058a8c0