Function at 0x10148820
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
je 0x1014883d
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [ebp - 4], 0
je 0x10148849
cmp dword [ebp + 0x14], 0
jne 0x1014885c
push 0x18
mov edx, dword [ebp + 8]
push edx
call fcn.1014ac00
add esp, 8
jmp 0x10148cf9
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 4]
mov word [eax + 0x10], dx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 6]
mov word [eax + 0x12], dx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 8]
mov word [eax + 0x14], dx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0xa]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xe]
push ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0xc]
push eax
call fcn.1014acc0
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
xor edx, edx
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x24]
mov word [ecx + 0x38], ax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x26]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2a]
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1ff
jae 0x1014894b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
jmp 0x10148952
mov dword [ebp - 0x20], 0x1ff
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2e
push ecx
mov edx, dword [ebp + 0x14]
add edx, 0x58
push edx
call fcn.1005aa60
add esp, 0xc
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 8]
mov byte [eax + 0x58], 0
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x20]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1ff
jae 0x10148997
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x1014899e
mov dword [ebp - 0x24], 0x1ff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x1c]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x2e]
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x1e]
add edx, ecx
push edx
mov edx, dword [ebp + 0x14]
add edx, 0x258
push edx
call fcn.1005aa60
add esp, 0xc
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 8]
mov byte [eax + 0x258], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10148d00
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10148e30
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10148d90
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edx + 0x34]
jb 0x10148a65
ja 0x10148a54
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edx + 0x30]
jbe 0x10148a65
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x50], edx
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x4c], eax
jmp 0x10148a74
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x44]
jb 0x10148aea
ja 0x10148a92
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x50]
cmp edx, dword [ecx + 0x40]
jbe 0x10148aea
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x2c]
cmp ecx, dword [eax + 0x34]
jb 0x10148acd
ja 0x10148abc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax + 0x30]
jbe 0x10148acd
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x58], eax
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 0x54], ecx
jmp 0x10148adc
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x58], eax
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
jmp 0x10148af9
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x60], edx
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x60], 0xffffffff
jne 0x10148cf4
cmp dword [ebp - 0x5c], 0
jne 0x10148cf4
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x1e]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x10148cf4
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x1c]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x2e]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 4
jae 0x10148b4b
push 9
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014ac00
add esp, 8
jmp 0x10148cf9
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 2]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
cmp eax, dword [ebp - 0x14]
jbe 0x10148b7c
push 9
mov ecx, dword [ebp + 8]
push ecx
call fcn.1014ac00
add esp, 8
jmp 0x10148cf9
cmp dword [ebp - 0x48], 1
jne 0x10148cd5
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x18], 0
je 0x10148ba4
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x30], 0xffffffff
jne 0x10148c0a
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x34], 0
jne 0x10148c0a
cmp dword [ebp - 0x10], 8
jae 0x10148bd5
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.1014ac00
add esp, 8
jmp 0x10148cf9
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
xor edi, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ecx + 4]
mov cl, 0x20
call fcn.10153bc0
or esi, eax
or edi, edx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x30], esi
mov dword [edx + 0x34], edi
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x28], 0xffffffff
jne 0x10148c70
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x2c], 0
jne 0x10148c70
cmp dword [ebp - 0x10], 8
jae 0x10148c3b
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.1014ac00
add esp, 8
jmp 0x10148cf9
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
xor edi, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ecx + 4]
mov cl, 0x20
call fcn.10153bc0
or esi, eax
or edi, edx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x28], esi
mov dword [edx + 0x2c], edi
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x40], 0xffffffff
jne 0x10148cd3
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x44], 0
jne 0x10148cd3
cmp dword [ebp - 0x10], 8
jae 0x10148c9e
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.1014ac00
add esp, 8
jmp 0x10148cf9
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
xor edi, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ecx + 4]
mov cl, 0x20
call fcn.10153bc0
or esi, eax
or edi, edx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x40], esi
mov dword [edx + 0x44], edi
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 8
mov dword [ebp - 0x10], ecx
jmp 0x10148cf4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 4
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
jne 0x10148b32
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret