Function at 0x418ff0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea ebp, [edi + 0x10]
mov eax, dword [edi + 0x10]
mov ecx, 0xb5b4b1ae
nop word [eax + eax]
cmp ecx, 0xb5b4b1ae
je 0x419022
cmp ecx, 0x82ead5bc
jne 0x419010
jmp 0x419029
mov ecx, 0x82ead5bc
jmp 0x419010
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x18]
call fcn.00419b70
mov esi, eax
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x10]
mov ecx, dword [esp + 4]
call fcn.00419b70
push dword [esp]
push esi
push 0xffffffffffffffff
push ebx
push eax
call fcn.00419470
add esp, 0x14
cmp eax, 0xffffffff
je 0x419457
mov esi, eax
mov eax, 0x8c4ba20f
lea ebx, [esp + 0x18]
nop word cs:[eax + eax]
cmp eax, 0x3a55a661
je 0x4190d8
cmp eax, 0x8c4ba20f
jne 0x419080
mov eax, 0x4ef3402
nop word cs:[eax + eax]
cmp eax, 0x4ef3402
je 0x4190b0
cmp eax, 0x5e8629a9
jne 0x4190a0
jmp 0x4190b7
mov eax, 0x5e8629a9
jmp 0x4190a0
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov eax, dword [esp]
mov ecx, ebx
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push esi
push edx
call fcn.00420810
mov eax, 0x3a55a661
jmp 0x419080
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebp
mov eax, 0xbf76be72
nop word cs:[eax + eax]
cmp eax, 0x5e622ec6
je 0x419124
cmp eax, 0xbf76be72
jne 0x4190f0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, edi
call fcn.00419b70
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov eax, 0x5e622ec6
jmp 0x4190f0
mov ecx, dword [esp + 0xc]
call fcn.00419b70
push dword [esp + 8]
push dword [esp + 8]
push dword [esp + 8]
push eax
call fcn.00419ea0
add esp, 0x10
mov ebx, eax
mov eax, 0x7829505
nop dword [eax]
cmp eax, 0x7829505
je 0x419160
cmp eax, 0xe864405
jne 0x419150
jmp 0x419167
mov eax, 0xe864405
jmp 0x419150
lea edi, [esp + 0x18]
mov ecx, edi
call fcn.0041d790
mov eax, 0xb46d5a3b
nop word [eax + eax]
cmp eax, 0xb46d5a3b
je 0x419190
cmp eax, 0x1369437d
jne 0x419180
jmp 0x419197
mov eax, 0x1369437d
jmp 0x419180
mov eax, 0x17ac3f07
nop dword [eax]
cmp eax, 0x17ac3f07
je 0x4191b0
cmp eax, 0x50fec471
jne 0x4191a0
jmp 0x4191b7
mov eax, 0x50fec471
jmp 0x4191a0
mov dword [esp], edi
mov eax, dword [esp]
mov eax, 0x66eec162
nop word cs:[eax + eax]
cmp eax, 0x66eec162
je 0x4191e0
cmp eax, 0xc44a53dd
jne 0x4191d0
jmp 0x4191e7
mov eax, 0xc44a53dd
jmp 0x4191d0
test bl, bl
je 0x419457
mov eax, 0x8c4ba20f
lea edi, [esp + 0x18]
mov ebx, dword [esp + 0x44]
nop dword [eax]
cmp eax, 0x3a55a661
je 0x419254
cmp eax, 0x8c4ba20f
jne 0x419200
mov eax, 0x4ef3402
nop word cs:[eax + eax]
cmp eax, 0x4ef3402
je 0x419230
cmp eax, 0x5e8629a9
jne 0x419220
jmp 0x419237
mov eax, 0x5e8629a9
jmp 0x419220
mov dword [esp], ebx
mov eax, dword [esp]
mov ecx, edi
lea eax, [esp + 4]
push eax
push esi
push 0
push ebx
call fcn.00420810
mov eax, 0x3a55a661
jmp 0x419200
mov eax, 0x6ec2f3
nop dword [eax]
cmp eax, 0x6ec2f3
je 0x419270
cmp eax, 0xe893f61a
jne 0x419260
jmp 0x419277
mov eax, 0xe893f61a
jmp 0x419260
mov dword [esp], edi
mov ecx, dword [esp]
call fcn.00419b70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4192b7
mov eax, 0x6ec2f3
nop word cs:[eax + eax]
cmp eax, 0x6ec2f3
je 0x4192b0
cmp eax, 0xe893f61a
jne 0x4192a0
jmp 0x4192d7
mov eax, 0xe893f61a
jmp 0x4192a0
mov eax, 0x76f68b4a
nop dword [eax]
cmp eax, 0x76f68b4a
je 0x4192d0
cmp eax, 0xa40b9282
jne 0x4192c0
jmp 0x419319
mov eax, 0xa40b9282
jmp 0x4192c0
mov dword [esp], ebx
mov ecx, dword [esp]
call fcn.00419b70
mov esi, eax
call sub.KERNEL32.dll_GetCurrentThreadId
lea ecx, [esp + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov ecx, 0xd8210750
nop
cmp ecx, 0xd8210750
je 0x419312
cmp ecx, 0xfa573f0b
jne 0x419300
jmp 0x419349
mov ecx, 0xfa573f0b
jmp 0x419300
mov dword [esp + 4], edi
mov eax, dword [esp + 4]
mov ecx, 0x6ec2f3
nop word cs:[eax + eax]
cmp ecx, 0x6ec2f3
je 0x419342
cmp ecx, 0xe893f61a
jne 0x419330
jmp 0x419372
mov ecx, 0xe893f61a
jmp 0x419330
mov dword [esp], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [eax], ecx
mov eax, dword [esp + 8]
push esi
push dword [esp + 0x14]
push str.ERROR___d_:__Original_file_exists__Let_file_as_is_after_success_decrypt:__s__n
call fcn.004015c0
add esp, 0xc
mov eax, 0x7829505
jmp 0x4193d0
mov dword [esp], eax
mov ecx, dword [esp]
call fcn.00419b70
mov esi, eax
mov eax, 0x6ec2f3
nop word cs:[eax + eax]
cmp eax, 0x6ec2f3
je 0x4193a0
cmp eax, 0xe893f61a
jne 0x419390
jmp 0x4193a7
mov eax, 0xe893f61a
jmp 0x419390
mov dword [esp], ebx
mov ecx, dword [esp]
call fcn.00419b70
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, 0x7829505
jmp 0x4193d0
mov eax, 0xe864405
nop word cs:[eax + eax]
cmp eax, 0x7829505
je 0x4193c1
cmp eax, 0xe864405
jne 0x4193d0
lea esi, [esp + 0x18]
mov ecx, esi
call fcn.0041d790
mov eax, 0xb46d5a3b
nop
cmp eax, 0xb46d5a3b
je 0x419400
cmp eax, 0x1369437d
jne 0x4193f0
jmp 0x419407
mov eax, 0x1369437d
jmp 0x4193f0
mov eax, 0x17ac3f07
nop dword [eax]
cmp eax, 0x17ac3f07
je 0x419420
cmp eax, 0x50fec471
jne 0x419410
jmp 0x419427
mov eax, 0x50fec471
jmp 0x419410
mov dword [esp], esi
mov eax, dword [esp]
mov eax, 0x66eec162
nop word cs:[eax + eax]
cmp eax, 0x66eec162
je 0x419450
cmp eax, 0xc44a53dd
jne 0x419440
jmp 0x419457
mov eax, 0xc44a53dd
jmp 0x419440
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 8