Function at 0x5a4a70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a5080
sub esp, 0x7c
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00465fe3
lea edi, [esp + 0x48]
call fcn.00465fe3
mov ecx, dword [esp + 0x84]
cmp ecx, 0x14
jl 0x5a4f91
mov edx, dword [esp + 0x80]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x48], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x5a5073
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4a], bx
lea ebx, [ecx - 4]
cmp ebx, 1
jbe 0x5a5067
movzx ebx, byte [edx + 5]
movzx ebp, byte [edx + 4]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4c], bx
lea ebx, [ecx - 6]
cmp ebx, 1
jbe 0x5a505b
movzx ebx, byte [edx + 7]
movzx ebp, byte [edx + 6]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4e], bx
lea ebx, [ecx - 8]
cmp ebx, 3
jbe 0x5a504f
lea ebx, [ecx - 0xc]
movzx eax, byte [edx + 0xb]
movzx ebp, byte [edx + 0xa]
shl ebp, 8
or eax, ebp
movzx ebp, byte [edx + 9]
shl ebp, 0x10
or eax, ebp
movzx ebp, byte [edx + 8]
shl ebp, 0x18
or eax, ebp
cmp ebx, 1
jbe 0x5a5043
movzx ebx, byte [edx + 0xd]
movzx ebp, byte [edx + 0xc]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x5c], bx
lea ebx, [ecx - 0xe]
cmp ebx, 1
jbe 0x5a5037
movzx ebx, byte [edx + 0xf]
movzx ebp, byte [edx + 0xe]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x5e], bx
lea ebx, [ecx - 0x10]
cmp ebx, 3
jbe 0x5a502b
movzx ebx, byte [edx + 0x13]
movzx ebp, byte [edx + 0x12]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 0x11]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [edx + 0x10]
shl ebp, 0x18
or ebp, ebx
mov dword [esp + 0x60], ebp
test eax, eax
je 0x5a4d95
cmp ecx, eax
jl 0x5a4ccf
jb 0x5a5026
mov ebx, dword [esp + 0x88]
sub ebx, eax
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add ebx, edx
movzx edi, word [esp + 0x4e]
movzx edx, word [esp + 0x4c]
mov dword [esp], ebx
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.005a7230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
test ebx, ebx
je 0x5a4cbc
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ebp, ebp
je 0x5a4c49
mov ebp, dword [ebp + 4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
lea eax, [0x6f3ebf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48]
call fcn.0046647e
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
add esp, 0x7c
ret
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
jmp 0x5a4d95
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
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
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x70116c]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x38]
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 + 0x2c], ecx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48]
call fcn.0046647e
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
add esp, 0x7c
ret
movzx eax, word [esp + 0x5e]
test ax, 1
setne al
mov ebx, dword [esp + 0x88]
lea ebp, [ebx - 0x14]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x14
add ebp, edx
movzx edi, word [esp + 0x5c]
mov dword [esp], ebp
lea ebp, [ecx - 0x14]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov byte [esp + 0x10], al
call fcn.005783a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
test eax, eax
je 0x5a4e91
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x5a4e1e
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea eax, [0x6f3ebf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48]
call fcn.0046647e
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
add esp, 0x7c
ret
lea eax, [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
call fcn.005a8850
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x5a4f5c
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x5a4ee9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea eax, [0x6f3ebf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48]
call fcn.0046647e
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
add esp, 0x7c
ret
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48]
call fcn.0046647e
mov dword [esp + 0xc0], 0x14
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x7c
ret
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea eax, [0x70119a]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48]
call fcn.0046647e
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
add esp, 0x7c
ret
call fcn.00465e60
mov eax, 3
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, 3
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.005a4a70