Function at 0x466290
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x84
push 0x68
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push 0
push eax
call fcn.004e4d50
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], 0x6c
mov eax, dword [ecx]
push 0
push 0x821
push edx
push 0
push ecx
call dword [eax + 0x64]
test eax, eax
jne 0x46656f
mov ecx, dword [esp + 0xa0]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
push esi
push edi
mov edi, dword [esp + 0xa8]
mov ebp, 1
mov esi, dword [ebx]
shl ebp, cl
mov dword [esp + 0x14], edx
mov eax, dword [edi + 8]
sub eax, dword [edi]
dec eax
add eax, ebp
shr eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
dec eax
add eax, ebp
shr eax, cl
mov dword [esp + 0x18], eax
mov al, byte [esi]
inc esi
mov byte [esp + 0x13], al
xor eax, eax
cmp ax, word [ebx + 6]
jae 0x46641f
nop
mov ebx, dword [edi]
mov edi, edx
mov eax, dword [esp + 0xa8]
neg ebx
sub edi, dword [eax + 4]
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar edi, cl
add edi, dword [esp + 0xa4]
sar eax, 1
imul edi, eax
mov eax, dword [esp + 0x4c]
add edi, dword [esp + 0xa0]
lea eax, [eax + edi*2]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x13]
test al, al
je 0x4663c9
nop
movsx ecx, al
test al, al
jle 0x4663c0
lea edi, [ecx + ebx]
lea ecx, [ebx + ebp]
lea eax, [ebp - 1]
neg ecx
add eax, ebx
and ecx, eax
add esi, ecx
add ebx, ecx
nop word [eax + eax]
mov ecx, dword [esp + 0xb0]
mov edx, ebx
movzx eax, byte [esi]
add ebx, ebp
shr edx, cl
add esi, ebp
mov ecx, dword [esp + 0x24]
mov ax, word [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov word [ecx + edx*2], ax
cmp ebx, edi
jb 0x466390
mov eax, edi
sub eax, ebx
mov ebx, edi
add esi, eax
jmp 0x4663c2
sub ebx, ecx
mov al, byte [esi]
inc esi
test al, al
jne 0x466370
mov edx, dword [esp + 0x14]
lea eax, [ebp - 1]
test eax, eax
je 0x4663f2
mov ecx, eax
add edx, ecx
mov al, byte [esi]
inc esi
test al, al
je 0x4663ed
jle 0x4663e6
movsx eax, al
add esi, eax
mov al, byte [esi]
inc esi
test al, al
jne 0x4663df
sub ecx, 1
jne 0x4663d8
mov al, byte [esi]
inc edx
mov ecx, dword [esp + 0xb0]
inc esi
mov edi, dword [esp + 0xa8]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], edx
movzx eax, word [eax + 6]
cmp edx, eax
jl 0x466330
test byte [esp + 0xac], 1
je 0x466557
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x18]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov edx, ebx
mov dword [esp + 0x24], ebx
imul edx, dword [esp + 0xa4]
add edx, dword [esp + 0xa0]
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
not ecx
movzx edi, cx
test ebp, ebp
je 0x4664e4
mov esi, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
nop word [eax + eax]
movzx ecx, word [ebp]
mov edx, ebp
cmp esi, 1
jbe 0x4664cf
lea ebx, [esi - 1]
nop
movzx eax, word [edx + 2]
lea edx, [edx + 2]
mov esi, eax
test ax, ax
je 0x4664ac
test cx, cx
jne 0x4664ac
and eax, edi
mov word [edx - 2], ax
movzx esi, word [edx]
test si, si
jne 0x4664bb
test cx, cx
je 0x4664bb
and ecx, edi
mov word [edx], cx
movzx ecx, si
sub ebx, 1
jne 0x466490
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
sub eax, 1
lea ebp, [ebp + ebx*2]
mov dword [esp + 0x20], eax
jne 0x466480
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x466557
nop dword [eax]
movzx edx, word [eax]
mov esi, eax
cmp ebp, 1
jbe 0x466547
lea ebp, [ebx + ebx]
mov ebx, dword [esp + 0x18]
dec ebx
movzx ecx, word [esi + ebp]
add esi, ebp
mov eax, ecx
test cx, cx
je 0x466520
test dx, dx
jne 0x466520
and ecx, edi
mov eax, esi
sub eax, ebp
mov word [eax], cx
movzx eax, word [esi]
test ax, ax
jne 0x46652f
test dx, dx
je 0x46652f
and edx, edi
mov word [esi], dx
movzx edx, ax
sub ebx, 1
jne 0x466502
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add eax, 2
sub ecx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jne 0x4664f0
mov ecx, dword [esp + 0x9c]
push dword [esp + 0x4c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x80]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x20