Function at 0x4069c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x110
xor edx, edx
mov dword [esp + 8], edx
push ebx
mov ebx, dword [esp + 0x118]
push esi
push edi
mov ecx, 0xffffffff
push ebp
lea edi, [ebx + 0x56e]
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x46e]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x20]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push ebp
lea eax, [esp + 0x24]
push edx
push 0x180
push 0x8302
push eax
call dword [ebx + 0x14]
mov dword [esp + 0x28], eax
add esp, 0x14
cmp eax, 0xffffffff
je 0x406ca8
mov eax, dword [ebx + 0xad0]
push eax
call dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
add esp, 4
test eax, eax
je 0x406cbb
cmp byte [ebx + 0xbdf], 0
mov eax, dword [ebx + 0xacc]
mov dword [esp + 0x1c], eax
je 0x4067d7
lea edi, [ebx + 0xce0]
mov ecx, 0xffffffff
or byte [ebx + 0x9b2], 1
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebx + 0xbdf]
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx + edx - 1]
add edx, 2
add dword [esp + 0x1c], edx
cmp byte [ebx + 0xfe3], 0
je 0x406817
lea edi, [ebx + 0x10e4]
mov ecx, 0xffffffff
or byte [ebx + 0x9b2], 2
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebx + 0xfe3]
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx + edx - 1]
add edx, 2
add dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x13c]
add eax, dword [ebx + 0x244]
add ecx, dword [ebx + 0x34]
add ecx, eax
mov dword [ebx + 0x9a4], eax
cmp dword [ebx + 0xac8], 0
mov dword [ebx + 0x99c], ecx
jbe 0x406848
or byte [ebx + 0x9b2], 4
mov dword [esp + 0x10], 0
mov ax, word [ebx + 0xada]
push ebp
mov word [ebx + 0x9b4], ax
lea ecx, [esp + 0x14]
mov ax, word [ebx + 0xadc]
push ecx
mov word [ebx + 0x9b6], ax
push 0x24
inc ax
lea edx, [ebx + 0x994]
mov word [ebx + 0xadc], ax
push edx
mov eax, dword [esp + 0x24]
push eax
call dword [ebx + 0x1c]
add esp, 0x14
cmp eax, 0x24
jne 0x406ca8
cmp dword [ebx + 0xac8], 0
jbe 0x40694f
mov eax, dword [ebx + 0x354]
push ebp
mov word [ebx + 0x9c8], ax
lea eax, [esp + 0x14]
mov cl, byte [ebx + 0x358]
push eax
push 4
mov byte [ebx + 0x9ca], cl
mov dl, byte [ebx + 0x35c]
lea ecx, [ebx + 0x9c8]
push ecx
mov byte [ebx + 0x9cb], dl
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x24]
push edx
call dword [ebx + 0x1c]
add esp, 0x14
cmp eax, 4
jne 0x406ca8
lea edi, [ebx + 0x9c8]
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov esi, dword [ebx + 0xac8]
sub si, 4
je 0x40694f
mov di, 0x100
cmp si, 0x100
ja 0x40691d
mov edi, esi
lea eax, [esp + 0x10]
push ebp
push eax
lea edx, [ebx + 0x9c8]
mov dword [esp + 0x18], 0
movzx ecx, di
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [ebx + 0x1c]
add esp, 0x14
cmp ax, di
jne 0x406ca8
sub si, di
jne 0x406910
test byte [ebx + 0x9b2], 1
je 0x4069a2
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
lea edi, [ebx + 0xbdf]
mov eax, dword [esp + 0x20]
push edi
push eax
call fcn.00406e90
add esp, 0x14
test eax, eax
je 0x406cbb
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [ebx + 0xce0]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00406e90
add esp, 0x14
test eax, eax
je 0x406cbb
test byte [ebx + 0x9b2], 2
je 0x4069f5
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [ebx + 0xfe3]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00406e90
add esp, 0x14
test eax, eax
je 0x406cbb
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [ebx + 0x10e4]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00406e90
add esp, 0x14
test eax, eax
je 0x406cbb
xor edx, edx
lea edi, [ebx + 0xde1]
mov ecx, 0xffffffff
sub eax, eax
mov byte [ebx + 0xfe3], dl
mov byte [ebx + 0x10e4], dl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0xbdf]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0xee2]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0xce0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov eax, dword [ebx + 0x248]
mov dword [esp + 0x14], edx
push ecx
push edx
push edx
push eax
call dword [ebx + 0x24]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x406a7f
mov eax, dword [esp + 0x10]
push eax
push 4
jmp 0x406caf
xor esi, esi
mov edi, dword [ebx + 0xad0]
lea eax, [esp + 0x10]
push ebp
mov ecx, dword [esp + 0x1c]
push eax
push edi
mov edx, dword [ebx + 0x248]
mov dword [esp + 0x1c], esi
push ecx
push edx
call dword [ebx + 0x18]
add esp, 0x14
cmp eax, edi
jne 0x406b0a
mov ecx, dword [ebx + 0x13c]
mov eax, dword [esp + 0x18]
add ecx, dword [ebx + 0x244]
push ebp
add ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add dword [eax], ecx
lea ecx, [esp + 0x14]
mov edi, dword [ebx + 0xad0]
push ecx
mov dword [esp + 0x18], esi
push edi
push eax
push edx
call dword [ebx + 0x1c]
add esp, 0x14
cmp eax, edi
jne 0x406ca8
mov edi, dword [ebx + 0xad0]
push ebp
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
mov edx, dword [ebx + 0x248]
mov dword [esp + 0x18], esi
push edi
push ecx
push edx
call dword [ebx + 0x18]
add esp, 0x14
cmp eax, edi
je 0x406aa8
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x130]
mov esi, dword [esp + 0x12c]
push eax
mov edi, dword [esp + 0x12c]
push ebx
push ebp
mov eax, dword [ebx + 0x140]
push ecx
push esi
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
call fcn.00406d10
add esp, 0x20
test eax, eax
je 0x406cbb
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x130]
push eax
mov edx, dword [ebx + 0x38]
mov eax, dword [esp + 0x18]
push ebx
push ebp
push ecx
push esi
push edi
push edx
push eax
call fcn.00406d10
add esp, 0x20
test eax, eax
je 0x406cbb
lea eax, [esp + 0x10]
push ebp
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
push 2
push 0
push ecx
call dword [ebx + 0x24]
add esp, 0x14
mov esi, eax
cmp esi, 0xffffffff
je 0x406ca8
lea eax, [esp + 0x10]
push ebp
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
mov dword [ebx + 0x994], 0x4643534d
push 0
push 0
push ecx
call dword [ebx + 0x24]
add esp, 0x14
cmp eax, 0xffffffff
je 0x406ca8
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [ebx + 0x994]
mov edx, dword [esp + 0x1c]
push 4
push ecx
push edx
call dword [ebx + 0x1c]
add esp, 0x14
cmp eax, 4
jne 0x406ca8
lea eax, [esp + 0x10]
push ebp
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
push ecx
call dword [ebx + 0x20]
add esp, 0xc
cmp eax, 0xffffffff
je 0x406ca8
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x28]
push ecx
mov edx, dword [ebx + 0x20]
push edx
lea eax, [ebx + 0x34]
mov dword [esp + 0x24], 0xffffffff
push 3
push eax
call fcn.004076f0
add esp, 0x18
test eax, eax
je 0x406cbb
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 8]
push ecx
mov edx, dword [ebx + 0x28]
push edx
mov eax, dword [ebx + 0x20]
push eax
mov ecx, dword [ebx + 0x14]
push ecx
lea edx, [ebx + 0x34]
push 3
push edx
call fcn.004075d0
add esp, 0x20
test eax, eax
je 0x406cbb
push ebp
mov eax, dword [ebx + 0x30]
push esi
push eax
push 2
call edi
add esp, 0x10
cmp eax, 0xffffffff
jne 0x406c78
push 0
mov eax, dword [ebx + 0x2c]
push 7
push eax
jmp 0x406cb3
sub dword [ebx + 0x34c], eax
lea eax, [ebx + 0x994]
push eax
call fcn.00406e60
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [ebx + 0x10]
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
push eax
push 6
mov ecx, dword [ebx + 0x2c]
push ecx
call fcn.00407c90
add esp, 0xc
cmp dword [esp + 0x18], 0
jne 0x406ccd
mov eax, dword [esp + 0x18]
push eax
call dword [ebx + 0x10]
add esp, 4
cmp dword [esp + 0x14], 0xffffffff
je 0x406d00
xor esi, esi
push ebp
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
push eax
push ecx
call dword [ebx + 0x20]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x1c]
add esp, 0xc
push ebp
push esi
push ecx
call dword [ebx + 0x28]
add esp, 0xc
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x110
ret