Function at 0x419f90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
movzx eax, word [esp + 0x34]
push ebx
push ebp
mov dword [esp + 0x24], edx
xor ebp, ebp
mov edx, ecx
mov dword [esp + 0x1c], ebp
mov ecx, dword [0x7aa6b8]
push esi
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x24]
movzx ebx, word [edx]
lea esi, [ecx + eax*2]
movzx ecx, word [edx + 4]
cmp ebp, esi
mov al, byte [edx + 6]
push edi
movzx edi, word [edx + 2]
mov dword [esp + 0x10], ebp
mov ebp, 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x44], al
jae 0x41a18f
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
movzx eax, bx
movzx edx, ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
test ebp, ebp
je 0x41a00d
mov ebp, 4
jmp 0x41a01d
mov ebp, edx
mov dword [esp + 0x18], edx
xor esi, esi
test ebp, ebp
je 0x41a0a0
mov dword [esp + 0x20], 0
xor esi, esi
test di, di
jne 0x41a05b
mov edx, dword [esp + 0x48]
movzx ecx, word [edx]
lea eax, [ecx - 1]
mov word [edx], ax
test cx, cx
je 0x41a051
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax + 0xc]
call eax
add esp, 4
mov byte [esp + 0x44], al
jmp 0x41a056
mov byte [esp + 0x44], 0
mov edi, 8
movzx eax, di
mov ebx, ebp
cmp ebp, eax
mov edx, 1
cmovge ebx, eax
movzx eax, byte [esp + 0x44]
mov ecx, ebx
sub edi, ebx
shl edx, cl
mov ecx, dword [esp + 0x20]
dec edx
add dword [esp + 0x20], ebx
and edx, eax
mov al, byte [esp + 0x44]
shl edx, cl
mov cl, bl
shr al, cl
or esi, edx
mov byte [esp + 0x44], al
sub ebp, ebx
jne 0x41a027
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x41a0d0
xor ecx, ecx
lea eax, [esi + 1]
xor ebp, ebp
cmp eax, edx
mov eax, dword [esp + 0x10]
setge cl
mov dword [esp + 0x24], ebp
inc ecx
add cx, si
movzx ebx, cx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
jmp 0x41a17d
cmp bx, 7
jae 0x41a0fa
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
cmp esi, eax
jne 0x41a14d
mov eax, dword [esp + 0x10]
mov ebp, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ebp
jmp 0x41a17d
cmp bx, 0x11
jae 0x41a1af
mov ecx, 0x11
sub ecx, edx
mov edx, 0xffff
sar edx, cl
sub edx, 8
cmp esi, edx
jle 0x41a143
lea eax, [edx + 0x10]
cmp esi, eax
jg 0x41a143
sub esi, edx
cmp esi, dword [esp + 0x18]
lea eax, [esi + 1]
movzx ecx, ax
movzx eax, si
cmovl ecx, eax
mov eax, dword [esp + 0x10]
movzx ebx, cx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
jmp 0x41a17d
cmp bx, 0x10
jae 0x41a165
mov edx, dword [esp + 0x18]
mov ecx, 0x10
sub ecx, edx
shl si, cl
mov ecx, 0x10
sub cl, byte [esp + 0x30]
movsx esi, si
sar esi, cl
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, esi
mov dword [esp + 0x14], ecx
mov word [eax], cx
add eax, 2
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x34]
jb 0x419ff4
mov al, byte [esp + 0x44]
mov edx, dword [esp + 0x38]
mov word [edx + 2], di
pop edi
mov byte [edx + 6], al
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x24]
pop esi
pop ebp
mov word [edx], bx
mov word [edx + 4], cx
sar eax, 1
pop ebx
add esp, 0x2c
ret
cmp bx, 0x12
jae 0x41a1cb
cmp esi, 0x10000
jl 0x41a169
mov eax, dword [esp + 0x10]
inc esi
movzx ebx, si
mov dword [esp + 0x1c], ebx
jmp 0x41a17d
pop edi
pop esi
pop ebp
mov dword [0x4d9b5c], 0xf
xor eax, eax
pop ebx
add esp, 0x2c
ret