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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58ffc5
sub esp, 0x70
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x4c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
nop
mov edx, dword [esp + 0x90]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x40], edx
cmp edx, 0x14
ja 0x58ff73
lea ebp, [edx - 0x12]
cmp ebp, 1
ja 0x58ff57
test ebx, 0x200
je 0x58ff20
mov edx, dword [esp + 0x74]
mov ebp, dword [edx]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x58ff0b
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00480a40
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00488f40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x80]
test ebx, ebx
je 0x58ff00
nop
movzx ebp, byte [0x753128]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x58fef4
mov ebp, dword [esp + 0x80]
mov dword [0x75312c], ebp
mov ebp, dword [0x770e60]
test ebp, ebp
jne 0x58fed2
mov ebp, dword [esp + 0x84]
mov dword [0x753130], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x58fec7
nop
movzx esi, byte [ebx + 0xf]
mov edi, esi
and esi, 0x1f
xchg edi, eax
test al, 0x20
xchg edi, eax
jne 0x58fc3d
or esi, 0x80
mov dword [esp + 0x3c], edx
nop
mov edi, esi
and esi, 0x1f
cmp esi, 0x16
je 0x58fe92
nop
mov esi, edi
and edi, 0x1f
mov dword [esp + 0x40], edi
cmp edi, 0x15
ja 0x58fe11
cmp edi, 0x11
jne 0x58fd99
mov edi, dword [esp + 0x74]
mov edx, dword [edi]
movzx edx, byte [edx + 0xa]
test dl, dl
jne 0x58fd2a
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00409030
mov eax, dword [esp + 4]
lea ecx, [0x5c1440]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5f4ae9]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x60]
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 + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov dword [esp], edi
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x88]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.0058ffd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
cmp edi, 0x15
jne 0x58fc7e
mov edi, dword [esp + 0x74]
mov dword [esp], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.005901f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
cmp edi, 0x17
je 0x58fc6c
cmp edi, 0x19
jne 0x58fc7e
mov edi, dword [esp + 0x74]
mov dword [esp], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.00590d10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00485c20
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
jmp 0x58fc50
xor esi, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x58fc3d
lea edi, [0x753130]
mov ebp, eax
mov eax, dword [esp + 0x84]
call fcn.0045df70
mov eax, ebp
mov ebp, dword [esp + 0x84]
jmp 0x58fc12
mov ebp, dword [esp + 0x84]
jmp 0x58fc12
xor esi, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x58fc3d
mov edx, ebx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
jmp 0x58fbc9
test ebx, 0x80
je 0x58ff4c
mov edx, dword [esp + 0x8c]
mov ebp, dword [edx]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x58fb84
jmp 0x58fb70
mov edx, dword [esp + 0x8c]
mov ebp, edx
jmp 0x58ff31
cmp edx, 0x14
jne 0x58ff8a
mov edx, dword [esp + 0x8c]
mov esi, dword [edx]
test esi, esi
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
jmp 0x58ff3d
cmp edx, 0x16
jbe 0x58fb64
cmp edx, 0x17
je 0x58ff5c
cmp edx, 0x1a
je 0x58fb64
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x5f065f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
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.0058fac0