Function at 0x417f60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
push esi
lea edx, [ebp + ebp - 1]
lea ecx, [eax + eax*2]
imul edx, eax
lea esi, [eax + eax*2]
push edi
lea edx, [edx + edx*2]
lea edi, [eax + eax*2]
shl ecx, 1
shl esi, 2
dec ebp
lea ebx, [ebx + edx*2]
mov edx, ebp
mov dword [esp + 0x14], edi
imul edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
lea eax, [eax + edx*2]
mov dword [esp + 0x20], ebp
add edx, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
mov eax, edx
jl 0x41835b
mov esi, edi
lea edx, [eax + 1]
neg esi
mov dword [esp + 0x1c], esi
or esi, 0xffffffff
sub esi, eax
lea ebp, [ebx + ecx + 2]
mov dword [esp + 0x28], esi
lea eax, [edi - 6]
test eax, eax
jle 0x418092
mov eax, edx
lea esi, [ebx + 1]
mov cl, byte [eax - 1]
xor ebx, ebx
mov byte [esi - 1], cl
mov cl, byte [eax]
mov byte [esi], cl
mov cl, byte [eax + 1]
mov byte [esi + 1], cl
mov bl, byte [eax - 1]
xor ecx, ecx
mov edi, dword [esp + 0x14]
mov cl, byte [eax + 2]
add eax, 6
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 2], cl
mov bl, byte [eax - 3]
xor ecx, ecx
add esi, 0xc
mov cl, byte [eax - 6]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi - 9], cl
mov bl, byte [eax - 5]
xor ecx, ecx
mov cl, byte [eax - 2]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi - 8], cl
mov cl, byte [eax - 4]
mov byte [esi - 7], cl
mov cl, byte [eax - 3]
mov byte [esi - 6], cl
mov cl, byte [eax - 2]
mov byte [esi - 5], cl
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 1]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi - 4], cl
mov bl, byte [eax - 3]
xor ecx, ecx
mov cl, byte [eax]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi - 3], cl
mov bl, byte [eax - 2]
xor ecx, ecx
mov cl, byte [eax + 1]
add ecx, ebx
sar ecx, 1
mov byte [esi - 2], cl
mov ecx, dword [esp + 0x28]
lea ebx, [eax + ecx]
lea ecx, [edi - 6]
cmp ebx, ecx
jl 0x417fe7
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea eax, [edi - 6]
cmp eax, edi
jge 0x418131
lea esi, [ecx + ebx - 0xb]
mov cl, byte [edx + eax - 1]
xor ebx, ebx
mov byte [esi - 1], cl
mov cl, byte [edx + eax]
mov byte [esi], cl
mov cl, byte [edx + eax + 1]
mov byte [esi + 1], cl
mov bl, byte [edx + eax + 2]
xor ecx, ecx
mov edi, dword [esp + 0x14]
mov cl, byte [edx + eax - 1]
add eax, 6
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 2], cl
mov bl, byte [edx + eax - 6]
xor ecx, ecx
add esi, 0xc
mov cl, byte [edx + eax - 3]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi - 9], cl
mov bl, byte [edx + eax - 5]
xor ecx, ecx
mov cl, byte [edx + eax - 2]
add ecx, ebx
sar ecx, 1
mov byte [esi - 8], cl
mov cl, byte [edx + eax - 4]
mov byte [esi - 7], cl
mov cl, byte [edx + eax - 3]
mov byte [esi - 6], cl
mov cl, byte [edx + eax - 2]
mov byte [esi - 5], cl
mov cl, byte [edx + eax - 4]
mov byte [esi - 4], cl
mov cl, byte [edx + eax - 3]
mov byte [esi - 3], cl
mov cl, byte [edx + eax - 2]
mov byte [esi - 2], cl
cmp eax, edi
jl 0x4180a1
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
sub edx, edi
cmp esi, eax
je 0x418340
add ebx, ecx
add ebp, ecx
xor eax, eax
mov dword [esp + 0x2c], ebx
test ecx, ecx
jle 0x418336
jmp 0x418169
mov ebx, dword [esp + 0x2c]
mov esi, eax
sub esi, ecx
lea edi, [esi + ebx]
lea esi, [eax + ebx]
xor ebx, ebx
mov bl, byte [esi + ecx]
xor ecx, ecx
mov cl, byte [edi]
add ebx, ecx
xor ecx, ecx
sar ebx, 1
mov byte [esi], bl
mov cl, byte [eax + ebp - 1]
xor ebx, ebx
mov bl, byte [edi + 1]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 1], cl
mov bl, byte [edi + 2]
xor ecx, ecx
mov cl, byte [eax + ebp]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 2], cl
mov bl, byte [edi + 3]
xor ecx, ecx
mov cl, byte [eax + ebp + 1]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 3], cl
mov bl, byte [edi + 4]
xor ecx, ecx
mov cl, byte [eax + ebp + 2]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 4], cl
mov bl, byte [edi + 5]
xor ecx, ecx
mov cl, byte [eax + ebp + 3]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 5], cl
mov bl, byte [edi + 6]
xor ecx, ecx
mov cl, byte [eax + ebp + 4]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 6], cl
mov bl, byte [edi + 7]
xor ecx, ecx
mov cl, byte [eax + ebp + 5]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 7], cl
mov bl, byte [edi + 8]
xor ecx, ecx
mov cl, byte [eax + ebp + 6]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 8], cl
mov bl, byte [edi + 9]
xor ecx, ecx
mov cl, byte [eax + ebp + 7]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 9], cl
mov bl, byte [edi + 0xa]
xor ecx, ecx
mov cl, byte [eax + ebp + 8]
add ecx, ebx
sar ecx, 1
mov byte [esi + 0xa], cl
xor ecx, ecx
xor ebx, ebx
mov cl, byte [eax + ebp + 9]
mov bl, byte [edi + 0xb]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0xb], cl
mov bl, byte [edi + 0xc]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xa]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0xc], cl
mov bl, byte [edi + 0xd]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xb]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0xd], cl
mov bl, byte [edi + 0xe]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xc]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0xe], cl
mov bl, byte [edi + 0xf]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xd]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0xf], cl
mov bl, byte [edi + 0x10]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xe]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0x10], cl
mov bl, byte [edi + 0x11]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xf]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0x11], cl
mov bl, byte [edi + 0x12]
xor ecx, ecx
mov cl, byte [eax + ebp + 0x10]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0x12], cl
mov bl, byte [edi + 0x13]
xor ecx, ecx
mov cl, byte [eax + ebp + 0x11]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0x13], cl
mov bl, byte [edi + 0x14]
xor ecx, ecx
mov cl, byte [eax + ebp + 0x12]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0x14], cl
mov bl, byte [edi + 0x15]
xor ecx, ecx
mov cl, byte [eax + ebp + 0x13]
add ecx, ebx
sar ecx, 1
mov byte [esi + 0x15], cl
xor ecx, ecx
mov cl, byte [eax + ebp + 0x14]
xor ebx, ebx
mov bl, byte [edi + 0x16]
add ecx, ebx
xor ebx, ebx
sar ecx, 1
mov byte [esi + 0x16], cl
mov bl, byte [edi + 0x17]
xor ecx, ecx
mov cl, byte [eax + ebp + 0x15]
add eax, 0x18
add ecx, ebx
sar ecx, 1
mov byte [esi + 0x17], cl
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jl 0x418165
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
sub ebx, ecx
sub ebp, ecx
jmp 0x418344
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
sub ebx, esi
sub ebp, esi
dec eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
jns 0x417fd7
lea edi, [ebx + ecx]
mov edx, ecx
add esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret