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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59017b
sub esp, 0x60
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0046cb2b
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x58fdc1
inc ebx
mov edi, eax
xor eax, eax
cmp edx, ebx
jle 0x590080
movzx eax, byte [ecx + ebx]
cmp al, 0x30
jb 0x58fdfc
cmp al, 0x39
ja 0x58fffa
cmp ebp, 1
jne 0x58fde4
test edi, edi
je 0x58fe48
lea edi, [edi + edi*4]
movzx eax, al
lea eax, [eax + edi*2 - 0x30]
cmp eax, 0xff
jg 0x58feac
inc ebp
jmp 0x58fdbc
cmp al, 0x2e
jne 0x58fffa
test ebx, ebx
je 0x58ff74
lea ebp, [edx - 1]
cmp ebx, ebp
je 0x58ff74
lea ebp, [ebx + ecx - 1]
cmp byte [ebp], 0x2e
je 0x58ff74
cmp esi, 3
je 0x58ff10
cmp esi, 4
jae 0x59016e
xchg edi, eax
mov byte [esp + esi + 0x10], al
xchg edi, eax
inc esi
xor ebp, ebp
xor eax, eax
jmp 0x58fdbc
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [0x6df4c0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x26
lea edi, [esp + 0x6c]
call fcn.0046cb2b
lea ecx, [0x6b2900]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 8]
lea edx, [0x749b6c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [0x6d8f6e]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x19
lea edi, [esp + 0x6c]
call fcn.0046cb2b
lea ecx, [0x6b2900]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 8]
lea edx, [0x749b6c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [0x6d69dc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x15
lea edi, [esp + 0x6c]
call fcn.0046cb2b
lea ecx, [0x6b2900]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 8]
lea edx, [0x749b6c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
lea edi, [esp + 0x30]
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea ebp, [0x6dfad0]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0x27
sub edx, ebx
mov ebp, edx
neg edx
sar edx, 0x1f
and ebx, edx
add ecx, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
lea edi, [esp + 0x48]
lea esi, [esp + 0x30]
call fcn.0046d004
lea edi, [esp + 0x6c]
call fcn.0046cb2b
lea ecx, [0x6b2900]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 8]
lea edx, [0x749b6c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
lea edi, [esp + 0x18]
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea ebp, [0x6d61d5]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x14
sub edx, ebx
mov ebp, edx
neg edx
sar edx, 0x1f
and ebx, edx
add ecx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebp
lea edi, [esp + 0x48]
lea esi, [esp + 0x18]
call fcn.0046d004
lea edi, [esp + 0x6c]
call fcn.0046cb2b
lea ecx, [0x6b2900]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 8]
lea edx, [0x749b6c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
cmp esi, 3
jge 0x5900e7
lea edi, [esp + 0x48]
call fcn.0046cb2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [0x6d72c8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x16
lea edi, [esp + 0x6c]
call fcn.0046cb2b
lea ecx, [0x6b2900]
mov dword [esp], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 8]
lea edx, [0x749b6c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x60
ret
xchg edi, eax
mov byte [esp + 0x13], al
xchg edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 0xe]
mov edx, ecx
shl ecx, 8
shr edx, 0x18
movzx ebx, byte [esp + 0xc]
mov ebp, ebx
shr ebx, 8
shl ebp, 0x18
movzx esi, byte [esp + 0xd]
mov edi, esi
shr esi, 0x10
or esi, ebx
shl edi, 0x10
or edi, ebp
or ecx, edi
or edx, esi
or edx, 0xffff
movzx ebx, byte [esp + 0xf]
or ebx, ecx
mov ecx, dword [0x96efac]
mov dword [esp + 0x14], ecx
lea edi, [esp + 0x6c]
call fcn.0046cb2b
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x60
ret
mov eax, esi
mov ecx, 4
call fcn.0046c910
nop
call fcn.0046b490
jmp fcn.0058fd80