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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58d29f
sub esp, 0x74
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x58d1a6
nop
movzx edx, byte [0x753128]
test dl, dl
je 0x58d193
mov edx, dword [esp + 0x84]
mov dword [0x75312c], edx
mov ebx, dword [0x770e60]
test ebx, ebx
jne 0x58d17c
mov eax, dword [esp + 0x88]
mov dword [0x753130], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x58d16f
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x58cabb
or ebx, 0x80
mov ebp, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
je 0x58d140
nop
mov ebx, esi
and esi, 0x1f
lea edi, [esi - 2]
nop
cmp edi, 4
ja 0x58d115
mov edi, 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
cmp edi, 0x18
je 0x58d0d6
cmp edi, 1
jne 0x58d0cd
mov ebp, dword [esp + 0x78]
mov edx, dword [ebp]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58d03a
mov dword [esp + 0x28], esi
cmp edi, 2
jne 0x58cb2d
mov edx, dword [ebp]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58cfa3
cmp edi, 7
jne 0x58cb41
mov edx, dword [ebp]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58cf0d
cmp edi, 0xd
jne 0x58cb55
mov edx, dword [ebp]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58ce93
mov dword [esp + 0x24], edi
cmp edi, 0x17
jne 0x58ce78
mov edx, dword [ebp]
movzx edx, byte [edx + 0xa]
test dl, dl
je 0x58ce78
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 8
jne 0x58ce71
mov eax, dword [esp + 0x24]
cmp eax, 0x11
jne 0x58ce2e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
call fcn.004868e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
call fcn.004868e0
mov eax, dword [esp + 0xc]
lea ecx, [0x5bec80]
mov dword [esp], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00444f30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x58cc32
mov ebp, dword [esp + 0x48]
mov byte [ebp + eax], bl
lea ebx, [eax + 1]
mov eax, ebp
mov ecx, ebx
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jle 0x58ccad
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00486140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5bec80]
cmp edx, ecx
jne 0x58d1da
movzx ebx, byte [eax]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp ecx, eax
ja 0x58cc23
jmp 0x58d1d5
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00448580
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call fcn.00488080
mov eax, 1
test al, al
jne 0x58ce14
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045e1f8
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x58cd93
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x58cdaa
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x70], eax
lea eax, [0x5fbf8d]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x74
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5b7ee0]
cmp edx, ecx
jne 0x58d1bf
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
jmp 0x58ccad
xor eax, eax
jmp 0x58cceb
cmp edi, 0x11
jne 0x58ce8c
mov edx, dword [ebp]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58cb71
xor eax, eax
jmp 0x58cceb
cmp esi, 0xd
jne 0x58cefe
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
mov byte [esp + 8], 0x66
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0x40
call fcn.00471360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00488080
mov eax, 1
jmp 0x58cceb
cmp esi, 0xe
jne 0x58d1f0
movsd xmm0, qword [eax]
jmp 0x58cea0
cmp esi, 9
ja 0x58cf7a
cmp esi, 7
jne 0x58cf5e
mov edx, dword [eax]
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [esp], edx
mov dword [esp + 8], 0xa
call fcn.00473d20
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call fcn.00488080
mov eax, 1
jmp 0x58cceb
cmp esi, 8
jne 0x58cf6a
movzx edx, byte [eax]
xor ebp, ebp
jmp 0x58cf1b
cmp esi, 9
jne 0x58d22a
movzx edx, word [eax]
xor ebp, ebp
jmp 0x58cf1b
cmp esi, 0xa
jne 0x58cf85
mov edx, dword [eax]
xor ebp, ebp
jmp 0x58cf1b
cmp esi, 0xb
jne 0x58cf91
mov edx, dword [eax]
mov ebp, dword [eax + 4]
jmp 0x58cf1b
cmp esi, 0xc
jne 0x58d22a
mov edx, dword [eax]
xor ebp, ebp
jmp 0x58cf1b
cmp esi, 3
ja 0x58d00a
cmp esi, 2
jne 0x58cff7
mov edx, dword [eax]
mov ebp, edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 8], 0xa
call fcn.00473e40
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call fcn.00488080
mov eax, 1
jmp 0x58cceb
cmp esi, 3
jne 0x58d264
movsx edx, byte [eax]
mov ebp, edx
sar edx, 0x1f
jmp 0x58cfb4
cmp esi, 4
jne 0x58d019
movsx edx, word [eax]
mov ebp, edx
sar edx, 0x1f
jmp 0x58cfb4
cmp esi, 5
jne 0x58d027
mov edx, dword [eax]
mov ebp, edx
sar edx, 0x1f
jmp 0x58cfb4
cmp esi, 6
jne 0x58d264
mov ebp, dword [eax]
mov edx, dword [eax + 4]
jmp 0x58cfb4
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00485260
movzx eax, byte [esp + 0xc]
test al, al
je 0x58d094
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
lea ebx, [0x6360e5]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.00488080
mov eax, 1
jmp 0x58cceb
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
lea ebx, [0x5eb2be]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
call fcn.00488080
jmp 0x58d08a
mov ebp, dword [esp + 0x78]
jmp 0x58cb15
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004883a0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call fcn.00488080
mov eax, 1
jmp 0x58cceb
lea edi, [esi - 7]
cmp edi, 4
ja 0x58d127
mov edi, 7
jmp 0x58cae4
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x58d139
mov edi, 0xd
jmp 0x58cae4
mov edi, esi
jmp 0x58cae4
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00485c20
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
jmp 0x58cacc
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x58cabd
lea edi, [0x753130]
mov eax, dword [esp + 0x88]
call fcn.0045df70
jmp 0x58ca90
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
jmp 0x58ca90
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x58cabd
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5be3c0]
mov dword [esp + 8], eax
call fcn.00408df0
call fcn.0045dff0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5be3c0]
mov dword [esp + 8], eax
call fcn.00408df0
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x5f0639]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x5efe30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x5ef70b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
nop
call fcn.0045ca10
jmp fcn.0058ca30