Function at 0x62f660
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, ecx
movzx ecx, byte [ecx]
mov eax, dword [edi]
mov ebx, ecx
shr ebx, 1
mov esi, eax
and esi, 0xfffffffe
dec esi
test cl, 1
mov edx, 0xa
cmovne edx, esi
mov ecx, dword [edi + 4]
cmovne ebx, ecx
mov dword [esp + 0x18], ebx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
sub esi, ebx
mov dword [esp], esi
je 0x62f968
mov dword [esp + 0x20], edx
lea edx, [edi + 1]
mov esi, eax
shr esi, 1
and esi, 0x7f
and al, 1
mov dword [esp + 4], edi
mov edi, dword [edi + 8]
cmove ecx, esi
mov dword [esp + 0x14], edi
mov esi, edi
mov dword [esp + 0x1c], edx
cmove esi, edx
cmp esi, ebx
ja 0x62f712
add esi, ecx
cmp esi, ebx
jbe 0x62f712
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp]
cmp ecx, 0xfffffff0
jae 0x62f974
cmp ecx, 0xa
ja 0x62f851
mov eax, ecx
add al, cl
mov byte [esp + 8], al
lea edi, [esp + 9]
jmp 0x62f877
mov edx, dword [esp + 0x20]
mov ecx, edx
mov edi, dword [esp + 0x18]
sub ecx, edi
mov esi, dword [esp]
cmp ecx, esi
mov ecx, esi
mov esi, dword [esp + 0x14]
jae 0x62f74e
lea eax, [edi + ecx]
sub eax, edx
mov esi, dword [esp + 4]
mov ecx, esi
push 0
push 0
push edi
push edi
push eax
push edx
call fcn.00520380
mov ecx, dword [esp]
movzx eax, byte [esi]
mov esi, dword [esi + 8]
and al, 1
test al, al
cmove esi, dword [esp + 0x1c]
lea eax, [esi + edi]
cmp ecx, 0x20
jb 0x62f8cc
lea ecx, [esi + edi]
sub ecx, ebx
cmp ecx, 0x20
jb 0x62f8cc
mov dword [esp + 0x14], esi
mov ecx, dword [esp]
add ecx, 0xffffffe0
mov edx, ecx
shr edx, 5
inc edx
mov esi, edx
and esi, 3
xor edi, edi
cmp ecx, 0x60
jb 0x62f7f6
and edx, 0xfffffffc
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add ecx, edi
add ecx, 0x70
xor edi, edi
nop dword [eax]
movups xmm0, xmmword [ebx + edi]
movups xmm1, xmmword [ebx + edi + 0x10]
movups xmmword [ecx + edi - 0x70], xmm0
movups xmmword [ecx + edi - 0x60], xmm1
movups xmm0, xmmword [ebx + edi + 0x20]
movups xmm1, xmmword [ebx + edi + 0x30]
movups xmmword [ecx + edi - 0x50], xmm0
movups xmmword [ecx + edi - 0x40], xmm1
movups xmm0, xmmword [ebx + edi + 0x40]
movups xmm1, xmmword [ebx + edi + 0x50]
movups xmmword [ecx + edi - 0x30], xmm0
movups xmmword [ecx + edi - 0x20], xmm1
movups xmm0, xmmword [ebx + edi + 0x60]
movups xmm1, xmmword [ebx + edi + 0x70]
movups xmmword [ecx + edi - 0x10], xmm0
movups xmmword [ecx + edi], xmm1
sub edi, 0xffffff80
add edx, 0xfffffffc
jne 0x62f7a0
mov ecx, dword [esp]
and ecx, 0xffffffe0
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x62f839
lea ecx, [edi + ebx]
add ecx, 0x10
add edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edi, edx
add edi, 0x10
shl esi, 5
xor edx, edx
nop dword [eax]
movups xmm0, xmmword [ecx + edx - 0x10]
movups xmm1, xmmword [ecx + edx]
movups xmmword [edi + edx - 0x10], xmm0
movups xmmword [edi + edx], xmm1
add edx, 0x20
cmp esi, edx
jne 0x62f820
mov ecx, dword [esp + 0x1c]
add eax, ecx
cmp dword [esp], ecx
jne 0x62f8ca
mov edi, dword [esp + 4]
jmp 0x62f950
mov esi, ecx
or esi, 0xf
lea eax, [esi + 1]
push eax
call fcn.0051c3d0
mov ecx, dword [esp + 4]
add esp, 4
mov edi, eax
mov dword [esp + 0x10], eax
add esi, 2
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
push ecx
push ebx
push edi
mov esi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
movzx eax, byte [esp + 8]
test al, 1
je 0x62f89b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x62f8a1
shr eax, 1
lea edx, [esp + 9]
mov edi, dword [esp + 4]
mov ecx, edi
push eax
push edx
call fcn.00520110
test byte [esp + 8], 1
je 0x62f968
push dword [esp + 0x10]
call fcn.0051c570
add esp, 4
jmp 0x62f968
add ebx, ecx
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
sub edx, ebx
mov esi, ebx
not esi
add esi, ecx
and edx, 7
je 0x62f8fa
nop word cs:[eax + eax]
movzx ecx, byte [ebx]
mov byte [eax], cl
inc eax
inc ebx
dec edx
jne 0x62f8f0
cmp esi, 7
mov edx, dword [ebp + 0xc]
jb 0x62f950
nop word cs:[eax + eax]
movzx ecx, byte [ebx]
mov byte [eax], cl
movzx ecx, byte [ebx + 1]
mov byte [eax + 1], cl
movzx ecx, byte [ebx + 2]
mov byte [eax + 2], cl
movzx ecx, byte [ebx + 3]
mov byte [eax + 3], cl
movzx ecx, byte [ebx + 4]
mov byte [eax + 4], cl
movzx ecx, byte [ebx + 5]
mov byte [eax + 5], cl
movzx ecx, byte [ebx + 6]
mov byte [eax + 6], cl
movzx ecx, byte [ebx + 7]
mov byte [eax + 7], cl
add eax, 8
add ebx, 8
cmp ebx, edx
jne 0x62f910
mov byte [eax], 0
mov eax, dword [esp + 0x18]
add eax, dword [esp]
test byte [edi], 1
jne 0x62f965
add al, al
mov byte [edi], al
jmp 0x62f968
mov dword [edi + 4], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esp + 8]
call fcn.0051f6b0
int3