Function at 0x64c6e0
Capabilities:
Encode data using xor
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b88c9
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x64], 0x30
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.0061fe10
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0xfc], xmm0
xor ecx, ecx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x20], 0xdf00ce
mov dword [ebp - 0x1c], 0xc800db
mov dword [ebp - 0x18], 0xda00cc
mov dword [ebp - 0x14], 0xb000ca
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x64c780
xor ecx, ecx
mov dword [ebp - 0x144], 7
mov word [ebp + eax*2 - 0x20], cx
xor eax, eax
mov dword [ebp - 0x148], ecx
lea ecx, [ebp - 0x20]
mov word [ebp - 0x158], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64c7c0
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.004044f0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x64]
call fcn.00622d80
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call fcn.00404490
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x64d05d
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
add esi, 0x34
lea ecx, [ebp - 0x88]
push esi
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0xc0], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.00403f00
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x158]
call fcn.00404120
lea edx, [ebp - 0x158]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.0041cd00
xor ecx, ecx
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], cx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
call fcn.00403b80
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x158]
call fcn.00404490
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.00404220
lea ecx, [ebp - 0x88]
call fcn.00404490
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xd0]
movups xmmword [ebp - 0x120], xmm0
movups xmmword [ebp - 0x110], xmm0
call fcn.00403720
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0xf
push eax
call fcn.00418540
add esp, 4
test al, al
jne 0x64cc48
lea eax, [ebp - 0x88]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x120]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00403720
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c]
call fcn.00417ac0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.00404220
lea ecx, [ebp - 0x88]
call fcn.00404490
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x160], eax
cmp esi, eax
je 0x64cbbc
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
push esi
lea ecx, [ebp - 0xac]
movups xmmword [ebp - 0xac], xmm0
movups xmmword [ebp - 0x9c], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x94]
call fcn.00403f00
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0xac]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.00417030
add esp, 4
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x15c], eax
cmp edi, eax
je 0x64cb85
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
push edi
lea ecx, [ebp - 0xf4]
movups xmmword [ebp - 0xf4], xmm0
movups xmmword [ebp - 0xe4], xmm0
call fcn.00404120
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0xdc]
call fcn.00403f00
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
cmp esi, ecx
jne 0x64ca8e
xor eax, eax
mov dword [ebp - 0x148], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
call fcn.004044f0
jmp 0x64cab6
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0x158]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [esi + eax*8]
push eax
call fcn.00404120
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd8]
cmp esi, ecx
jne 0x64caee
xor eax, eax
mov dword [ebp - 0x44], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.004044f0
jmp 0x64cb13
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0x54]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [esi + eax*8]
push eax
call fcn.00404120
cmp dword [ebp - 0x144], 8
lea ecx, [ebp - 0x158]
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x158]
cmp dword [ebp - 0x40], 8
push ecx
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00404490
lea ecx, [ebp - 0x158]
call fcn.00404490
lea ecx, [ebp - 0xdc]
test esi, esi
je 0x64cbd0
mov byte [ebp - 4], 0x15
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
add edi, 0x24
cmp edi, dword [ebp - 0x15c]
jne 0x64ca10
mov esi, dword [ebp - 0x140]
lea ecx, [ebp - 0x30]
call fcn.0041b0e0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x12
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
add esi, 0x24
mov dword [ebp - 0x140], esi
cmp esi, dword [ebp - 0x160]
jne 0x64c990
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x139], 0
call fcn.0041b0e0
jmp 0x64d1c8
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
cmp byte [ebp + 8], 0
je 0x64cc16
cmp dword [ebp - 0x10c], 8
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0xac]
cmovae ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x98], 8
push ecx
cmovae eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x30]
call fcn.0041b0e0
lea ecx, [ebp - 0x94]
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x139], 1
call fcn.0041b0e0
jmp 0x64d1c8
lea eax, [ebp - 0xd0]
push eax
call fcn.00418540
add esp, 4
test al, al
jne 0x64d031
push 0x7cf388
lea ecx, [ebp - 0x138]
call fcn.004040b0
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x120]
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00417ac0
mov byte [ebp - 4], 0x1c
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x164], eax
cmp edi, eax
je 0x64d1ae
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push edi
lea ecx, [ebp - 0x88]
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
call fcn.00404120
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x70]
call fcn.00403f00
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x88]
call fcn.00403640
xor eax, eax
mov byte [ebp - 4], 0x1f
push eax
push 0x7cf388
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.004044f0
xor esi, esi
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x44], esi
jbe 0x64cdb7
mov edi, dword [ebp - 0x40]
nop dword [eax]
cmp edi, 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
movzx eax, word [eax + esi*2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x64cdab
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x54]
cmp edi, 8
mov edi, dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x54]
movzx edx, word [eax + esi*2]
cmp ecx, edi
jae 0x64cd91
lea eax, [ecx + 1]
cmp edi, 8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x64cda8
push edx
mov byte [ebp - 0x160], 0
push dword [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004083e0
mov edi, dword [ebp - 0x40]
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x64cd40
mov edi, dword [ebp - 0x15c]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00404120
cmp dword [ebp - 0x144], 8
lea eax, [ebp - 0x158]
cmovae eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
lea ecx, [ebp - 0x158]
mov esi, eax
call fcn.00404490
cmp esi, dword [ebp - 0x140]
jle 0x64ce64
lea eax, [ebp - 0x88]
mov dword [ebp - 0x140], esi
push eax
lea ecx, [ebp - 0x158]
call fcn.00404120
lea ecx, [ebp - 0x138]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x158]
xor eax, eax
lea ecx, [ebp - 0x158]
mov word [ebp - 0x158], ax
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [ebp - 0x148]
movq qword [ebp - 0x128], xmm0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
call fcn.00404490
jmp 0x64ce6a
mov esi, dword [ebp - 0x140]
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
call fcn.00404220
lea ecx, [ebp - 0x88]
call fcn.00404490
add edi, 0x24
mov dword [ebp - 0x15c], edi
cmp edi, dword [ebp - 0x164]
jne 0x64ccc0
test esi, esi
jle 0x64d1ae
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
xor eax, eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403b80
push 0
lea edx, [ebp - 0xf4]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x30]
call fcn.00417030
add esp, 4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x25
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x164], eax
cmp edi, eax
je 0x64d016
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
push edi
lea ecx, [ebp - 0xac]
movups xmmword [ebp - 0xac], xmm0
movups xmmword [ebp - 0x9c], xmm0
call fcn.00404120
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x94]
call fcn.00403f00
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403640
mov esi, eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebp - 0xac]
call fcn.00403640
cmp dword [esi + 0x14], 8
jb 0x64cfbd
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x64cfc5
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
lea ecx, [ebp - 0x158]
mov esi, eax
call fcn.00404490
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x25
call fcn.00404220
lea ecx, [ebp - 0xac]
call fcn.00404490
test esi, esi
je 0x64d0d6
add edi, 0x24
cmp edi, dword [ebp - 0x164]
jne 0x64cf50
lea ecx, [ebp - 0x30]
call fcn.0041b0e0
lea ecx, [ebp - 0x1c]
call fcn.0041b0e0
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x108]
call fcn.00404220
lea ecx, [ebp - 0x120]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.00404220
lea ecx, [ebp - 0xd0]
call fcn.00404490
mov byte [ebp - 0x139], 0
mov byte [ebp - 4], 0x31
mov esi, dword [ebp - 0xf8]
test esi, esi
je 0x64d093
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x64d093
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x64d093
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.00452610
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
call fcn.00451eb0
mov al, byte [ebp - 0x139]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
je 0x64d19d
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403640
mov esi, eax
push 0x7cf384
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00421b40
push esi
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x2a
push eax
call fcn.00413490
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], cx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x2d
call fcn.00403b80
push 0
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x88]
call fcn.00418fd0
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00404220
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0x158]
call fcn.00404490
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0xa0]
call fcn.00404490
lea ecx, [ebp - 0x30]
call fcn.0041b0e0
mov byte [ebp - 0x139], 1
jmp 0x64d1b5
mov byte [ebp - 0x139], 0
lea ecx, [ebp - 0x1c]
call fcn.0041b0e0
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x108]
call fcn.00404220
lea ecx, [ebp - 0x120]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.00404220
lea ecx, [ebp - 0xd0]
call fcn.00404490
jmp 0x64d064