Function at 0x10078a50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100f2010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0
call fcn.10078900
cmp dword [0x100f4154], 0
je 0x10078c1a
mov eax, dword [ebp + 8]
push eax
call fcn.10077350
add esp, 4
test eax, eax
je 0x10078c11
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10077350
add esp, 4
test eax, eax
je 0x10078c11
mov edx, dword [ebp + 8]
push edx
call fcn.10077f80
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10078c08
mov eax, dword [ebp + 8]
push eax
call fcn.10077250
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10078bff
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.10078f00
add esp, 4
test eax, eax
je 0x10078be4
call fcn.10077fc0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10078bdb
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 0x10078bb5
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 0x10078bc8
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 0x10078bd9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ecx], eax
jmp 0x10078be2
mov dword [ebp - 0x30], 9
jmp 0x10078beb
mov dword [ebp - 0x30], 8
cmp dword [ebp - 0x30], 0
je 0x10078bfd
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.100772a0
add esp, 4
jmp 0x10078c06
mov dword [ebp - 0x30], 9
jmp 0x10078c0f
mov dword [ebp - 0x30], 3
jmp 0x10078c18
mov dword [ebp - 0x30], 7
jmp 0x10078c21
mov dword [ebp - 0x30], 2
call fcn.10078950
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084889
mov esp, ebp
pop ebp
ret 0xc