Function at 0x101822e0
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 0x101822fd
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [ebp - 4], 0
je 0x10182309
cmp dword [ebp + 0x14], 0
jne 0x1018231c
push 0x18
mov edx, dword [ebp + 8]
push edx
call fcn.101846c0
add esp, 8
jmp 0x101827b9
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.10184780
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 0x1018240b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
jmp 0x10182412
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.10071c10
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 0x10182457
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x1018245e
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.10071c10
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.101827c0
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.101828f0
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.10182850
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 0x10182525
ja 0x10182514
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edx + 0x30]
jbe 0x10182525
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 0x10182534
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 0x101825aa
ja 0x10182552
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x50]
cmp edx, dword [ecx + 0x40]
jbe 0x101825aa
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 0x1018258d
ja 0x1018257c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax + 0x30]
jbe 0x1018258d
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 0x1018259c
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 0x101825b9
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 0x101827b4
cmp dword [ebp - 0x5c], 0
jne 0x101827b4
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x1e]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x101827b4
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 0x1018260b
push 9
mov ecx, dword [ebp + 8]
push ecx
call fcn.101846c0
add esp, 8
jmp 0x101827b9
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 0x1018263c
push 9
mov ecx, dword [ebp + 8]
push ecx
call fcn.101846c0
add esp, 8
jmp 0x101827b9
cmp dword [ebp - 0x48], 1
jne 0x10182795
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 0x10182664
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 0x101826ca
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x34], 0
jne 0x101826ca
cmp dword [ebp - 0x10], 8
jae 0x10182695
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.101846c0
add esp, 8
jmp 0x101827b9
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.1018d680
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 0x10182730
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x2c], 0
jne 0x10182730
cmp dword [ebp - 0x10], 8
jae 0x101826fb
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.101846c0
add esp, 8
jmp 0x101827b9
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.1018d680
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 0x10182793
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x44], 0
jne 0x10182793
cmp dword [ebp - 0x10], 8
jae 0x1018275e
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.101846c0
add esp, 8
jmp 0x101827b9
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.1018d680
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 0x101827b4
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 0x101825f2
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret