Function at 0x1005a4f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x102b5040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0
call fcn.1005a430
cmp dword [0x106a6f18], 0
je 0x1005a6ba
mov eax, dword [ebp + 8]
push eax
call fcn.10058f20
add esp, 4
test eax, eax
je 0x1005a6b1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10058f20
add esp, 4
test eax, eax
je 0x1005a6b1
mov edx, dword [ebp + 8]
push edx
call fcn.10059b40
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1005a6a8
mov eax, dword [ebp + 8]
push eax
call fcn.10058e20
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1005a69f
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.1005a940
add esp, 4
test eax, eax
je 0x1005a684
call fcn.10059b80
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1005a67b
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
mov dl, byte [ebp - 0x1c]
and dl, 1
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x14]
and cl, 0xfe
or cl, dl
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x14], cl
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x14]
and cl, 0xfd
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x14], cl
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x14]
and cl, 0xfb
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x14], cl
mov eax, dword [ebp - 0x18]
and eax, 0xf
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x18]
and edx, 0xfffffff0
or edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], eax
cmp dword [ebp - 0x1c], 0
je 0x1005a655
mov ecx, dword [ebp + 8]
sub ecx, 5
mov edx, dword [ebp - 0x2c]
add edx, 0xc
mov eax, dword [ecx]
mov dword [edx], eax
mov ax, word [ecx + 4]
mov word [edx + 4], ax
mov cl, byte [ecx + 6]
mov byte [edx + 6], cl
jmp 0x1005a668
mov edx, dword [ebp - 0x2c]
add edx, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [edx], ecx
mov al, byte [eax + 4]
mov byte [edx + 4], al
cmp dword [ebp + 0x10], 0
je 0x1005a679
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ecx], eax
jmp 0x1005a682
mov dword [ebp - 0x30], 9
jmp 0x1005a68b
mov dword [ebp - 0x30], 8
cmp dword [ebp - 0x30], 0
je 0x1005a69d
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10058e70
add esp, 4
jmp 0x1005a6a6
mov dword [ebp - 0x30], 9
jmp 0x1005a6af
mov dword [ebp - 0x30], 3
jmp 0x1005a6b8
mov dword [ebp - 0x30], 7
jmp 0x1005a6c1
mov dword [ebp - 0x30], 2
call fcn.1005a480
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101412b5
mov esp, ebp
pop ebp
ret 0xc