Function at 0x58f130
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 0x58faaf
sub esp, 0x84
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x58f9d1
nop
movzx edx, byte [0x753128]
test dl, dl
je 0x58f9be
mov edx, dword [esp + 0x94]
mov dword [0x75312c], edx
mov ebx, dword [0x770e60]
test ebx, ebx
jne 0x58f9a7
mov eax, dword [esp + 0x98]
mov dword [0x753130], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x58f99a
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x58f1c2
or ebx, 0x80
mov ebp, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
je 0x58f96b
nop
mov ebx, esi
and esi, 0x1f
mov dword [esp + 0x2c], esi
lea edi, [esi - 2]
nop
cmp edi, 4
ja 0x58f940
mov edi, 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], eax
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 edx, dword [esp + 0x20]
cmp edx, 2
jne 0x58f2f4
mov eax, dword [esp + 0x2c]
cmp eax, 3
ja 0x58f2b2
cmp eax, 2
jne 0x58f29b
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004552a0
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.00487a30
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x84
ret
cmp eax, 3
jne 0x58fa74
mov edx, dword [esp + 0x34]
movsx eax, byte [edx]
mov ecx, eax
sar eax, 0x1f
jmp 0x58f241
cmp eax, 4
jne 0x58f2c8
mov edx, dword [esp + 0x34]
movsx eax, word [edx]
mov ecx, eax
sar eax, 0x1f
jmp 0x58f241
cmp eax, 5
jne 0x58f2dd
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov ecx, eax
sar eax, 0x1f
jmp 0x58f241
cmp eax, 6
jne 0x58fa74
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
jmp 0x58f241
cmp edx, 7
jne 0x58f3b1
mov eax, dword [esp + 0x2c]
cmp eax, 9
ja 0x58f379
cmp eax, 7
jne 0x58f355
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00455370
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.00487a30
jmp 0x58f27e
cmp eax, 8
jne 0x58f365
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
xor ecx, ecx
jmp 0x58f313
cmp eax, 9
jne 0x58fa3a
mov edx, dword [esp + 0x34]
movzx eax, word [edx]
xor ecx, ecx
jmp 0x58f313
cmp eax, 0xa
jne 0x58f388
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
xor ecx, ecx
jmp 0x58f313
cmp eax, 0xb
jne 0x58f39b
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
jmp 0x58f313
cmp eax, 0xc
jne 0x58fa3a
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
xor ecx, ecx
jmp 0x58f313
cmp edx, 0xd
jne 0x58f40e
mov eax, dword [esp + 0x2c]
cmp eax, 0xd
jne 0x58f3fb
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.00487a30
jmp 0x58f27e
cmp eax, 0xe
jne 0x58fa00
mov eax, dword [esp + 0x34]
movsd xmm0, qword [eax]
jmp 0x58f3cb
cmp edx, 1
jne 0x58f934
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx]
movzx ebp, byte [ebp + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x58f8a4
cmp edx, 0x18
jne 0x58f441
mov edx, dword [ebx]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58f720
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
cmp dword [esp + 8], 0xd
je 0x58f704
xor eax, eax
test al, al
jne 0x58f6cc
xor eax, eax
test al, al
je 0x58f5a2
mov eax, dword [esp + 0x94]
lea ecx, [0x5cc4a0]
cmp eax, ecx
jne 0x58f9ea
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.0046c960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x58f578
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
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 0x58f574
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
lea eax, [0x5f846e]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov ecx, eax
jmp 0x58f51d
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00487a30
jmp 0x58f27e
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
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 + 0x48], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0045e1f8
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x58f645
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x58f65c
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x80], eax
lea eax, [0x5fbf8d]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x64]
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 + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cmp dword [esp + 8], 6
jne 0x58f6fd
cmp dword [eax], 0x626d754e
jne 0x58f6fd
cmp word [eax + 4], 0x7265
sete al
jmp 0x58f46c
xor eax, eax
jmp 0x58f46c
mov dword [esp], eax
lea eax, [0x5edeab]
mov dword [esp + 4], eax
call fcn.00402890
movzx eax, byte [esp + 0xc]
jmp 0x58f462
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004883a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x58f753
mov eax, 1
lea ecx, [0x5eb2be]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 8], ebp
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046c960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x58f87a
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
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 0x58f876
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
lea eax, [0x5f55e0]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov ecx, eax
jmp 0x58f81f
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00487a30
jmp 0x58f27e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00485260
movzx eax, byte [esp + 0xc]
test al, al
je 0x58f901
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
movsd xmm0, qword [0x637a50]
movsd qword [esp + 0xc], xmm0
call fcn.00487a30
jmp 0x58f27e
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
xorps xmm0, xmm0
movsd qword [esp + 0xc], xmm0
call fcn.00487a30
jmp 0x58f27e
mov ebx, dword [esp + 0x88]
jmp 0x58f42e
lea edi, [esi - 7]
cmp edi, 4
ja 0x58f952
mov edi, 7
jmp 0x58f1ef
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x58f964
mov edi, 0xd
jmp 0x58f1ef
mov edi, esi
jmp 0x58f1ef
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 + 0x94]
mov ebp, dword [esp + 0x98]
jmp 0x58f1d3
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x58f1c4
lea edi, [0x753130]
mov eax, dword [esp + 0x98]
call fcn.0045df70
jmp 0x58f197
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
jmp 0x58f197
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x58f1c4
mov dword [esp], eax
mov dword [esp + 4], ecx
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 + 0x2c]
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 + 0x2c]
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 + 0x2c]
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.0058f130