Function at 0x6dc8d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x48]
push ebp
lea ebp, [ebx + 0x40]
mov dword [esp + 0x18], 0
push esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
mov al, byte [ebx + 0x3c]
push edi
cmp al, 1
jne 0x6dc8fe
mov esi, 0x6dbcd0
jmp 0x6dc90c
mov esi, 0x6dbe50
cmp al, 2
je 0x6dc90c
mov esi, 0x6dbc80
xor ecx, ecx
cmp byte [ebx + 0x3b], cl
jbe 0x6dc924
lea edx, [ebx + 0x60]
mov dword [edx], esi
lea edx, [edx + 0x48]
movzx eax, byte [ebx + 0x3b]
inc ecx
cmp ecx, eax
jl 0x6dc916
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.006dc510
mov edi, eax
add esp, 8
test edi, edi
jne 0x6dc9b0
cmp byte [ebx + 0x39], al
je 0x6dcb56
movzx eax, byte [ebx + 0x3b]
lea esi, [eax*8 - 1]
add esi, eax
cmp dword [ebx + esi*8 + 0xc], edi
lea esi, [ebx + esi*8]
jne 0x6dc9dc
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x1c]
movzx eax, word [edi + 6]
mov ecx, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0x38]
cdq
push edx
push eax
test ecx, ecx
je 0x6dc984
push ecx
call fcn.00696530
add esp, 0xc
jmp 0x6dc98c
call fcn.006acde0
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x6dc9a4
lea eax, [ecx + 0x10]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov ax, word [edi + 6]
inc ax
mov word [ecx + 8], ax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne 0x6dc9c7
mov edi, 7
mov esi, dword [esp + 0x20]
push esi
call fcn.006da6e0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + 6]
mov word [ecx + 8], ax
mov eax, dword [esi + 0xc]
mov byte [eax + 0xb], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6dc9f9
push 0
push 0x38
push eax
call fcn.00696530
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
jmp 0x6dca59
cmp dword [0x7bd110], 0
je 0x6dca48
mov eax, dword [0x7c8688]
test eax, eax
je 0x6dca15
push eax
call dword [0x7bd160]
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0x38
call fcn.0067a4a0
mov eax, dword [0x7c8688]
add esp, 8
test eax, eax
je 0x6dca3e
push eax
call dword [0x7bd168]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
jmp 0x6dca56
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
jmp 0x6dca59
push 0x38
call dword [0x7bd130]
mov ebp, eax
mov dword [esp + 0x14], eax
add esp, 4
test ebp, ebp
je 0x6dca6a
push 0x38
push 0
push ebp
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebx + 0x10], ebp
test ebp, ebp
je 0x6dc9ab
lea eax, [ebp + 0x30]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push esi
call fcn.006da010
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne 0x6dcb3f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
xor ebp, ebp
movzx eax, byte [ebx + 0x3b]
dec eax
test eax, eax
jle 0x6dcaf1
mov edi, dword [esp + 0x20]
xor esi, esi
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax + 0x30]
test eax, eax
je 0x6dcae0
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x40], eax
sbb dword [ecx + 0x44], edx
movzx eax, byte [ebx + 0x3b]
inc ebp
dec eax
add esi, 0x38
cmp ebp, eax
jl 0x6dcac2
mov edi, dword [esp + 0x18]
xor esi, esi
xor ebp, ebp
movzx eax, byte [ebx + 0x3b]
cmp esi, eax
jge 0x6dcb3b
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [eax + 0xc]
add eax, ebp
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x6dcb33
cmp dword [ecx + 0x18], edi
je 0x6dcb26
push eax
push 0x6dae70
push dword [ecx]
call fcn.006bb530
add esp, 0xc
jmp 0x6dcb31
push 1
push eax
call fcn.006daf10
add esp, 8
mov edi, eax
inc esi
add ebp, 0x38
test edi, edi
je 0x6dcaf5
mov ebp, dword [esp + 0x10]
xor esi, esi
test edi, edi
jne 0x6dc9b4
push 2
push ebp
call fcn.006daf10
add esp, 8
jmp 0x6dcb6b
mov esi, dword [esp + 0x20]
push 0
push esi
push ebp
call fcn.006da860
add esp, 0xc
mov dword [ebx + 0x14], esi
xor esi, esi
mov edi, eax
test edi, edi
jne 0x6dc9b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret