Function at 0x1007d8d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 6
je 0x1007d8ef
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007d4f0
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 6]
test eax, eax
jne 0x1007dad4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
sub edx, dword [ecx + 8]
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x4b]
shl ecx, 4
cmp edx, ecx
jg 0x1007d955
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x4b]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1007d320
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x4a]
test edx, edx
jne 0x1007d99f
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x49]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], edx
jbe 0x1007d99d
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x49]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
jmp 0x1007d9d1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
sar edx, 4
sub edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007d6e0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x24]
jne 0x1007d9ed
mov edx, dword [ebp + 8]
push edx
call fcn.1007d220
mov dword [ebp - 0x28], eax
jmp 0x1007da05
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, 0x18
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x4b]
shl ecx, 4
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
jmp 0x1007da6e
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 8]
jae 0x1007da85
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0
jmp 0x1007da65
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x38]
and edx, 1
je 0x1007dac8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
push 0xffffffffffffffff
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.1007d360
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
sub edx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], edx
xor eax, eax
jmp 0x1007dbcb
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
sub eax, dword [edx + 8]
cmp eax, 0x140
jg 0x1007daf2
push 0x14
mov ecx, dword [ebp + 8]
push ecx
call fcn.1007d320
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x24]
jne 0x1007db0e
mov edx, dword [ebp + 8]
push edx
call fcn.1007d220
mov dword [ebp - 0x2c], eax
jmp 0x1007db26
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, 0x18
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
add ecx, 0x10
mov edx, dword [ebp - 0x24]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 0x140
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x38]
and eax, 1
je 0x1007db88
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1007d360
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1007dbae
mov eax, 2
jmp 0x1007dbcb
mov edx, dword [ebp - 0x20]
shl edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, edx
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007d5e0
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc