Function at 0x463bd0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x478], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], eax
lea eax, [esp + 0xe0]
push edi
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xd8]
push 0x104
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x4c], ebx
push esi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0x80
call fcn.004095cf
mov ecx, dword [esp + 0x40]
add esp, 0x10
test ecx, ecx
je 0x463c78
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
mov eax, dword [esp + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0xe4]
cmp eax, ecx
je 0x464499
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x464496
mov dword [esp + 0x40], 0
call fcn.0040ab32
mov edi, eax
mov dword [esp + 0x48], edi
nop dword [eax + eax]
push 1
push esi
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.004646f0
mov ebx, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [ebx + 4]
cmp ebx, dword [edi + 4]
mov edi, dword [esp + 0x30]
jne 0x463cba
cmp edi, 0x78
jne 0x463cba
mov al, 1
jmp 0x463cbc
xor al, al
test al, al
jne 0x46439d
test edi, edi
je 0x464392
call fcn.00415dfc
mov dword [esp + 0x38], eax
cmp ebx, dword [eax + 4]
jne 0x464392
cmp edi, 0xd
jne 0x464392
push 0
push 0x4000080
push 3
push 0
push 7
push 0x80010000
push dword [esp + 0xf0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x64], edi
cmp edi, 0xffffffff
jne 0x463d59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00409de0
mov ecx, dword [esp + 0x98]
add esp, 8
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
mov eax, dword [esp + 0x8c]
jne 0x463d4b
cmp eax, 2
je 0x464161
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x463c56
lea eax, [esp + 0x1e8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x464372
xor eax, eax
mov dword [esp + 0x3c], eax
nop word [eax + eax]
mov edx, eax
lea ecx, [esp + 0x481]
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x18], edx
or eax, ecx
jne 0x463dcc
lea ecx, [esp + 0x480]
mov byte [esp + 0x480], 0x30
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0xf
jmp 0x463eb2
mov edi, dword [esp + 0x28]
mov eax, edx
mov ebx, 0xcccccccd
mul ebx
dec edi
mov esi, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov edx, 0xcccccccc
mul edx
mov ebx, eax
mov dword [esp + 0x60], edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
mov dword [esp + 0x28], edx
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
adc edx, 0
add ebx, ecx
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x60]
adc ecx, 0
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x80]
xor eax, eax
add edx, ecx
adc eax, eax
add ebx, edx
mov edx, dword [esp + 0x18]
adc esi, eax
shrd ebx, esi, 3
mov al, bl
shr esi, 3
shl al, 2
mov dword [esp + 0x14], esi
lea ecx, [eax + ebx]
add cl, cl
sub dl, cl
mov ecx, esi
add dl, 0x30
mov byte [edi], dl
mov edx, ebx
mov eax, edx
mov dword [esp + 0x18], edx
or eax, esi
jne 0x463dd0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x481]
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x64]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xf
cmp ecx, eax
je 0x463ec9
lea eax, [esp + 0x481]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.00408698
mov cl, byte [esi + 8]
lea eax, [esp + 0xc0]
mov word [esp + 0x7c], 0x104
mov dword [esp + 0x74], eax
mov word [esp + 0x70], 0x103
mov dword [esp + 0x68], str..tmp
test cl, cl
je 0x463f86
cmp cl, 1
jne 0x463f1a
mov eax, dword [esp + 0x70]
mov dl, al
movq xmm0, qword [esp + 0x68]
mov dword [esp + 0x24], eax
mov bl, byte [esp + 0x25]
movq qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
jmp 0x463f3e
cmp byte [esi + 9], 1
mov eax, esi
mov dl, 2
jne 0x463f28
mov eax, dword [esi]
mov dl, cl
mov bl, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], str..tmp
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], bl
test dl, dl
je 0x463f8d
cmp dl, 1
jne 0x463f5d
movq xmm0, qword [esp + 0x74]
mov eax, dword [esp + 0x7c]
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
jmp 0x463f94
lea ecx, [esp + 0x1c]
mov dh, 2
cmp bl, 1
jne 0x463f6c
mov ecx, eax
mov dh, dl
lea eax, [esp + 0xc0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], dh
mov byte [esp + 0x5d], 4
jmp 0x463f94
mov word [esp + 0x24], 0x100
mov word [esp + 0x5c], 0x100
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x58]
call fcn.0040a321
mov edx, dword [esp + 0xd4]
cmp edx, 0x10
jb 0x463fe1
mov ecx, dword [esp + 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x463fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46427a
push edx
push ecx
call fcn.004036ca
add esp, 8
lea eax, [esp + 0xa8]
mov word [esp + 0xa4], 0x104
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
push 0
push eax
lea eax, [esp + 0x9c]
push edi
push eax
call fcn.004646f0
mov ecx, dword [esp + 0xa4]
add esp, 0x10
test ecx, ecx
je 0x4641ee
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x38]
mov eax, dword [edx + 4]
cmp eax, dword [ebx + 4]
jne 0x464321
cmp ecx, 0x11
je 0x464048
cmp ecx, 0xd
jne 0x464321
push 0
push 0x80
push 3
push 0
push 7
push 0
push dword [esp + 0xf0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x464182
lea eax, [esp + 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x46422f
mov eax, dword [esp + 0x214]
cmp eax, dword [esp + 0x248]
jne 0x464113
mov eax, dword [esp + 0x218]
cmp eax, dword [esp + 0x24c]
jne 0x464113
mov eax, dword [esp + 0x204]
cmp eax, dword [esp + 0x238]
jne 0x464113
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xbc]
cmp edx, 0x10
jb 0x4640f9
mov eax, dword [esp + 0xa8]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x4640ef
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x46427a
push edx
push eax
call fcn.004036ca
add esp, 8
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, 0xc8
jne 0x463d80
jmp 0x46415a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xbc]
cmp edx, 0x10
jb 0x464156
mov ecx, dword [esp + 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46414c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46427a
push edx
push ecx
call fcn.004036ca
add esp, 8
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, 0xc8
je 0x46435e
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x463c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00409de0
mov ecx, dword [esp + 0x58]
add esp, 8
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 4]
mov eax, dword [esp + 0x4c]
jne 0x4642b0
cmp eax, 2
jne 0x4642b0
mov edx, dword [esp + 0xbc]
cmp edx, 0x10
jb 0x464156
mov ecx, dword [esp + 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46414c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4642e7
jmp 0x46414c
mov edx, dword [esp + 0xbc]
cmp edx, 0x10
jb 0x46415a
mov ecx, dword [esp + 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464220
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46427a
push edx
push ecx
call fcn.004036ca
add esp, 8
jmp 0x46415a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
push eax
push edx
call fcn.00409de0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push esi
call ebx
mov edx, dword [esp + 0xbc]
cmp edx, 0x10
jb 0x46428a
mov ecx, dword [esp + 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x464280
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
push edi
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0xf
mov byte [esp + 0xac], 0
call ebx
jmp 0x463c56
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edx, dword [esp + 0xbc]
cmp edx, 0x10
jb 0x4642f7
mov ecx, dword [esp + 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4642ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4642ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
push edi
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0xf
mov byte [esp + 0xac], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x463c56
mov eax, dword [esp + 0xc]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xbc]
mov dword [eax], ecx
cmp edx, 0x10
jb 0x4642f7
mov ecx, dword [esp + 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4642ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4642ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00415dfc
mov edx, dword [esp + 0xc]
mov dword [edx], 0xd
jmp 0x463c53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
push eax
push edx
call fcn.00409de0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x463c56
mov edx, dword [esp + 0xc]
mov dword [edx], edi
jmp 0x463c4f
lea eax, [esp + 0x25c]
mov dword [esp + 0x254], 0
mov dword [esp + 0x250], eax
lea eax, [esp + 0x250]
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x54]
mov dword [esp + 0x260], 0x104
push eax
call fcn.00462d10
mov ecx, dword [esp + 0x58]
add esp, 0xc
test ecx, ecx
je 0x464422
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x50]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0x25c]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, ecx
je 0x46440d
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0xe4]
cmp eax, ecx
je 0x464499
push eax
jmp 0x464494
push 1
push dword [esp + 0xdc]
push dword [esp + 0x258]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x46444f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [eax], 0
mov dword [eax + 4], ecx
jmp 0x4643ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
push eax
push edx
call fcn.00409de0
mov eax, dword [esp + 0x258]
lea ecx, [esp + 0x264]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
cmp eax, ecx
je 0x464481
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0xd8]
lea eax, [esp + 0xe4]
cmp ecx, eax
je 0x464499
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x484]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
mov esp, ebp
pop ebp
ret