Function at 0x58f200
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f97f
sub esp, 0x70
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00465fe4
lea edi, [esp + 0x40]
call fcn.00465fe4
mov ecx, dword [esp + 0x78]
cmp ecx, 0x10
jl 0x58f895
mov edx, dword [esp + 0x74]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x40], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x58f972
lea ebx, [ecx - 4]
movzx ebp, byte [edx + 3]
mov eax, edx
movzx edx, byte [edx + 2]
shl edx, 8
or ebp, edx
cmp ebx, 1
jbe 0x58f966
movzx edx, byte [eax + 5]
movzx ebx, byte [eax + 4]
shl ebx, 8
or edx, ebx
mov word [esp + 0x4c], dx
lea edx, [ecx - 6]
cmp edx, 1
jbe 0x58f95a
movzx edx, byte [eax + 7]
movzx ebx, byte [eax + 6]
shl ebx, 8
or edx, ebx
mov word [esp + 0x4e], dx
lea edx, [ecx - 8]
cmp edx, 1
jbe 0x58f94e
lea edx, [ecx - 0xa]
movzx ebx, byte [eax + 9]
mov esi, ebp
movzx ebp, byte [eax + 8]
shl ebp, 8
or ebx, ebp
cmp edx, 1
jbe 0x58f942
lea edx, [ecx - 0xc]
movzx ebp, byte [eax + 0xb]
mov edi, ebx
movzx ebx, byte [eax + 0xa]
shl ebx, 8
or ebp, ebx
cmp edx, 1
jbe 0x58f936
movzx edx, byte [eax + 0xd]
movzx ebx, byte [eax + 0xc]
shl ebx, 8
or edx, ebx
mov word [esp + 0x60], dx
lea edx, [ecx - 0xe]
cmp edx, 1
jbe 0x58f92a
mov word [esp + 0x20], bp
movzx edx, byte [eax + 0xf]
movzx ebx, byte [eax + 0xe]
shl ebx, 8
or edx, ebx
mov word [esp + 0x62], dx
movzx edx, si
test edx, edx
je 0x58f4e3
cmp ecx, edx
jl 0x58f420
mov word [esp + 0x22], di
mov ebx, dword [esp + 0x7c]
sub ebx, edx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
add ebx, eax
mov dword [esp], ebx
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00582790
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test edx, edx
je 0x58f409
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x58f396
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
lea eax, [0x6f8bd5]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
movzx ebp, word [esp + 0x20]
movzx edi, word [esp + 0x22]
jmp 0x58f4e3
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x704898]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
movzx edx, di
test edx, edx
je 0x58f69c
cmp ecx, edx
jl 0x58f5d9
mov ebx, dword [esp + 0x7c]
sub ebx, edx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
add ebx, eax
mov dword [esp], ebx
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00581e70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
test edx, edx
je 0x58f5c7
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x58f554
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
lea eax, [0x6f8bd5]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
movzx ebp, word [esp + 0x20]
jmp 0x58f69c
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x704898]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
movzx edx, bp
test edx, edx
je 0x58f850
cmp ecx, edx
jl 0x58f78d
mov ebx, dword [esp + 0x7c]
sub ebx, edx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
add ebx, eax
mov dword [esp], ebx
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00581e70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
test edx, edx
je 0x58f780
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x58f70d
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
lea eax, [0x6f8bd5]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
jmp 0x58f850
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x704898]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0x10
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0x70
ret
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [0x7048ce]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
call fcn.00466488
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
add esp, 0x70
ret
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.0058f200