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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5906f4
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x590470
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x59037e
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
test edx, edx
je 0x590347
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x134]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x590335
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.0057e750
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
test eax, eax
jne 0x590323
mov eax, dword [esp + 0x74]
mov byte [eax + 0x13c], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x48], ecx
mov ebx, dword [eax + 0x10]
mov dword [esp], ebx
call fcn.004754d0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x590135
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0058fe70
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.0058fe70
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x148], edx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x590120
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x590113
mov dword [ebx + 0x154], eax
lea eax, [0xb78680]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0xa96780]
mov dword [esp + 8], eax
lea eax, [0xbd5178]
mov dword [esp + 0xc], eax
call fcn.00415ab0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
lea edi, [ebx + 0x154]
call fcn.00460b40
jmp 0x5900d3
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.00460b40
mov eax, edx
jmp 0x5900bd
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004755b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x59023f
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0058fe70
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.0058fe70
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x148], edx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x59022a
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x59021d
mov dword [ebx + 0x154], eax
lea eax, [0xb78680]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0xa96780]
mov dword [esp + 8], eax
lea eax, [0xbd5178]
mov dword [esp + 0xc], eax
call fcn.00415ab0
jmp 0x5900f9
lea edi, [ebx + 0x154]
call fcn.00460b40
jmp 0x5901f2
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.00460b40
mov eax, edx
jmp 0x5901dc
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0058fe70
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edx, [0xadd840]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.00409660
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x148], edx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x59030e
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x590301
mov dword [ebx + 0x154], eax
lea eax, [0xb78680]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0xa96780]
mov dword [esp + 8], eax
lea eax, [0xbd5178]
mov dword [esp + 0xc], eax
call fcn.00415ab0
jmp 0x5900f9
lea edi, [ebx + 0x154]
call fcn.00460b40
jmp 0x5902d6
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.00460b40
mov eax, edx
jmp 0x5902c0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
add esp, 0x70
ret
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0057e650
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x59036c
mov eax, dword [esp + 0x74]
xor ecx, ecx
xor edx, edx
jmp 0x59000e
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x59045e
test eax, eax
jne 0x5903be
mov ecx, edx
jmp 0x58ff6b
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004753f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5903f3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
jmp 0x5903b7
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
lea eax, [0xaeef00]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0xb8f4f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x59044c
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
lea ecx, [0xc83740]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00460b40
mov eax, ecx
jmp 0x590434
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebx
add esp, 0x70
ret
nop
lea eax, [0xad9b00]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [0x10fd360]
test eax, eax
jne 0x5906da
mov ebx, dword [esp + 0x74]
mov dword [edi], ebx
mov dword [esp + 0x6c], edi
mov ebp, dword [esp + 0x88]
test ebp, ebp
jne 0x5906a8
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x590676
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], ecx
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x5905f2
cmp dword [ebp], 0x78696e75
jne 0x59053b
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [0xc89880]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x58ff58
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
lea edi, [esi - 1]
cmp esi, edi
jbe 0x5906ea
movzx edi, byte [esi + ebp - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
jne 0x590564
mov edi, dword [esp + 0x6c]
jmp 0x5904f1
xchg edi, eax
cmp al, 0x36
xchg edi, eax
je 0x59055e
cmp dword [ebx + 0x134], 2
jne 0x5905b3
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea eax, [0xb8e067]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044a440
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x5904f1
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea eax, [0xb8e069]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044a440
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x5904f1
cmp esi, 8
jne 0x590616
cmp dword [ebp], 0x78696e75
jne 0x59053b
cmp dword [ebp + 4], 0x6d617267
je 0x5904e5
jmp 0x59053b
cmp esi, 0xa
jne 0x59053b
mov dword [esp], ebp
lea eax, [0xb95a44]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402a10
movzx eax, byte [esp + 0xc]
test al, al
je 0x59065a
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
jmp 0x5904e5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
jmp 0x59053b
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x5904bd
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x5904bd
mov eax, dword [esp + 0x74]
call fcn.00460b40
mov ebx, eax
jmp 0x590497
mov eax, edi
mov ecx, esi
call fcn.00460bc0
nop
call fcn.0045f5f0
jmp fcn.0058ff30