Function at 0x425d0a
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x66c], ecx
push esi
push 0x43b8f8
mov dword [ebp - 0x658], esi
call sub.msvcrt.dll__setjmp3
pop ecx
pop ecx
test eax, eax
je 0x425d53
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00416fd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x66c]
xor edx, edx
push esi
mov ecx, dword [ecx + 0x3c]
call fcn.0040ea40
mov edi, eax
mov ecx, edi
call fcn.0040d7e6
mov dword [ebp - 0x650], eax
cmp word [edi], si
je 0x42611a
cmp word [eax], si
je 0x42611a
mov ecx, eax
call fcn.0040d7e6
cmp word [eax], si
jne 0x42611a
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x425d9c
sub esi, ecx
mov ecx, edi
sar esi, 1
call fcn.004122c0
push eax
lea edx, [esi + 1]
mov ecx, edi
call fcn.00411040
mov edx, dword [ebp - 0x650]
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, word [ebp - 0x658]
jne 0x425dc8
sub esi, ecx
mov ecx, edx
sar esi, 1
call fcn.004122c0
mov ecx, dword [ebp - 0x650]
lea edx, [esi + 1]
push eax
call fcn.00411040
mov ecx, edi
call fcn.00413b5d
mov dword [ebp - 0x654], eax
cmp eax, 1
jne 0x425e0e
mov ecx, dword [0x443cf0]
call fcn.00425cea
mov eax, 0x104
mov byte [ebp - 0x14], 1
push eax
xor esi, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x18], esi
push esi
push eax
call sub.msvcrt.dll_memset
mov eax, 0x104
mov dword [ebp - 0x22c], esi
push eax
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x434]
push esi
push eax
mov byte [ebp - 0x228], 1
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0x18
mov esi, 0x104
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, esi
push eax
call fcn.00410c70
test eax, eax
js 0x426005
xor eax, eax
lea ecx, [ebp - 0x434]
cmp byte [ebp - 0x228], al
sete al
dec eax
and eax, 0x7ee3
add eax, esi
push eax
call fcn.00410c70
test eax, eax
js 0x426005
mov eax, dword [0x443cb8]
mov esi, 0x443ab0
test eax, eax
jne 0x425eb6
mov eax, esi
push eax
lea ecx, [ebp - 0x220]
call fcn.00410d89
mov eax, dword [0x443cb8]
test eax, eax
jne 0x425ecd
mov eax, esi
push eax
lea ecx, [ebp - 0x434]
call fcn.00410d89
mov ecx, dword [ebp - 0x18]
mov esi, ecx
test ecx, ecx
jne 0x425ee8
lea esi, [ebp - 0x220]
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, word [ebp - 0x658]
jne 0x425eeb
sub esi, edx
mov edx, dword [ebp - 0x654]
sar esi, 1
mov dword [ebp - 0x65c], esi
mov eax, dword [edx + 0x18]
test byte [eax], 0x10
jne 0x425f28
push dword [edx + 0x10]
lea ecx, [ebp - 0x220]
call fcn.00410cf2
mov edx, dword [ebp - 0x654]
jmp 0x425f55
dec esi
mov dword [ebp - 0x65c], esi
test ecx, ecx
jne 0x425f39
lea ecx, [ebp - 0x220]
xor eax, eax
mov word [ecx + esi*2], ax
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x425f4f
lea eax, [ebp - 0x434]
xor ecx, ecx
mov word [eax + esi*2], cx
test byte [edx + 0x1c], 8
jne 0x425f94
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x425f68
lea ecx, [ebp - 0x220]
call fcn.004122c0
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x654]
mov ecx, dword [edx + 0x18]
mov dword [ecx], eax
mov eax, dword [edx + 0x18]
cmp dword [eax], 0xffffffff
jne 0x425f94
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
jmp 0x425e09
mov eax, dword [ebp - 0x650]
push 0x3a
pop ecx
cmp word [eax + 2], cx
je 0x42611a
push 0x5c
pop edx
mov ecx, eax
call fcn.0040d7d4
test eax, eax
jne 0x42611a
mov esi, 0x104
mov dword [ebp - 0x440], eax
push esi
push eax
lea eax, [ebp - 0x648]
mov byte [ebp - 0x43c], 1
push eax
mov dword [ebp - 0x438], esi
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x648]
add esp, 0xc
cmp byte [ebp - 0x43c], al
sete al
dec eax
and eax, 0x7ee3
add eax, esi
push eax
call fcn.00410c70
test eax, eax
jns 0x42600f
mov ecx, 0x2374
jmp 0x425e09
mov eax, dword [0x443cb8]
test eax, eax
jne 0x42601d
mov eax, 0x443ab0
mov ecx, dword [ebp - 0x440]
test ecx, ecx
jne 0x42602d
lea ecx, [ebp - 0x648]
mov ax, word [eax]
mov word [ecx], ax
mov eax, dword [ebp - 0x440]
test eax, eax
jne 0x426043
lea eax, [ebp - 0x648]
push 0x3a
pop ecx
mov word [eax + 2], cx
mov esi, edi
push 0x2a
pop eax
mov word [ebp - 0xc], ax
push 0x3f
pop eax
mov word [ebp - 0xa], ax
lea ecx, [esi + 2]
xor eax, eax
xor edx, edx
mov word [ebp - 8], ax
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x426065
sub esi, ecx
lea edx, [ebp - 0xc]
mov ecx, edi
sar esi, 1
call fcn.0040d3bc
mov edx, dword [ebp - 0x18]
cmp eax, esi
push 0x20
sbb esi, esi
neg esi
pop eax
mov dword [ebp - 0x668], eax
test edx, edx
jne 0x42609a
lea edx, [ebp - 0x220]
mov edi, dword [ebp - 0x654]
lea ecx, [ebp - 0x64c]
push ecx
xor ecx, ecx
push dword [edi + 0x18]
push ecx
push eax
mov ecx, fcn.00416a00
call fcn.004168ba
test al, al
jne 0x426124
mov edx, dword [ebp - 0x18]
push 0x10
pop eax
mov dword [ebp - 0x668], eax
test edx, edx
jne 0x4260d2
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x64c]
push ecx
push dword [edi + 0x18]
xor ecx, ecx
push ecx
push eax
mov ecx, fcn.00416a00
call fcn.004168ba
test al, al
jne 0x42610b
mov ecx, dword [0x443cf0]
cmp ecx, 0x12
jne 0x425e09
push 2
pop ecx
mov dword [0x443cf0], ecx
jmp 0x425e09
test esi, esi
je 0x426124
mov ecx, dword [ebp - 0x64c]
call fcn.0040cd27
mov ecx, 0x232a
jmp 0x425e09
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x426131
lea eax, [ebp - 0x220]
mov edi, dword [ebp - 0x65c]
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x660], esi
mov word [eax + edi*2], cx
cmp dword [0x42d544], 0
jne 0x4263fc
mov ecx, dword [ebp - 0x654]
mov eax, dword [ecx + 0x18]
test byte [eax], 0x10
je 0x42624e
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
jne 0x426174
lea ecx, [ebp - 0x434]
push 0x5c
pop edx
call fcn.00412349
mov edi, eax
test edi, edi
je 0x426396
mov edx, dword [ebp - 0x650]
xor eax, eax
mov word [edi + 2], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x426195
mov esi, dword [ebp - 0x22c]
sub edx, ecx
sar edx, 1
mov ecx, esi
test esi, esi
jne 0x4261b6
lea ecx, [ebp - 0x434]
lea eax, [ecx + 2]
mov dword [ebp - 0x664], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x658]
jne 0x4261bf
sub ecx, dword [ebp - 0x664]
lea eax, [edx + 1]
sar ecx, 1
add eax, ecx
cmp eax, 0x7fe7
ja 0x426396
test esi, esi
jne 0x4261f0
lea esi, [ebp - 0x434]
mov edx, dword [ebp - 0x224]
lea eax, [edi + 2]
push dword [ebp - 0x650]
sub eax, esi
lea ecx, [edi + 2]
sar eax, 1
sub edx, eax
call fcn.00411040
mov edx, dword [ebp - 0x22c]
mov ecx, edx
test edx, edx
jne 0x42621f
lea ecx, [ebp - 0x434]
lea esi, [ecx + 2]
xor edi, edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x426224
sub ecx, esi
sar ecx, 1
test edx, edx
jne 0x42623d
lea edx, [ebp - 0x434]
mov edi, dword [ebp - 0x65c]
xor eax, eax
mov word [edx + ecx*2], ax
jmp 0x426309
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42625b
lea eax, [ebp - 0x220]
xor edx, edx
mov word [eax + edi*2], dx
mov eax, dword [ecx + 0x18]
lea ecx, [ebp - 0x220]
add eax, 0x2c
push eax
call fcn.00410cf2
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x426280
lea eax, [ebp - 0x220]
mov ecx, dword [ebp - 0x440]
test ecx, ecx
jne 0x426290
lea ecx, [ebp - 0x648]
mov edx, dword [ebp - 0x438]
lea eax, [eax + edi*2]
push eax
push dword [ebp - 0x650]
call fcn.00405400
mov edx, dword [ebp - 0x440]
mov ecx, edx
test edx, edx
jne 0x4262b7
lea ecx, [ebp - 0x648]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x658]
jne 0x4262ba
sub ecx, esi
lea eax, [edi + 1]
sar ecx, 1
add eax, ecx
cmp eax, 0x7fe7
ja 0x426396
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x4262ed
lea eax, [ebp - 0x434]
xor ecx, ecx
mov word [eax + edi*2], cx
test edx, edx
jne 0x4262fd
lea edx, [ebp - 0x648]
push edx
lea ecx, [ebp - 0x434]
call fcn.00410cf2
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
jne 0x426319
lea ecx, [ebp - 0x434]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x426326
lea eax, [ebp - 0x220]
push 2
xor edx, edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileWithProgressW]
test eax, eax
jne 0x426366
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x660], eax
cmp esi, 0xb7
jne 0x426359
mov esi, 0x234d
mov dword [ebp - 0x660], esi
xor eax, eax
push eax
push esi
call fcn.0040c5a2
pop ecx
pop ecx
jmp 0x42636c
mov esi, dword [ebp - 0x660]
push dword [ebp - 0x64c]
mov edx, dword [ebp - 0x654]
mov ecx, fcn.00416a00
push dword [ebp - 0x668]
mov edx, dword [edx + 0x18]
call fcn.00416a1c
test al, al
je 0x4263b0
xor esi, esi
jmp 0x426145
mov ecx, dword [ebp - 0x64c]
call fcn.0040cd27
call fcn.00415d39
mov ecx, 0x232e
jmp 0x425e09
mov ecx, dword [ebp - 0x64c]
call fcn.0040cd27
call fcn.00415d39
push dword [ebp - 0x440]
xor eax, eax
test esi, esi
setne al
mov dword [ebp - 0x664], eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
push dword [ebp - 0x22c]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp - 0x664]
add esp, 0xc
jmp 0x425d43
mov ecx, dword [ebp - 0x64c]
call fcn.0040cd27
call fcn.00415d39
push dword [ebp - 0x440]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
push dword [ebp - 0x22c]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
add esp, 0xc
jmp 0x425d40