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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5905c4
sub esp, 0x84
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x590555
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
xor esi, esi
mov edi, esi
movzx esi, byte [ecx + 4]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x58fc63
jmp 0x58fc6d
dec ebx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebp, ebx
mov ebx, esi
test ebx, ebx
jle 0x58fc6d
cmp byte [ebp], 0x2e
je 0x58fc54
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebx
test eax, eax
je 0x5904bf
mov dword [esp + 0x34], eax
mov esi, edi
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0045cbb8
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x34]
jmp 0x58fcb8
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x78], ecx
jge 0x58ffb2
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00590fb0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
jne 0x58fe12
mov edx, dword [esp + 0x34]
test edx, edx
je 0x58fd98
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x80]
lea ebp, [ebx + 1]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
test esi, esi
je 0x58fd60
cmp ebp, edi
jl 0x58fd37
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x78], ebx
jmp 0x58fca2
lea edx, [edi - 1]
cmp ebp, edx
jne 0x58fd57
cmp ebp, edi
jae 0x5905b0
lea edx, [esi + ebx*8 + 8]
mov edx, dword [edx + 4]
test edx, edx
jne 0x58fd57
mov edx, dword [esp + 0x34]
jmp 0x58fd2a
mov edx, dword [esp + 0x34]
jmp 0x58fca2
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + 1]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea edx, [esi - 1]
cmp ebp, edx
jne 0x58fd8f
cmp ebp, esi
jae 0x5905a7
lea edx, [edi + ebx + 1]
cmp byte [edx], 0x2e
jne 0x58fd8f
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x34]
jmp 0x58fca2
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 3]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x58fcfc
lea eax, [0x660a20]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x58fdf9
mov edx, dword [esp + 0x8c]
mov dword [edi], edx
mov dword [edi + 0xc], 2
lea ebx, [0x679977]
mov dword [edi + 8], ebx
lea edx, [0x6cb270]
mov eax, edi
jmp 0x58fd00
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045c920
mov eax, ecx
mov edx, dword [esp + 0x8c]
jmp 0x58fddc
cmp ecx, 4
jge 0x58ff7e
xor edx, edx
test dl, dl
jne 0x58fe58
mov edx, dword [esp + 0x34]
test edx, edx
je 0x58fe37
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
jmp 0x58fd05
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005913d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x58fe2d
cmp ecx, 4
jb 0x5905b9
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005918f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x58feae
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x58fea8
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
mov edx, ebp
jmp 0x58fd05
mov ebp, edx
mov eax, ebx
jmp 0x58fe9c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
movzx edx, byte [esp + 0x22]
test dl, dl
je 0x58ff5c
mov edx, 1
mov byte [esp + 0x22], dl
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00591090
mov eax, dword [esp + 0x34]
test eax, eax
je 0x58ff27
mov ecx, dword [esp + 0x54]
test eax, eax
je 0x58fefe
mov edx, eax
mov eax, ecx
movzx ecx, byte [esp + 0x22]
jmp 0x58fd05
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.005913d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x58fef0
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 2]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x58fee8
mov edx, dword [ebx + 0xc]
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x58feec
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00588c60
mov eax, dword [esp + 8]
test eax, eax
setne dl
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
jmp 0x58fec8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], eax
lea ecx, [0x679dac]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.004031b0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
jmp 0x58fe1d
xchg esi, eax
test al, al
xchg esi, eax
je 0x5904b3
mov ecx, dword [esp + 0x88]
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x58ffd2
test eax, eax
je 0x590343
movzx ebx, byte [esp + 0x94]
test bl, bl
je 0x590207
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x59000d
mov ecx, ebp
mov eax, edx
mov edx, ebx
movzx ebx, byte [esp + 0x94]
mov ebp, dword [esp + 0x68]
cmp dword [esp + 0x78], ebp
jge 0x590207
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00590fb0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00591890
movzx eax, byte [esp + 8]
test al, al
je 0x590186
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x88]
movzx esi, byte [ebp + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x590081
test edx, edx
je 0x590119
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x80], eax
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test edi, edi
je 0x5900de
cmp eax, ecx
jl 0x5900af
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x58ffff
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x5900d2
cmp eax, ecx
jae 0x590598
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5900d2
mov ebp, dword [esp + 0x88]
jmp 0x5900a2
mov ebp, dword [esp + 0x88]
jmp 0x58ffff
mov esi, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x59010d
cmp ecx, eax
jbe 0x590593
lea eax, [esi + edi + 1]
cmp byte [eax], 0x2e
jne 0x59010d
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0x88]
jmp 0x58ffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
test eax, eax
je 0x59012e
cmp eax, 0x3f
jle 0x590081
lea eax, [0x660a20]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x59017b
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov dword [edi + 0xc], 2
lea esi, [0x679977]
mov dword [edi + 8], esi
mov ebp, dword [esp + 0x88]
lea edx, [0x6cb270]
mov ebx, edi
jmp 0x590081
mov eax, dword [esp + 0x50]
call fcn.0045c920
jmp 0x590157
lea eax, [0x679dac]
mov dword [esp], eax
mov dword [esp + 4], 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
call fcn.00592080
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x590201
mov edx, dword [esp + 0x60]
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], eax
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00591090
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x590068
mov ebp, edx
mov edx, ebx
jmp 0x5901c8
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
test ebp, ebp
jne 0x5902f3
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test bl, bl
je 0x590233
movzx ecx, byte [ecx + 3]
test cl, cl
je 0x590233
test eax, eax
je 0x590256
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
add esp, 0x84
ret
test esi, esi
jle 0x5902ec
lea ecx, [esi + ebp - 1]
cmp byte [ecx], 0x2e
jne 0x5902ec
lea ecx, [esi - 1]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], ebp
cmp esi, 1
jge 0x5902da
lea eax, [0x660a20]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5902c7
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [edi + 0xc], 2
lea edx, [0x679977]
mov dword [edi + 8], edx
lea edx, [0x6cb270]
mov ebp, ecx
mov esi, eax
mov eax, edx
mov edx, edi
jmp 0x590233
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045c920
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5902a4
cmp ecx, 0xfd
jg 0x59027b
mov ecx, ebp
mov edi, edx
mov edx, eax
mov eax, esi
jmp 0x5902ba
mov ecx, esi
jmp 0x59026e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], edx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea eax, [0x67991e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004ba4d0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x94]
test al, al
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x5c]
jmp 0x590225
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x59037d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x78], esi
jge 0x5904af
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00590fb0
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x59044e
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test ebx, ebx
je 0x590412
cmp ecx, eax
jg 0x5903ef
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x590360
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x590360
cmp ecx, eax
jbe 0x5905a2
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5903e2
jmp 0x590360
mov edx, dword [esp + 0x7c]
lea eax, [edx + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x590360
cmp eax, ecx
jae 0x59059d
lea eax, [ebx + edx + 1]
cmp byte [eax], 0x2e
jne 0x590360
mov dword [esp + 0x78], ecx
jmp 0x590360
lea eax, [0x660a20]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x5904a1
mov eax, dword [esp + 0x8c]
mov dword [edi], eax
mov dword [edi + 0xc], 1
lea eax, [0x67992b]
mov dword [edi + 8], eax
lea eax, [0x6cb270]
mov ecx, dword [esp + 0x88]
mov edx, edi
jmp 0x58ffd2
mov eax, dword [esp + 0x8c]
call fcn.0045c920
jmp 0x59047d
mov edi, edx
jmp 0x590493
mov ecx, dword [esp + 0x88]
jmp 0x58ffd2
movzx esi, byte [ecx + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x58fc83
test ebx, ebx
jne 0x58fc83
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
lea eax, [0x660a20]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x59053c
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov dword [edi + 0xc], 2
lea esi, [0x679977]
mov dword [edi + 8], esi
mov ecx, dword [esp + 0x88]
mov ebx, eax
mov ebp, dword [esp + 0x8c]
lea eax, [0x6cb270]
mov edx, edi
movzx edi, byte [esp + 0x23]
jmp 0x58fc83
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045c920
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x59050a
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [edx]
call eax
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
jmp 0x58fc46
call fcn.0045c9a0
call fcn.0045c9a0
call fcn.0045c9a0
call fcn.0045c9a0
mov eax, ebp
mov ecx, esi
call fcn.0045c9a0
mov eax, ebp
mov ecx, edi
call fcn.0045c9a0
mov eax, 4
call fcn.0045ca00
nop
call fcn.0045b380
jmp fcn.0058fc00