Function at 0x10072e9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi]
mov edx, dword [esi + 8]
add ebx, 8
xor eax, eax
push edi
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov word [ebx], 0xc
mov byte [ebx + 2], 1
mov byte [ebx + 3], 1
mov dword [edx + 4], ebx
movzx eax, word [ebx]
mov ecx, dword [edi + 0x28]
add ebx, eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov cx, word [edi + 0x26]
mov word [eax + 0xa], cx
mov al, byte [edi + 0xa]
test al, al
mov dword [ebp - 8], edx
je 0x1007345
movzx eax, al
jmp 0x1007348
push 0x11
pop eax
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 4]
mov byte [ecx + 8], al
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov byte [eax + 9], 1
xor eax, eax
push 8
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov word [ebx], 0x20
mov byte [ebx + 2], 0xbf
mov byte [ebx + 3], 1
mov dword [edx + 0x50], ebx
movzx eax, word [ebx]
add ebx, eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x48], 4
jbe 0x10073c9
mov esi, dword [ebp + 0xc]
xor eax, eax
push 8
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov word [ebx], 0x20
mov byte [ebx + 2], 0xbf
mov byte [ebx + 3], 1
mov dword [edx + 0x50], ebx
movzx eax, word [ebx]
mov ecx, dword [esi + 0x48]
add ebx, eax
mov eax, dword [edx + 0x50]
mov dword [eax + 4], ecx
mov eax, dword [edx + 0x50]
mov ecx, dword [eax + 4]
lea edi, [eax + 8]
mov eax, ecx
add esi, 0x4c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebx], 0xc
mov byte [ebx + 2], 3
mov byte [ebx + 3], 1
mov dword [edx + 0xc], ebx
movzx eax, word [ebx]
add ebx, eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
and dword [eax + 4], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
or dword [eax + 8], 0xffffffff
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebx], 8
mov byte [ebx + 2], 5
mov byte [ebx + 3], 1
mov dword [edx + 0x10], ebx
movzx eax, word [ebx]
mov ecx, dword [0x10222dc]
add ebx, eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x10]
lea esi, [edx + 0x2c]
push esi
mov dword [eax + 4], ecx
call fcn.0101b1fb
mov edi, dword [ebp + 0xc]
and dword [esi], 0
cmp dword [edi + 0x68], 0
jbe 0x100744a
lea eax, [edi + 0x64]
push eax
push esi
call fcn.010065b2
test eax, eax
je 0x100770d
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 8]
mov dword [eax + 0x5c], 1
mov eax, dword [esi + 8]
add eax, 0x60
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x64]
lea ecx, [eax + edi + 0x64]
mov eax, dword [ecx]
add eax, ecx
mov edx, dword [eax]
add edx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
add eax, edi
cmp edx, eax
mov dword [ebp - 0xc], ecx
jne 0x100770d
lea eax, [ecx + 0xc]
cmp dword [eax], 0
mov dword [ebp + 0x10], eax
jne 0x10074b6
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x118], 1
push dword [edi + 0x28]
push eax
call fcn.0101ec34
test eax, eax
je 0x10074c0
mov eax, dword [0x1041764]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x10074c0
mov eax, dword [ebp + 8]
and dword [eax + 0x118], 0
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov word [ebx], 0xc
mov byte [ebx + 2], 0xb
mov byte [ebx + 3], 1
mov dword [eax], ebx
push dword [eax]
movzx ecx, word [ebx]
push dword [ebp - 0xc]
add ebx, ecx
call fcn.01006080
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
cmp eax, 0xd
mov dword [esi + 0x3c], eax
mov edi, ebx
jne 0x1007522
mov edx, dword [ebp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebx], 0x14
mov byte [ebx + 2], 0xc
mov byte [ebx + 3], 2
mov dword [edx + 4], ebx
movzx eax, word [ebx]
push dword [edx + 4]
add ebx, eax
push ecx
call fcn.01006cae
jmp 0x100754f
push 9
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov word [ebx], 0x24
mov byte [ebx + 2], 0xc
mov byte [ebx + 3], 2
mov dword [eax + 4], ebx
push dword [eax + 4]
movzx ecx, word [ebx]
push dword [ebp - 4]
add ebx, ecx
call fcn.01006c7a
mov edx, dword [ebp + 0x14]
push 0x27
pop ecx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov word [ebx], 0x9c
mov byte [ebx + 2], 0xd
mov byte [ebx + 3], 2
mov dword [edx + 8], ebx
movzx eax, word [ebx]
add ebx, eax
mov eax, dword [ebp - 4]
push dword [eax + 0x1c]
push dword [edx + 8]
call fcn.01017b64
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
push dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 6]
add cx, 2
shl ecx, 2
mov word [eax], cx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x54], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x58], eax
call fcn.0100be99
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + 8], eax
mov edi, dword [esi]
mov ecx, dword [ebp - 8]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0x24], 1
mov eax, dword [esi]
mov byte [eax + 1], 1
mov eax, dword [esi]
and word [eax + 2], 0
mov eax, dword [esi]
mov edx, ebx
sub edx, eax
mov dword [esi + 0x10], edx
mov word [eax + 6], dx
mov al, byte [edi + 0x44]
test al, al
movzx eax, al
jne 0x10075f0
mov eax, 0x80
mov edx, dword [esi]
mov byte [edx + 4], al
mov al, byte [ecx + 0x28]
mov edx, dword [esi]
and al, 0xf
or al, 0x10
mov byte [edx], al
mov eax, 0x100
test dword [edi + 0x20], eax
je 0x100760f
or dword [esi + 0xc], eax
jmp 0x1007613
and byte [esi + 0xd], 0xfe
mov eax, 0x400
test dword [edi + 0x20], eax
je 0x1007622
or dword [esi + 0xc], eax
jmp 0x1007626
and byte [esi + 0xd], 0xfb
mov eax, 0x200
test dword [edi + 0x20], eax
je 0x1007635
or dword [esi + 0xc], eax
jmp 0x1007639
and byte [esi + 0xd], 0xfd
mov eax, 0x1000
test dword [edi + 0x20], eax
je 0x1007648
or dword [esi + 0xc], eax
jmp 0x100764c
and byte [esi + 0xd], 0xef
mov eax, 0x800
test dword [edi + 0x20], eax
je 0x100765b
or dword [esi + 0xc], eax
jmp 0x100765f
and byte [esi + 0xd], 0xf7
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebx], 8
mov byte [ebx + 2], 0xa4
mov byte [ebx + 3], 1
mov dword [ecx + 0x44], ebx
movzx eax, word [ebx]
add ebx, eax
mov eax, dword [ecx + 0x44]
xor edx, edx
mov dword [eax + 4], edx
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebx], 0xc
mov byte [ebx + 2], 0xa1
mov byte [ebx + 3], 1
mov dword [ecx + 0x38], ebx
movzx eax, word [ebx]
mov edi, dword [ecx + 0x38]
add ebx, eax
add edi, 4
xor eax, eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebx], 8
mov byte [ebx + 2], 0xa3
mov byte [ebx + 3], 1
mov dword [ecx + 0x3c], ebx
movzx eax, word [ebx]
add ebx, eax
mov eax, dword [ecx + 0x44]
mov dword [eax + 4], edx
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebx + 2], 0xa2
mov byte [ebx + 3], 1
mov word [ebx], 0xc
mov dword [ecx + 0x40], ebx
xor eax, eax
lea edi, [ebx + 4]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
or eax, 0xffffffff
cmp dword [ecx + 8], eax
je 0x1007710
mov ecx, dword [esi + 4]
cmp word [ecx + 0xa], dx
jne 0x1007709
mov ecx, dword [esi + 0x60]
cmp word [ecx + 0xa], dx
jne 0x1007710
xor eax, eax
jmp 0x1007710
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x10