Function at 0x6ee3d0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [eax + 8], 6
je 0x6ee3ea
push eax
push esi
call fcn.006ee770
add esp, 8
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [eax]
sub edi, edx
mov edx, dword [esi + 0x18]
mov dword [ecx + 0xc], edx
mov cl, byte [eax + 6]
test cl, cl
jne 0x6ee507
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 8]
push ebx
mov ebx, dword [eax + 0x10]
xor eax, eax
sub ecx, edx
mov al, byte [ebx + 0x4b]
push ebp
mov edx, eax
mov dword [esp + 0x18], ebx
shl edx, 4
cmp ecx, edx
jg 0x6ee430
push eax
push esi
call fcn.006ee2d0
add esp, 8
mov ecx, dword [esi + 0x20]
mov al, byte [ebx + 0x4a]
mov ebp, edi
add ebp, ecx
test al, al
jne 0x6ee45b
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 8]
xor eax, eax
lea ebx, [ebp + 0x10]
mov al, byte [edi + 0x49]
shl eax, 4
add eax, ebx
cmp ecx, eax
jbe 0x6ee47c
mov dword [esi + 8], eax
jmp 0x6ee47c
mov eax, dword [esi + 8]
sub eax, ebp
sar eax, 4
dec eax
push eax
push ebx
push esi
call fcn.006ee610
mov ebx, eax
mov eax, dword [esi + 0x20]
add esp, 0xc
add edi, eax
mov ebp, edi
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jne 0x6ee491
push esi
call fcn.006ee5b0
add esp, 4
jmp 0x6ee497
add eax, 0x18
mov dword [esi + 0x14], eax
mov dword [eax + 4], ebp
mov dword [eax], ebx
xor ecx, ecx
mov dword [esi + 0xc], ebx
mov cl, byte [edi + 0x4b]
shl ecx, 4
add ecx, ebx
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x18], edx
mov edi, dword [eax + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 8]
cmp ecx, edi
jae 0x6ee4d5
mov dword [ecx + 8], edx
mov edi, dword [eax + 8]
add ecx, 0x10
cmp ecx, edi
jb 0x6ee4c8
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov al, byte [esi + 0x36]
test al, 1
je 0x6ee500
mov ebp, dword [esi + 0x18]
push 0xffffffffffffffff
add ebp, 4
push edx
push esi
mov dword [esi + 0x18], ebp
call fcn.006ee300
mov eax, dword [esi + 0x18]
add esp, 0xc
add eax, 0xfffffffc
mov dword [esi + 0x18], eax
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 8]
sub ecx, edx
cmp ecx, 0x140
jg 0x6ee522
push 0x14
push esi
call fcn.006ee2d0
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jne 0x6ee537
push esi
call fcn.006ee5b0
add esp, 4
jmp 0x6ee53d
add eax, 0x18
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x20]
lea ecx, [edi + edx]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
add ecx, 0x10
mov dword [eax], ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x10], edx
add ecx, 0x140
mov dword [eax + 8], ecx
mov al, byte [esi + 0x36]
test al, 1
je 0x6ee575
push 0xffffffffffffffff
push 0
push esi
call fcn.006ee300
add esp, 0xc
mov eax, dword [esi + 0x14]
push esi
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
call dword [edx + 0x10]
add esp, 4
test eax, eax
jge 0x6ee590
pop edi
mov eax, 2
pop esi
ret
mov ecx, dword [esi + 8]
shl eax, 4
sub ecx, eax
push ecx
push esi
call fcn.006ee810
add esp, 8
mov eax, 1
pop edi
pop esi
ret