Function at 0x429ee6
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 [0x4310b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x668], ecx
push esi
push 0x443ad8
mov dword [ebp - 0x654], esi
call sub.msvcrt.dll__setjmp3
pop ecx
pop ecx
test eax, eax
jne 0x42a5f0
mov ecx, dword [ebp - 0x668]
xor edx, edx
push esi
mov ecx, dword [ecx + 0x3c]
call fcn.0040ab20
mov edi, eax
mov ecx, edi
call fcn.00409397
mov ebx, eax
mov dword [ebp - 0x650], ebx
cmp word [edi], si
je 0x42a2c3
cmp word [ebx], si
je 0x42a2c3
mov ecx, ebx
call fcn.00409397
cmp word [eax], si
jne 0x42a2c3
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x429f6c
sub esi, ecx
mov ecx, edi
sar esi, 1
call fcn.0040f070
push eax
lea edx, [esi + 1]
mov ecx, edi
call fcn.0040dfe0
mov esi, ebx
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x429f94
sub esi, ecx
mov ecx, ebx
sar esi, 1
call fcn.0040f070
push eax
lea edx, [esi + 1]
mov ecx, ebx
call fcn.0040dfe0
mov ecx, edi
call fcn.00411f41
mov esi, eax
mov dword [ebp - 0x65c], esi
cmp esi, 1
je 0x42a609
mov eax, 0x104
mov byte [ebp - 0x14], 1
push eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x18], ebx
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, 0x104
mov dword [ebp - 0x22c], ebx
push eax
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x434]
push ebx
push eax
mov byte [ebp - 0x228], 1
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0x18
mov ebx, 0x104
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, ebx
push eax
call fcn.0040d300
test eax, eax
js 0x42a602
xor eax, eax
lea ecx, [ebp - 0x434]
cmp byte [ebp - 0x228], al
sete al
dec eax
and eax, 0x7ee3
add eax, ebx
push eax
call fcn.0040d300
test eax, eax
js 0x42a602
mov eax, dword [0x44be60]
mov ebx, 0x44bc58
test eax, eax
jne 0x42a075
mov eax, ebx
push eax
lea ecx, [ebp - 0x220]
call fcn.0040f229
mov eax, dword [0x44be60]
test eax, eax
jne 0x42a08c
mov eax, ebx
push eax
lea ecx, [ebp - 0x434]
call fcn.0040f229
mov ecx, dword [ebp - 0x18]
mov ebx, ecx
test ecx, ecx
jne 0x42a0a7
lea ebx, [ebp - 0x220]
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, word [ebp - 0x654]
jne 0x42a0aa
mov eax, dword [esi + 0x18]
sub ebx, edx
sar ebx, 1
mov dword [ebp - 0x660], ebx
test byte [eax], 0x10
jne 0x42a0db
push dword [esi + 0x10]
lea ecx, [ebp - 0x220]
call fcn.004121c1
jmp 0x42a108
dec ebx
mov dword [ebp - 0x660], ebx
test ecx, ecx
jne 0x42a0ec
lea ecx, [ebp - 0x220]
xor eax, eax
mov word [ecx + ebx*2], ax
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x42a102
lea eax, [ebp - 0x434]
xor ecx, ecx
mov word [eax + ebx*2], cx
test byte [esi + 0x1c], 8
jne 0x42a143
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x42a11b
lea ecx, [ebp - 0x220]
call fcn.0040f070
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov ecx, eax
mov eax, dword [esi + 0x18]
mov dword [eax], ecx
mov eax, dword [esi + 0x18]
cmp dword [eax], 0xffffffff
jne 0x42a143
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
jmp 0x42a60f
mov eax, dword [ebp - 0x650]
push 0x3a
pop ecx
cmp word [eax + 2], cx
je 0x42a2c3
push 0x5c
pop edx
mov ecx, eax
call fcn.0040f66b
test eax, eax
jne 0x42a2c3
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.0040d300
test eax, eax
js 0x42a602
mov eax, dword [0x44be60]
test eax, eax
jne 0x42a1c6
mov eax, 0x44bc58
movzx ecx, word [eax]
mov eax, dword [ebp - 0x440]
test eax, eax
jne 0x42a1d9
lea eax, [ebp - 0x648]
mov word [eax], cx
mov eax, dword [ebp - 0x440]
test eax, eax
jne 0x42a1ec
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 0x42a20e
sub esi, ecx
lea edx, [ebp - 0xc]
mov ecx, edi
sar esi, 1
call fcn.0040fb25
mov edx, dword [ebp - 0x18]
cmp eax, esi
push 0x20
sbb esi, esi
neg esi
pop eax
mov dword [ebp - 0x664], eax
test edx, edx
jne 0x42a243
lea edx, [ebp - 0x220]
mov edi, dword [ebp - 0x65c]
lea ecx, [ebp - 0x64c]
push ecx
xor ecx, ecx
push dword [edi + 0x18]
push ecx
push eax
mov ecx, fcn.00417010
call fcn.00416ed9
test al, al
jne 0x42a2cd
mov edx, dword [ebp - 0x18]
push 0x10
pop eax
mov dword [ebp - 0x664], eax
test edx, edx
jne 0x42a27b
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x64c]
push ecx
push dword [edi + 0x18]
xor edi, edi
mov ecx, fcn.00417010
push edi
push eax
call fcn.00416ed9
test al, al
jne 0x42a2b4
mov ecx, dword [0x439820]
cmp ecx, 0x12
jne 0x42a60f
push 2
pop ecx
mov dword [0x439820], ecx
jmp 0x42a60f
test esi, esi
je 0x42a2cf
mov ecx, dword [ebp - 0x64c]
call fcn.00411bba
mov ecx, 0x232a
jmp 0x42a60f
xor edi, edi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42a2dc
lea eax, [ebp - 0x220]
mov esi, dword [ebp - 0x440]
xor ecx, ecx
mov word [eax + ebx*2], cx
mov dword [ebp - 0x658], edi
cmp dword [0x435614], 0
jne 0x42a5a2
mov ecx, dword [ebp - 0x65c]
mov eax, dword [ecx + 0x18]
test byte [eax], 0x10
je 0x42a3f7
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
jne 0x42a31d
lea ecx, [ebp - 0x434]
push 0x5c
pop edx
call fcn.0040f211
mov ebx, eax
test ebx, ebx
je 0x42a58b
mov edx, dword [ebp - 0x650]
xor eax, eax
mov word [ebx + 2], ax
xor edi, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x42a340
mov edi, dword [ebp - 0x22c]
sub edx, ecx
sar edx, 1
mov ecx, edi
test edi, edi
jne 0x42a361
lea ecx, [ebp - 0x434]
lea eax, [ecx + 2]
mov dword [ebp - 0x66c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x654]
jne 0x42a36a
sub ecx, dword [ebp - 0x66c]
lea eax, [edx + 1]
sar ecx, 1
add eax, ecx
cmp eax, 0x7fe7
ja 0x42a58b
test edi, edi
jne 0x42a39b
lea edi, [ebp - 0x434]
mov edx, dword [ebp - 0x224]
lea eax, [ebx + 2]
push dword [ebp - 0x650]
sub eax, edi
lea ecx, [ebx + 2]
sar eax, 1
sub edx, eax
call fcn.0040dfe0
mov ecx, dword [ebp - 0x22c]
mov edx, ecx
test ecx, ecx
jne 0x42a3cc
lea edx, [ebp - 0x434]
mov ecx, edx
lea edi, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42a3d1
mov ebx, dword [ebp - 0x660]
sub ecx, edi
mov edi, dword [ebp - 0x658]
sar ecx, 1
xor eax, eax
mov word [edx + ecx*2], ax
jmp 0x42a4b0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42a404
lea eax, [ebp - 0x220]
xor edx, edx
mov word [eax + ebx*2], dx
mov eax, dword [ecx + 0x18]
lea ecx, [ebp - 0x220]
add eax, 0x2c
push eax
call fcn.004121c1
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42a429
lea eax, [ebp - 0x220]
lea eax, [eax + ebx*2]
test esi, esi
jne 0x42a436
lea esi, [ebp - 0x648]
mov edx, dword [ebp - 0x438]
mov ecx, esi
push eax
push dword [ebp - 0x650]
call fcn.00414ef7
mov esi, dword [ebp - 0x440]
mov ecx, esi
test esi, esi
jne 0x42a45c
lea ecx, [ebp - 0x648]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x654]
jne 0x42a45f
sub ecx, edx
lea eax, [ebx + 1]
sar ecx, 1
add eax, ecx
cmp eax, 0x7fe7
ja 0x42a58b
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x42a492
lea eax, [ebp - 0x434]
xor ecx, ecx
mov word [eax + ebx*2], cx
mov eax, esi
test esi, esi
jne 0x42a4a4
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x434]
call fcn.004121c1
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
jne 0x42a4c0
lea ecx, [ebp - 0x434]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42a4cd
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 0x42a50b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x658], eax
cmp edi, 0xb7
jne 0x42a500
mov edi, 0x234d
mov dword [ebp - 0x658], edi
xor eax, eax
push eax
push edi
call fcn.004128ff
pop ecx
pop ecx
push dword [ebp - 0x64c]
mov edx, dword [ebp - 0x65c]
mov ecx, fcn.00417010
push dword [ebp - 0x664]
mov edx, dword [edx + 0x18]
call fcn.00416e8a
test al, al
jne 0x42a2ee
mov ecx, dword [ebp - 0x64c]
call fcn.00411bba
call fcn.0041559f
xor ebx, ebx
test edi, edi
setne bl
xor edi, edi
mov dword [ebp - 0x440], edi
test esi, esi
je 0x42a55d
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x22c], edi
test eax, eax
je 0x42a575
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x42a587
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, ebx
jmp 0x42a5f3
mov ecx, dword [ebp - 0x64c]
call fcn.00411bba
call fcn.0041559f
mov ecx, 0x232e
jmp 0x42a60f
mov ecx, dword [ebp - 0x64c]
call fcn.00411bba
call fcn.0041559f
xor ebx, ebx
mov dword [ebp - 0x440], ebx
test esi, esi
je 0x42a5c6
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x22c], ebx
test eax, eax
je 0x42a5de
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x42a5f0
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417b90
leave
ret
mov ecx, 0x2374
jmp 0x42a60f
mov ecx, dword [0x439820]
call fcn.00429ec0
int3