Function at 0x10183e10
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 0x10183e2d
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [ebp - 4], 0
je 0x10183e39
cmp dword [ebp + 0x14], 0
jne 0x10183e4c
push 0x18
mov edx, dword [ebp + 8]
push edx
call fcn.101861f0
add esp, 8
jmp 0x101842e9
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.101862b0
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 0x10183f3b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
jmp 0x10183f42
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.10071fb0
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 0x10183f87
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x10183f8e
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.10071fb0
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.101842f0
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.10184420
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.10184380
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 0x10184055
ja 0x10184044
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edx + 0x30]
jbe 0x10184055
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 0x10184064
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 0x101840da
ja 0x10184082
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x50]
cmp edx, dword [ecx + 0x40]
jbe 0x101840da
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 0x101840bd
ja 0x101840ac
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax + 0x30]
jbe 0x101840bd
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 0x101840cc
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 0x101840e9
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 0x101842e4
cmp dword [ebp - 0x5c], 0
jne 0x101842e4
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x1e]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x101842e4
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 0x1018413b
push 9
mov ecx, dword [ebp + 8]
push ecx
call fcn.101861f0
add esp, 8
jmp 0x101842e9
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 0x1018416c
push 9
mov ecx, dword [ebp + 8]
push ecx
call fcn.101861f0
add esp, 8
jmp 0x101842e9
cmp dword [ebp - 0x48], 1
jne 0x101842c5
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 0x10184194
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 0x101841fa
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x34], 0
jne 0x101841fa
cmp dword [ebp - 0x10], 8
jae 0x101841c5
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.101861f0
add esp, 8
jmp 0x101842e9
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.1018f640
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 0x10184260
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x2c], 0
jne 0x10184260
cmp dword [ebp - 0x10], 8
jae 0x1018422b
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.101861f0
add esp, 8
jmp 0x101842e9
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.1018f640
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 0x101842c3
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x44], 0
jne 0x101842c3
cmp dword [ebp - 0x10], 8
jae 0x1018428e
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.101861f0
add esp, 8
jmp 0x101842e9
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.1018f640
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 0x101842e4
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 0x10184122
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret