Function at 0x59f880
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x5a00fe
sub esp, 0xcc
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00465fdf
lea edi, [esp + 0x88]
call fcn.00465fdf
mov ecx, dword [esp + 0xd4]
cmp ecx, 0xa
jl 0x5a0032
mov edx, dword [esp + 0xd0]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x88], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x5a00f1
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x8a], bx
lea ebx, [ecx - 4]
cmp ebx, 1
jbe 0x5a00e5
lea ebx, [ecx - 6]
movzx ebp, byte [edx + 5]
movzx esi, byte [edx + 4]
shl esi, 8
or ebp, esi
cmp ebx, 1
jbe 0x5a00d9
lea ebx, [ecx - 8]
movzx esi, byte [edx + 7]
mov edi, edx
movzx edx, byte [edx + 6]
shl edx, 8
or esi, edx
cmp ebx, 1
jbe 0x5a00cd
movzx edx, bp
movzx ebx, byte [edi + 9]
movzx ebp, byte [edi + 8]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x30], bx
test edx, edx
je 0x59fb5c
cmp ecx, edx
jl 0x59fa90
mov word [esp + 0x32], si
mov ebx, edi
lea edi, [esp + 0x70]
call fcn.00465fea
mov ecx, dword [esp + 0xd8]
sub ecx, edx
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, ebx
mov dword [esp], ecx
mov ecx, dword [esp + 0xd4]
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.005a0b80
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edi, [esp + 0x70]
lea esi, [esp + 0xc]
call fcn.004664c4
lea edi, [esp + 0x8c]
lea esi, [esp + 0x70]
call fcn.004664c4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x59fa71
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x59f9f8
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f4fb9]
mov dword [esp], eax
mov dword [esp + 4], 0x12
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
xor eax, eax
mov ecx, dword [esp + 0xd4]
movzx ebx, word [esp + 0x30]
movzx esi, word [esp + 0x32]
mov edi, dword [esp + 0xd0]
jmp 0x59fb5c
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 + 0xd4]
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, [0x701e61]
mov dword [esp], eax
mov dword [esp + 4], 0x30
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
movzx edx, si
test edx, edx
je 0x59fd54
cmp ecx, edx
jl 0x59fc88
mov ebx, edi
lea edi, [esp + 0x58]
call fcn.00465fea
mov ecx, dword [esp + 0xd8]
sub ecx, edx
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, ebx
mov dword [esp], ecx
mov ecx, dword [esp + 0xd4]
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.0059e110
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], 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 + 0xa4]
lea esi, [esp + 0x58]
call fcn.004664c4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x59fc70
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x59fbf7
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f4fb9]
mov dword [esp], eax
mov dword [esp + 4], 0x12
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
mov ecx, dword [esp + 0xd4]
movzx ebx, word [esp + 0x30]
mov edi, dword [esp + 0xd0]
jmp 0x59fd54
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 + 0xd4]
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, [0x701e61]
mov dword [esp], eax
mov dword [esp + 4], 0x30
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
movzx eax, bx
test eax, eax
je 0x59ff31
cmp ecx, eax
jl 0x59fe65
mov edx, dword [esp + 0xd8]
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, edi
mov dword [esp], edx
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005a0f50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
test ebx, ebx
je 0x59fe52
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ebp, ebp
je 0x59fdd9
mov ebp, dword [ebp + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
lea eax, [0x6f4fb9]
mov dword [esp], eax
mov dword [esp + 4], 0x12
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
mov ecx, dword [esp + 0xd4]
mov edi, dword [esp + 0xd0]
jmp 0x59ff31
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 + 0xd4]
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, [0x701e61]
mov dword [esp], eax
mov dword [esp + 4], 0x30
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
lea eax, [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xc], ecx
call fcn.005a1490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x59fffb
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x59ff82
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f4fb9]
mov dword [esp], eax
mov dword [esp + 4], 0x12
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
lea edi, [esp + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
add esp, 0xcc
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, [0x701e91]
mov dword [esp], eax
mov dword [esp + 4], 0x30
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 + 0xdc]
lea esi, [esp + 0x88]
call fcn.00466456
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], eax
add esp, 0xcc
ret
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
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.0059f880