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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b7199
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x82f184]
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.0061ed80
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], 0xcc00df
mov dword [ebp - 0x1c], 0xdf00ca
mov dword [ebp - 0x18], 0xc900dd
mov dword [ebp - 0x14], 0xbf00db
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x64ba40
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 0x64ba80
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.00621cf0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call fcn.00404490
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x64c31d
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 0x64bf08
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 0x64be7c
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 0x64be45
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 0x64bd4e
xor eax, eax
mov dword [ebp - 0x148], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
call fcn.004044f0
jmp 0x64bd76
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 0x64bdae
xor eax, eax
mov dword [ebp - 0x44], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.004044f0
jmp 0x64bdd3
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 0x64be90
mov byte [ebp - 4], 0x15
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
add edi, 0x24
cmp edi, dword [ebp - 0x15c]
jne 0x64bcd0
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 0x64bc50
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x139], 0
call fcn.0041b0e0
jmp 0x64c488
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
cmp byte [ebp + 8], 0
je 0x64bed6
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 0x64c488
lea eax, [ebp - 0xd0]
push eax
call fcn.00418540
add esp, 4
test al, al
jne 0x64c2f1
push 0x7cd378
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 0x64c46e
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 0x7cd378
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 0x64c077
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 0x64c06b
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 0x64c051
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 0x64c068
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 0x64c000
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 0x64c124
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 0x64c12a
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 0x64bf80
test esi, esi
jle 0x64c46e
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 0x64c2d6
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 0x64c27d
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x64c285
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 0x64c396
add edi, 0x24
cmp edi, dword [ebp - 0x164]
jne 0x64c210
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 0x64c353
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x64c353
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x64c353
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.00451ac0
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
call fcn.004513e0
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.0076d59e
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
je 0x64c45d
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403640
mov esi, eax
push 0x7cd374
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 0x64c475
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 0x64c324