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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0xa45214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x648], ecx
push esi
push 0xa455e0
mov dword [ebp - 0x630], esi
call sub.msvcrt.dll__setjmp3
pop ecx
pop ecx
test eax, eax
jne 0xa3e82c
mov ecx, dword [ebp - 0x648]
xor edx, edx
push esi
mov ecx, dword [ecx + 0x3c]
call fcn.00a21e6a
mov edi, eax
mov ecx, edi
call fcn.00a25480
mov ebx, eax
mov dword [ebp - 0x638], ebx
cmp word [edi], si
je 0xa364f8
cmp word [ebx], si
je 0xa364f8
mov ecx, ebx
call fcn.00a25480
cmp word [eax], si
jne 0xa364f8
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0xa35833
sub esi, ecx
mov ecx, edi
sar esi, 1
call fcn.00a221d7
push eax
lea edx, [esi + 1]
mov ecx, edi
call fcn.00a21417
mov esi, ebx
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0xa3585b
sub esi, ecx
mov ecx, ebx
sar esi, 1
call fcn.00a221d7
push eax
lea edx, [esi + 1]
mov ecx, ebx
call fcn.00a21417
mov ecx, edi
call fcn.00a2d341
mov ebx, eax
mov dword [ebp - 0x62c], ebx
cmp ebx, 1
je 0xa3e834
mov esi, 0xa45a20
lea ecx, [ebp - 0x218]
push esi
mov edx, 0x104
call fcn.00a21417
push esi
mov edx, 0x104
lea ecx, [ebp - 0x420]
call fcn.00a21417
lea esi, [ebp - 0x218]
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0xa358c6
mov eax, dword [ebx + 0x18]
sub esi, ecx
sar esi, 1
test byte [eax], 0x10
jne 0xa3e853
push dword [ebx + 0x10]
mov edx, 0x104
lea ecx, [ebp - 0x218]
call fcn.00a22c30
test byte [ebx + 0x1c], 8
je 0xa3e879
mov eax, dword [ebp - 0x638]
push 0x3a
pop ebx
cmp word [eax + 2], bx
je 0xa364f8
push 0x5c
pop edx
mov ecx, eax
call fcn.00a22200
test eax, eax
jne 0xa364f8
mov ax, word [0xa45a20]
push 0x2a
mov word [ebp - 0x628], ax
pop eax
mov word [ebp - 0xc], ax
push 0x3f
mov word [ebp - 0x626], bx
mov ebx, edi
pop eax
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
xor edx, edx
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0xa35952
sub ebx, ecx
lea edx, [ebp - 0xc]
mov ecx, edi
sar ebx, 1
call fcn.00a22e0e
cmp eax, ebx
lea ecx, [ebp - 0x640]
mov ebx, dword [ebp - 0x62c]
push 0x20
pop eax
push ecx
push dword [ebx + 0x18]
sbb edi, edi
mov dword [ebp - 0x644], eax
mov edx, eax
lea ecx, [ebp - 0x218]
neg edi
call fcn.00a28db9
test al, al
je 0xa3e8a6
lea eax, [esi + esi]
cmp eax, 0x208
jae 0xa3650d
mov edi, dword [ebp - 0x640]
lea edx, [ebp - 0x218]
add edx, eax
xor eax, eax
mov dword [ebp - 0x62c], edx
mov dword [ebp - 0x63c], eax
mov word [edx], ax
cmp dword [0xa45164], 0
jne 0xa3e820
mov eax, dword [ebx + 0x18]
test byte [eax], 0x10
jne 0xa3e8ff
xor eax, eax
lea ecx, [ebp - 0x218]
mov word [edx], ax
mov edx, 0x104
mov eax, dword [ebx + 0x18]
add eax, 0x2c
push eax
call fcn.00a22c30
push dword [ebp - 0x62c]
lea ecx, [ebp - 0x628]
push dword [ebp - 0x638]
call 0xa31f99
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x630]
jne 0xa35a21
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov ecx, 0x104
add eax, esi
cmp eax, ecx
ja 0xa3e83c
xor eax, eax
mov edx, ecx
mov word [ebp + esi*2 - 0x420], ax
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x628]
push eax
call fcn.00a22c30
push 2
xor eax, eax
push eax
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_core_file_l2_1_1.dll_MoveFileWithProgressW]
test eax, eax
je 0xa3e9e3
mov edx, dword [ebx + 0x18]
mov ecx, 0xa22bc6
push edi
push dword [ebp - 0x644]
call fcn.00a2d2fb
test al, al
jne 0xa36502
mov ecx, edi
call fcn.00a22be7
call fcn.00a2d48f
mov ecx, dword [ebp - 0x63c]
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a213b9
mov esp, ebp
pop ebp
ret
mov ecx, 0x232a
jmp 0xa3e84d
mov edx, dword [ebp - 0x62c]
jmp 0xa359cc
call fcn.00a388f6
int3
mov ecx, edi
call fcn.00a22be7
call fcn.00a2d48f
xor eax, eax
inc eax
jmp 0xa35abb
mov ecx, dword [0xa450e4]
jmp 0xa3e84d
mov ecx, edi
call fcn.00a22be7
call fcn.00a2d48f
mov ecx, 0x232e
call 0xa31b75
int3
dec esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0xa3650d
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
mov word [ebp + eax - 0x420], cx
jmp 0xa358f4
lea ecx, [ebp - 0x218]
call fcn.00a221d7
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
mov ecx, dword [ebx + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax], 0xffffffff
jne 0xa358fe
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ecx, eax
jmp 0xa3e84d
push 0x10
pop eax
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x644], eax
push ecx
push dword [ebx + 0x18]
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.00a28db9
test al, al
jne 0xa3e8e7
mov ecx, dword [0xa450e4]
cmp ecx, 0x12
jne 0xa3e84d
push 2
pop ecx
mov dword [0xa450e4], ecx
jmp 0xa3e84d
test edi, edi
je 0xa3599f
mov ecx, dword [ebp - 0x640]
call fcn.00a22be7
jmp 0xa364f8
push 0x5c
pop edx
lea ecx, [ebp - 0x420]
call fcn.00a22aea
test eax, eax
je 0xa3e83c
mov edx, dword [ebp - 0x638]
add eax, 2
xor ecx, ecx
mov dword [ebp - 0x650], eax
mov word [eax], cx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x634], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x630]
jne 0xa3e934
sub ecx, dword [ebp - 0x634]
sar ecx, 1
mov dword [ebp - 0x64c], ecx
lea ecx, [ebp - 0x420]
lea eax, [ecx + 2]
mov dword [ebp - 0x634], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x630]
jne 0xa3e960
sub ecx, dword [ebp - 0x634]
mov eax, dword [ebp - 0x64c]
sar ecx, 1
inc eax
add eax, ecx
cmp eax, 0x104
ja 0xa3e83c
mov ecx, dword [ebp - 0x650]
mov eax, ecx
push edx
lea edx, [ebp - 0x420]
sub eax, edx
mov edx, 0x104
sar eax, 1
sub edx, eax
call fcn.00a21417
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x630]
jne 0xa3e9b3
sub ecx, edx
sar ecx, 1
add ecx, ecx
cmp ecx, 0x208
jae 0xa3650d
xor eax, eax
mov word [ebp + ecx - 0x420], ax
jmp 0xa35a64
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [ebp - 0x63c], eax
cmp eax, 0xb7
jne 0xa3ea01
mov eax, 0x234d
mov dword [ebp - 0x63c], eax
xor ecx, ecx
push ecx
push eax
call fcn.00a2e452
pop ecx
pop ecx
jmp 0xa35a86