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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x5900cc
sub esp, 0xa8
lea eax, [0x60cc8a]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00491b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x58f851
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c65d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x60ba25]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004c5a90
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x58ffcd
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00461348
lea ecx, [0x60bfee]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 4
lea ecx, [0x60bff6]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 4
lea ecx, [0x60bfe6]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 4
lea ecx, [0x60bfea]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x88]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
lea esi, [0x60bcb5]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call fcn.004c5680
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x58fb33
lea eax, [0x618c29]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.0046c750
movzx eax, byte [esp + 0x10]
test al, al
je 0x58f940
xor eax, eax
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x58fae2
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x60ba1e]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
mov eax, dword [esp + 0xac]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004c9af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call fcn.0058f630
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x58f9f9
xor eax, eax
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x58fae2
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
lea eax, [0x60daf7]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004d5980
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], 1
jne 0x58fa5a
cmp byte [eax], 0x30
jne 0x58fa5a
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
lea eax, [0x5f0f00]
mov dword [esp], eax
call fcn.0040b6c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x58fa8b
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x58faa2
mov ecx, eax
mov eax, dword [esp + 0xac]
call fcn.004610d0
mov eax, ecx
mov ecx, dword [esp + 0xac]
mov edx, dword [0x7bb3cc]
mov ebx, dword [0x7bb3c8]
mov dword [edi + 8], ebx
mov ebx, dword [0x7e1c20]
test ebx, ebx
jne 0x58fac0
mov dword [edi + 0xc], edx
jmp 0x58fad4
lea ebx, [edi + 0xc]
mov ebp, edi
mov edi, ebx
mov esi, eax
mov eax, edx
call fcn.004610d0
mov eax, esi
mov edi, ebp
lea eax, [0x668400]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], eax
lea ebx, [0x60c216]
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00491b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ca4c0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x58fc5d
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call fcn.0058f630
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x58fc23
mov dword [esp + 0x74], ebp
mov dword [esp + 0x60], ebx
lea eax, [0x5f0f00]
mov dword [esp], eax
call fcn.0040b6c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov eax, dword [0x7e1c20]
test eax, eax
jne 0x58fbba
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x58fbc6
mov eax, dword [esp + 0xac]
call fcn.004610d0
mov ecx, dword [esp + 0x74]
mov dword [edi + 8], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x58fbe0
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
jmp 0x58fbf2
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x60]
mov edx, edi
mov edi, ecx
call fcn.004610d0
mov edi, edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x668400]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
add esp, 0xa8
ret
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
mov ebx, dword [esp + 0x4c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x58feef
mov dword [esp + 0x4c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x84], ebx
lea ebp, [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004c9af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call fcn.0058f630
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x58fc4e
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x58fdac
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.004959f0
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
call fcn.004959f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x58febc
test eax, eax
jne 0x58febc
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.00496680
movzx eax, byte [esp + 0x10]
test al, al
je 0x58febc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004ca240
movzx eax, byte [esp + 8]
test al, al
jne 0x58fe89
lea eax, [0x60daf7]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004d5980
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], 1
jne 0x58fdef
cmp byte [eax], 0x30
je 0x58fe89
lea eax, [0x5f0f00]
mov dword [esp], eax
call fcn.0040b6c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov eax, dword [0x7e1c20]
test eax, eax
jne 0x58fe20
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x58fe2c
mov eax, dword [esp + 0xac]
call fcn.004610d0
mov eax, dword [0x7bb3cc]
mov ecx, dword [0x7bb3c8]
mov dword [edi + 8], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x58fe4a
mov dword [edi + 0xc], eax
jmp 0x58fe58
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.004610d0
mov edi, edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
lea eax, [0x668400]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
add esp, 0xa8
ret
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc0], eax
add esp, 0xa8
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x58ff95
lea eax, [0x5f0f00]
mov dword [esp], eax
call fcn.0040b6c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov eax, dword [0x7e1c20]
test eax, eax
jne 0x58ff2c
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x58ff38
mov eax, dword [esp + 0xac]
call fcn.004610d0
mov eax, dword [0x7bb3d4]
mov ecx, dword [0x7bb3d0]
mov dword [edi + 8], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x58ff56
mov dword [edi + 0xc], eax
jmp 0x58ff64
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.004610d0
mov edi, edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x668400]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
add esp, 0xa8
ret
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc0], eax
add esp, 0xa8
ret
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, ecx
jge 0x5900c1
mov dword [esp + 0x4c], edx
mov edi, ecx
lea ecx, [eax + edx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x58ffc4
mov dword [esp + 0x30], ebx
cmp byte [ecx], 0x2e
je 0x59003a
mov dword [esp + 0x34], ebp
mov dword [esp + 0x5c], esi
mov dword [esp], 0
lea eax, [0x60ba1e]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0044def0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
lea ecx, [ebx + 1]
cmp ebp, ecx
jae 0x590086
mov dword [esp + 0x38], edx
lea eax, [0x5e4740]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0044a7d0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
lea ecx, [esi + ebx*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0x7e1c20]
lea edx, [esi + ebx*8]
test ecx, ecx
jne 0x5900a5
mov ecx, dword [esp + 0x64]
mov dword [edx], ecx
jmp 0x5900b8
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x64]
call fcn.004610d0
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x48]
jmp 0x58ffc4
mov eax, ebp
mov ecx, ebx
mov edx, esi
jmp 0x58f8d0
call fcn.0045fcc0
jmp fcn.0058f7b0