Function at 0x100ccef0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov esi, edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x100cd52f
mov dword [esp + 0x14], esi
lea edx, [eax - 1]
and eax, 3
xor ecx, ecx
mov dword [esp + 0x58], edx
cmp edx, 3
jb 0x100ccf4e
mov edx, dword [esp + 0x74]
and edx, 0xfffffffc
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 0x3c]
xor ecx, ecx
nop
mov dword [esi - 0x30], ecx
lea edi, [ecx + 1]
mov dword [esi - 0x20], edi
lea edi, [ecx + 2]
mov dword [esi - 0x10], edi
lea edi, [ecx + 3]
mov dword [esi], edi
add ecx, 4
add esi, 0x40
cmp ecx, edx
jne 0x100ccf30
test eax, eax
je 0x100ccf7b
mov edx, ecx
shl edx, 4
mov esi, dword [esp + 0x14]
add edx, esi
add edx, 0xc
shl eax, 4
xor esi, esi
nop word cs:[eax + eax]
mov dword [edx + esi], ecx
inc ecx
add esi, 0x10
cmp eax, esi
jne 0x100ccf70
push 0x100d0e30
push 0x10
mov edi, dword [esp + 0x7c]
push edi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov eax, edi
add esp, 0x10
test edi, edi
jle 0x100cd548
mov ecx, dword [esp + 0xc]
add ecx, 0x18
xor edx, edx
mov dword [esp + 0x44], ecx
jmp 0x100ccfc1
mov dword [esi + edi + 8], 0
inc edx
cmp edx, eax
je 0x100cd4a5
mov edi, edx
shl edi, 4
movzx ebx, word [esi + edi + 4]
mov dword [esp + 0x54], ebx
test ebx, ebx
je 0x100ccfb0
movzx ebp, word [esi + edi + 6]
mov ebx, ebp
mov dword [esp + 0x34], ebp
test ebp, ebp
je 0x100ccfb0
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xc]
mov ebp, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x54]
lea esi, [eax + ecx]
dec esi
mov eax, esi
cdq
idiv ecx
sub esi, edx
cmp esi, ebp
jg 0x100cd460
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x34]
jl 0x100cd460
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
movzx eax, word [edx]
lea ebx, [esi + eax]
cmp ebx, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], eax
jle 0x100cd06f
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x10]
mov dword [esp + 4], 0
mov dword [esp + 0x2c], 0x40000000
mov dword [esp + 8], 0x40000000
mov dword [esp], 0
cmp ebx, 1
je 0x100cd245
jmp 0x100cd3bf
mov edi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], ebx
mov ebx, dword [eax + 0x10]
mov dword [esp + 4], 0
mov dword [esp + 0x2c], 0x40000000
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], edx
mov dword [esp], ecx
mov dword [esp + 8], 0x40000000
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x48], ebp
jmp 0x100cd0ff
mov eax, dword [esp + 8]
cmp ebx, eax
cmovl eax, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
cmovl eax, dword [esp]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [eax + 4]
add edx, 4
mov dword [esp], edx
movzx edx, word [eax]
mov dword [esp + 0x30], edx
add edx, esi
mov dword [esp + 0x1c], eax
mov ecx, edx
cmp edx, ebp
mov ebx, dword [esp + 0x24]
jg 0x100cd217
mov eax, 0
mov edx, 0
test esi, esi
jle 0x100cd1c0
mov ebx, ecx
xor edx, edx
mov edi, dword [esp + 0x30]
xor esi, esi
xor ecx, ecx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], ebx
jmp 0x100cd174
mov ebp, dword [ebp + 4]
mov dword [esp + 0x40], ebp
movzx ebp, word [ebp]
mov eax, ebp
sub eax, edi
lea edi, [eax + esi]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x10]
mov ebx, edi
sub ebx, esi
cmp dword [esp + 0x3c], edi
cmovle ebx, eax
imul edx, ebx
mov eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, edx
mov edx, ecx
add esi, ebx
mov edi, ebp
mov ecx, eax
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
mov ebp, dword [esp + 0x40]
jle 0x100cd1c0
mov dword [esp + 0x20], edx
movzx eax, word [ebp + 2]
mov edx, ecx
sub edx, eax
jge 0x100cd130
mov edx, eax
sub edx, ecx
imul edx, esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x40], ebp
movzx ebp, word [ebp]
mov ecx, dword [esp + 0x30]
mov ebx, ebp
cmp edi, ecx
jae 0x100cd1b0
sub ebx, ecx
jmp 0x100cd15a
sub ebx, edi
jmp 0x100cd15a
mov ebx, eax
cmp dword [esp + 0x24], 0
je 0x100cd0b0
mov eax, dword [esp + 0x34]
add eax, ebx
cmp eax, dword [esp + 0x4c]
jg 0x100cd0c9
mov ecx, ebx
cmp ebx, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
jl 0x100cd203
jne 0x100cd0d5
cmp edx, dword [esp + 0x2c]
mov ecx, ebx
jge 0x100cd0d5
mov dword [esp + 8], ecx
mov eax, dword [esp]
mov dword [esp + 4], eax
mov dword [esp + 0x2c], edx
jmp 0x100cd0d5
mov eax, dword [esp + 4]
test eax, eax
je 0x100cd229
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esp], eax
jmp 0x100cd238
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [esp + 0x44]
cmp ebx, 1
jne 0x100cd3bf
mov eax, dword [esp + 0x38]
mov edx, eax
cmp esi, dword [esp + 0x5c]
jle 0x100cd26a
mov edx, eax
nop word cs:[eax + eax]
mov edx, dword [edx + 4]
movzx eax, word [edx]
cmp esi, eax
jg 0x100cd260
mov dword [esp + 0x1c], ecx
jmp 0x100cd287
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
test edx, edx
je 0x100cd3bf
mov dword [esp + 0x24], edx
movzx ebp, word [edx]
mov dword [esp + 0x3c], ebp
sub ebp, esi
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov esi, ecx
mov edi, eax
lea eax, [ecx + 4]
mov ecx, dword [ecx + 4]
movzx edx, word [ecx]
cmp dword [esp + 0x20], edx
jge 0x100cd2a0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], esi
movzx eax, word [esi]
xor ebp, ebp
mov edi, 0
cmp word [esp + 0x3c], ax
jbe 0x100cd360
xor edi, edi
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 0x38]
jmp 0x100cd321
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
movzx ebx, word [ebx]
mov ebp, ebx
sub ebp, eax
lea eax, [ecx + ebp]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov esi, eax
sub esi, ecx
cmp dword [esp + 0x30], eax
cmovle esi, ebp
imul edi, esi
mov ebp, edx
mov eax, dword [esp + 0x40]
add eax, edi
mov edi, eax
add ecx, esi
mov eax, ebx
mov edx, ebp
cmp ebx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
jae 0x100cd360
mov dword [esp + 0x40], edi
movzx esi, word [ebx + 2]
mov edi, edx
sub edi, esi
jge 0x100cd2e0
mov ebp, esi
mov edi, esi
sub edi, edx
imul edi, ecx
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
movzx ebx, word [ebx]
cmp eax, dword [esp + 0x20]
jge 0x100cd350
mov esi, ebx
sub esi, dword [esp + 0x20]
jmp 0x100cd309
mov esi, ebx
sub esi, eax
jmp 0x100cd309
mov eax, dword [esp + 0x34]
add eax, ebp
cmp eax, dword [esp + 0x4c]
jg 0x100cd270
cmp ebp, dword [esp + 8]
jg 0x100cd270
mov ecx, edi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
jl 0x100cd3a3
cmp ecx, dword [esp + 0x2c]
jl 0x100cd3a3
jne 0x100cd27c
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jge 0x100cd27c
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
jmp 0x100cd27c
cmp dword [esp + 4], 0
je 0x100cd460
mov eax, dword [esp + 0x34]
add eax, dword [esp + 8]
cmp eax, dword [esp + 0x4c]
jg 0x100cd460
mov edx, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100cd460
mov ebx, dword [esp]
mov eax, ebx
mov word [ecx], bx
mov word [ecx + 2], dx
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x1c], edx
mov edi, dword [esp + 4]
mov edx, dword [edi]
movzx esi, word [edx]
cmp ebx, esi
jle 0x100cd41a
mov esi, dword [edx + 4]
add edx, 4
mov edi, edx
mov edx, esi
mov dword [edi], ecx
mov ebx, dword [edx + 4]
mov esi, dword [esp]
add esi, dword [esp + 0x54]
mov dword [esp], esi
test ebx, ebx
je 0x100cd479
lea edi, [edx + 4]
mov esi, ebx
movzx ebx, word [ebx]
cmp dword [esp], ebx
jl 0x100cd479
mov ebp, dword [esp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov dword [edi], ebx
mov dword [ebp + 0x1c], edx
lea edi, [esi + 4]
mov ebx, dword [esi + 4]
mov edx, esi
test ebx, ebx
jne 0x100cd430
jmp 0x100cd47b
mov esi, dword [esp + 0x14]
mov dword [esi + edi + 8], 0xffffffff
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
jmp 0x100ccfb8
mov esi, edx
mov dword [ecx + 4], esi
movzx ecx, word [esi]
mov edx, dword [esp]
cmp edx, ecx
jle 0x100cd48d
mov ecx, edx
mov word [esi], cx
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov word [esi + ecx + 8], ax
mov eax, dword [esp + 8]
mov word [esi + ecx + 0xa], ax
jmp 0x100cd46c
push 0x100d0e70
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov eax, dword [esp + 0x84]
add esp, 0x10
test eax, eax
jle 0x100cd58a
cmp dword [esp + 0x58], 0
je 0x100cd55c
and eax, 0xfffffffe
mov esi, eax
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x1c]
xor eax, eax
jmp 0x100cd4fe
mov dword [edx], ebx
add eax, 2
add edx, 0x20
mov ecx, esi
cmp esi, eax
je 0x100cd55e
mov ebx, 1
cmp word [edx - 0x14], 0xffff
mov ecx, 1
jne 0x100cd519
xor ecx, ecx
cmp word [edx - 0x12], 0xffff
setne cl
mov dword [edx - 0x10], ecx
cmp word [edx - 4], 0xffff
jne 0x100cd4f0
xor ebx, ebx
cmp word [edx - 2], 0xffff
setne bl
jmp 0x100cd4f0
push 0x100d0e30
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov eax, dword [esp + 0x84]
add esp, 0x10
push 0x100d0e70
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x70
jmp 0x100cd58d
xor eax, eax
mov ecx, dword [esp + 0x74]
test cl, 1
je 0x100cd58a
shl eax, 4
mov ecx, 1
mov edx, dword [esp + 0x14]
cmp word [edx + eax + 8], 0xffff
jne 0x100cd586
xor ecx, ecx
cmp word [edx + eax + 0xa], 0xffff
setne cl
mov dword [edx + eax + 0xc], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret