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

Disassembly:
push 0xffffffffffffffff
push 0x4db331
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x30]
cmp eax, 6
je 0x467380
xor al, al
jmp 0x4676ee
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x1c], esi
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea edx, [esp + 0x24]
push 0x4e9038
lea ecx, [ebp + 0xf8]
push edx
mov dword [esp + 0x50], esi
call fcn.00422c60
add esp, 8
push ebp
lea edi, [esp + 0x24]
mov byte [esp + 0x4c], 1
call fcn.0044db80
mov bl, 2
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
mov edx, 0x82
sub edx, eax
add edx, edx
mov eax, edx
sub eax, ecx
mov ecx, dword [ebp + 0xf4]
mov ecx, dword [ecx - 0xc]
cmp ecx, eax
lea edi, [ebp + 0xf4]
mov dword [esp + 0x3c], edi
jl 0x467439
dec eax
push edi
xor ecx, ecx
lea edx, [esp + 0x54]
call fcn.0040b870
mov byte [esp + 0x48], 3
call fcn.004082a0
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467439
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, 0x4efc7c
call fcn.00439b90
lea ecx, [esp + 0x30]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x58], 4
call fcn.00439ad0
add esp, 0x10
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467490
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x467490
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4674e4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4674d7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4674d7
call fcn.00408230
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4674ce
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4674e4
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00405e30
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4674fe
push eax
push str.__d_
lea edi, [esp + 0x20]
call fcn.0045b800
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040e720
lea esi, [esp + 0x38]
mov eax, ebp
call fcn.00484920
mov ebx, 7
mov byte [esp + 0x48], bl
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
mov eax, ebp
je 0x46754d
lea esi, [esp + 0x34]
call fcn.00484920
mov esi, eax
mov byte [esp + 0x48], 8
or dword [esp + 0x14], 1
jmp 0x46755d
lea esi, [esp + 0x30]
call fcn.00432620
or dword [esp + 0x14], 2
mov esi, eax
mov eax, dword [esi]
push eax
call edi
test eax, eax
je 0x467588
mov edx, dword [esp + 0x18]
push edx
call edi
test eax, eax
jne 0x467588
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne byte [esp + 0x50]
jmp 0x46758d
mov byte [esp + 0x50], 0
test byte [esp + 0x14], 2
je 0x4675b9
mov eax, dword [esp + 0x30]
and dword [esp + 0x14], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4675b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], ebx
test byte [esp + 0x14], 1
je 0x4675e9
mov eax, dword [esp + 0x34]
and dword [esp + 0x14], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4675e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46760e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
inc esi
cmp esi, 0x14
mov dword [esp + 0x1c], esi
jge 0x467629
cmp byte [esp + 0x50], 0
je 0x467490
jmp 0x467630
cmp byte [esp + 0x50], 0
je 0x467653
lea edi, [ebp + 0x20]
lea eax, [esp + 0x18]
call fcn.004082a0
sub esi, 1
je 0x467653
mov edi, dword [esp + 0x3c]
push esi
push str.__d_
call fcn.0045b800
add esp, 8
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467678
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46769d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4676c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4676ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4