Function at 0x4066d0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0xff
push edi
jbe 0x4066f6
mov ecx, dword [esp + 0x14]
add eax, 0xffffff00
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*2]
mov eax, dword [0x419d60]
jmp 0x406708
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea esi, [eax + edx*2]
mov eax, dword [0x429de4]
movsx edx, word [esi + eax]
add esi, eax
mov eax, dword [esp + 0x10]
mov ecx, eax
shl ecx, 4
add ecx, eax
sar edx, 6
lea edi, [ecx*8 + 0x418800]
xor ecx, ecx
mov dword [edi + 0x80], edx
mov al, byte [esi]
and eax, 0x3f
mov dword [edi + 0x74], eax
mov cl, byte [esi + 3]
shr ecx, 7
mov dword [edi + 0x78], ecx
mov dl, byte [esi + 3]
shl dl, 1
movsx eax, dl
sar eax, 5
mov dword [edi + 0x7c], eax
mov cl, byte [esi + 3]
and cl, 0xf
and ecx, 0xff
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x60]
mov dl, byte [esi + 2]
shr dl, 4
and edx, 0xff
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x6c]
mov al, byte [esi + 2]
shl al, 4
sar al, 4
movsx ecx, al
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi]
movsx edx, byte [esi + 5]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [edi + 4]
movsx eax, byte [esi + 4]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [edi + 8]
mov cl, byte [esi + 7]
push ecx
call fcn.00406fc0
fstp dword [edi + 0xc]
mov dl, byte [esi + 6]
add esp, 4
push edx
call fcn.00406fc0
fstp dword [edi + 0x10]
xor eax, eax
add esp, 4
mov al, byte [esi + 9]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x14]
mov cl, byte [esi + 8]
push ecx
call fcn.00406fc0
fstp dword [edi + 0x18]
xor edx, edx
add esp, 4
mov dl, byte [esi + 0xb]
shr edx, 7
mov dword [edi + 0x70], edx
movsx eax, byte [esi + 0xa]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x412268]
fstp dword [edi + 0x1c]
mov cl, byte [esi + 0xd]
sar cl, 4
movsx edx, cl
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x20]
mov al, byte [esi + 0xd]
shl al, 4
sar al, 4
movsx ecx, al
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x24]
mov dl, byte [esi + 0xc]
sar dl, 4
movsx eax, dl
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x28]
mov cl, byte [esi + 0xc]
shl cl, 4
sar cl, 4
movsx edx, cl
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x2c]
mov al, byte [esi + 0xf]
push eax
call fcn.00406fc0
fstp dword [edi + 0x30]
mov cl, byte [esi + 0xe]
add esp, 4
push ecx
call fcn.00406fc0
fstp dword [edi + 0x34]
xor edx, edx
add esp, 4
mov dl, byte [esi + 0x11]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x38]
mov al, byte [esi + 0x10]
push eax
call fcn.00406fc0
fstp dword [edi + 0x3c]
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x13]
add esp, 4
mov dword [esp + 0x14], ecx
xor ecx, ecx
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x40]
mov dl, byte [esi + 0x12]
mov dword [esp + 0x14], edx
xor edx, edx
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x44]
movsx eax, byte [esi + 0x15]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x48]
mov cl, byte [esi + 0x14]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x41226c]
fstp dword [edi + 0x4c]
mov dl, byte [esi + 0x17]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x412270]
fstp dword [edi + 0x50]
mov al, byte [esi + 0x16]
push eax
call fcn.00406fc0
fstp dword [edi + 0x54]
mov cl, byte [esi + 0x19]
add esp, 4
shr cl, 4
and ecx, 0xff
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x58]
mov dl, byte [esi + 0x19]
and dl, 0xf
and edx, 0xff
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x412260]
fstp dword [edi + 0x5c]
mov al, byte [esi + 0x18]
shr al, 4
and eax, 0xff
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x64]
mov cl, byte [esi + 0x18]
and cl, 0xf
and ecx, 0xff
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x412264]
fstp dword [edi + 0x68]
mov dl, byte [esi + 0x1b]
mov byte [edi + 0x84], dl
mov al, byte [esi + 0x1a]
mov byte [edi + 0x85], al
mov cl, byte [esi + 0x1d]
mov byte [edi + 0x86], cl
mov dl, byte [esi + 0x1c]
mov byte [edi + 0x87], dl
mov dword [0x419d40], edi
mov eax, edi
pop edi
pop esi
ret