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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x58dbf2
sub esp, 0xac
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.00465fe1
lea edi, [esp + 0x70]
call fcn.00465fe1
mov ecx, dword [esp + 0xb4]
cmp ecx, 0xc
jl 0x58db1d
mov edx, dword [esp + 0xb0]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x70], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x58dbe5
lea ebx, [ecx - 4]
movzx ebp, byte [edx + 3]
mov esi, edx
movzx edx, byte [edx + 2]
shl edx, 8
or ebp, edx
cmp ebx, 1
jbe 0x58dbd9
lea edx, [ecx - 6]
movzx ebx, byte [esi + 5]
mov edi, ebp
movzx ebp, byte [esi + 4]
shl ebp, 8
or ebx, ebp
cmp edx, 1
jbe 0x58dbcd
movzx edx, byte [esi + 7]
movzx ebp, byte [esi + 6]
shl ebp, 8
or edx, ebp
mov word [esp + 0x84], dx
lea edx, [ecx - 8]
cmp edx, 1
jbe 0x58dbc1
mov word [esp + 0x36], bx
lea edx, [ecx - 0xa]
movzx ebp, byte [esi + 9]
movzx ebx, byte [esi + 8]
shl ebx, 8
or ebp, ebx
cmp edx, 1
jbe 0x58dbb5
mov word [esp + 0x34], bp
movzx edx, di
movzx ebx, byte [esi + 0xb]
mov edi, ebp
movzx ebp, byte [esi + 0xa]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x32], bx
test edx, edx
je 0x58d54b
cmp ecx, edx
jl 0x58d482
mov eax, dword [esp + 0xb8]
sub eax, edx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, esi
mov dword [esp], eax
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
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 + 0x74], eax
mov dword [esp + 0x78], ecx
test edx, edx
je 0x58d463
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ebx, ebx
je 0x58d3ed
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
lea eax, [0x6f77bf]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x40]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
xor eax, eax
mov ecx, dword [esp + 0xb4]
movzx ebx, word [esp + 0x32]
mov esi, dword [esp + 0xb0]
movzx edi, word [esp + 0x34]
jmp 0x58d54b
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x703754]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x48]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
movzx edx, word [esp + 0x36]
movzx edx, dx
test edx, edx
je 0x58d725
cmp ecx, edx
jl 0x58d65c
mov eax, dword [esp + 0xb8]
sub eax, edx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, esi
mov dword [esp], eax
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
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 + 0x7c], eax
mov dword [esp + 0x80], ecx
test edx, edx
je 0x58d63d
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ebx, ebx
je 0x58d5c7
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
lea eax, [0x6f77bf]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x40]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
xor eax, eax
mov ecx, dword [esp + 0xb4]
movzx ebx, word [esp + 0x32]
mov esi, dword [esp + 0xb0]
movzx edi, word [esp + 0x34]
jmp 0x58d725
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x703754]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x48]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
movzx edx, di
test edx, edx
je 0x58d915
cmp ecx, edx
jl 0x58d84c
lea edi, [esp + 0x58]
call fcn.00465fea
mov ecx, dword [esp + 0xb8]
sub ecx, edx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, esi
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0058c510
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edi, [esp + 0x58]
lea esi, [esp + 0xc]
call fcn.004664c4
lea edi, [esp + 0x88]
lea esi, [esp + 0x58]
call fcn.004664c4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x58d834
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x58d7be
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f77bf]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x40]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
mov ecx, dword [esp + 0xb4]
movzx ebx, word [esp + 0x32]
mov esi, dword [esp + 0xb0]
jmp 0x58d915
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x703754]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x48]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
movzx eax, bx
test eax, eax
je 0x58dae5
cmp ecx, eax
jl 0x58da1c
mov edx, dword [esp + 0xb8]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, esi
movzx ebp, word [esp + 0x84]
mov dword [esp], edx
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0058b9d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
test ebx, ebx
je 0x58dae5
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ebp, ebp
je 0x58d9a6
mov ebp, dword [ebp + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
lea eax, [0x6f77bf]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x40]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x703754]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x48]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
ret
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0xc
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xac
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x703788]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x40]
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 + 0x3c], ecx
lea edi, [esp + 0xbc]
lea esi, [esp + 0x70]
call fcn.0046646a
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x100], eax
add esp, 0xac
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, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.0058d280