Function at 0x482090
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bbe56
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x1bc
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x4820cb
mov eax, dword [esp + 0x1e0]
test eax, eax
jne 0x4820cb
xor al, al
jmp 0x4828e3
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004403ab
add esp, 8
lea ecx, [esp + 0x70]
push 0x104
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x1dc], 0
call fcn.0041120a
mov esi, eax
mov edx, dword [esi]
mov ecx, dword [esi + 8]
push edx
mov byte [esp + 0x1d8], 1
mov byte [esi + 4], 1
call fcn.00412934
mov ebx, eax
mov byte [esp + 0x1d4], 0
mov dword [esi + 0xc], ebx
mov al, byte [esp + 0x74]
test al, al
mov dword [esp + 0x80], ebx
je 0x48214a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x78]
mov esi, eax
mov eax, dword [esp + 0x7c]
push eax
call fcn.004843b0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0xd4]
call fcn.004852c0
mov ecx, dword [esp + 0x1dc]
lea edx, [esp + 0xd4]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x1dc], 2
call fcn.00481640
lea eax, [esp + 0x94]
lea ecx, [esp + 0xd4]
push eax
call fcn.00485ae0
mov eax, dword [eax + 4]
mov byte [esp + 0x1d4], 3
test eax, eax
mov esi, 0x4bef90
je 0x48219f
mov esi, eax
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00484080
test esi, esi
mov byte [esp + 0x1d4], 4
jne 0x4821c4
lea ecx, [esp + 0x48]
call fcn.004225d5
jmp 0x4821db
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x50]
call fcn.00403141
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d8], 6
call fcn.00402d61
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4821fe
mov eax, 0x4bef90
mov edi, dword [esp + 0x1e8]
mov edx, dword [esp + 0x1e4]
push edi
push edx
push ebx
push eax
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.00483d20
push 8
lea ecx, [ebp + 8]
mov byte [esp + 0x1d8], 7
call fcn.00482b40
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x48225b
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x482245
mov ecx, 0x4bef90
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x482252
mov eax, 0x4bef90
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0xd4]
call fcn.00485b90
test al, al
je 0x482317
test esi, esi
je 0x48227c
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x482289
mov eax, 0x4bef90
push eax
call fcn.0048a730
mov esi, dword [esp + 0x24]
add esp, 4
test esi, esi
jne 0x48229f
mov esi, 0x4bef90
lea ecx, [esp + 0xd4]
call fcn.00485ba0
push eax
push esi
call fcn.0048a140
mov ecx, dword [esp + 0x20]
add esp, 8
test ecx, ecx
je 0x4822c2
mov edx, dword [ecx]
call dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d8], 6
call fcn.00402d61
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1d8], 2
call fcn.00402d61
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1d4], 0
call fcn.00485340
lea ecx, [esp + 0x38]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.004036b2
mov al, 1
jmp 0x4828e3
test esi, esi
je 0x48232a
mov ecx, dword [esp + 0xf0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [esp + 0x1dc]
mov ecx, ebp
push edx
call fcn.00481750
test al, al
jne 0x482392
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d8], 6
call fcn.00402d61
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1d8], 2
call fcn.00402d61
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1d4], 0
call fcn.00485340
lea ecx, [esp + 0x38]
mov dword [esp + 0x1d4], 0xffffffff
call fcn.004036b2
xor al, al
jmp 0x4828e3
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x48239f
mov esi, 0x4bef90
lea ecx, [esp + 0x17c]
call fcn.00482900
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1d4], 8
call fcn.00482900
lea ecx, [esp + 0x19c]
mov byte [esp + 0x1d4], 9
call fcn.00482900
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x1d4], 0xa
call fcn.00482900
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x1d4], 0xb
call fcn.00482900
push esi
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1d8], 0xc
mov dword [esp + method.CUSPath.virtual_0], vtable.CUSPath.0
call fcn.0048d750
lea eax, [esp + 0x84]
mov bl, 0xd
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1d8], bl
call fcn.00482940
mov eax, dword [eax + 4]
mov byte [esp + 0x1d4], 0xe
test eax, eax
jne 0x48244c
mov eax, 0x4bef90
push eax
call fcn.0048a730
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x1d4], bl
push 1
call fcn.00402d61
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x482477
mov esi, 0x4bef90
mov dword [esp + 0x58], vtable.IUSFile.0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1d4], 0xf
call fcn.00482900
push 1
push 0x26
push esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x1e0], 0x10
mov dword [esp + 0x64], vtable.CLocalFile.0
mov dword [esp + 0x68], 0xffffffff
call fcn.00485f50
mov ecx, dword [esp + 0x1ec]
push 0
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1dc], 0x11
call fcn.00486580
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x1d4], 0x12
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x30]
push eax
push edx
mov ecx, ebp
call fcn.004819a0
mov esi, eax
test esi, esi
je 0x48252c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
push esi
push eax
push ecx
call fcn.004a4f28
add esp, 0xc
cmp eax, esi
je 0x48251c
lea ecx, [esp + 0x58]
call fcn.00485db0
test ebx, ebx
je 0x48252c
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x10]
test al, al
je 0x482536
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x48255e
jmp 0x4824e9
cmp esi, dword [esp + 0x34]
jne 0x482556
mov eax, dword [esp + 0x30]
push 1
push eax
mov ecx, ebp
call fcn.004819a0
test eax, eax
mov dword [esp + 0x14], 0x69
jne 0x48255e
mov dword [esp + 0x14], 0x6a
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebp
call fcn.00481cf0
cmp eax, 1
sete bl
test bl, bl
mov byte [esp + 0x13], bl
jne 0x482601
cmp dword [esp + 0x14], 0x6a
jne 0x48258b
mov dword [esp + 0x14], 0x69
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x482598
mov eax, 0x4bef90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4825ac
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4827dd
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4825c5
mov eax, 0x4bef90
push eax
push ecx
lea ecx, [esp + 0xbc]
call fcn.0048ace0
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x94]
push eax
mov byte [esp + 0x1d8], 0x1c
call fcn.004814b0
lea ecx, [esp + 0x94]
push 0x4dfc48
push ecx
call fcn.0049e682
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x48260e
mov eax, 0x4bef90
mov edx, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x80]
push edi
push edx
push ecx
lea edx, [esp + 0x90]
push eax
push edx
mov ecx, ebp
call fcn.00483d20
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x1d4], 0x13
test eax, eax
jne 0x482644
mov eax, 0x4bef90
mov ecx, dword [esp + 0x1e4]
mov edx, dword [esp + 0x1e0]
push edi
push ecx
push edx
push eax
lea eax, [esp + 0x80]
mov ecx, ebp
push eax
call fcn.00483d20
mov esi, dword [esp + 0x74]
mov byte [esp + 0x1d4], 0x14
test esi, esi
jne 0x48267a
mov esi, 0x4bef90
lea ecx, [esp + 0x128]
call fcn.00482900
lea ecx, [esp + 0x138]
mov byte [esp + 0x1d4], 0x15
call fcn.00482900
lea ecx, [esp + 0x148]
mov byte [esp + 0x1d4], 0x16
call fcn.00482900
lea ecx, [esp + 0x158]
mov byte [esp + 0x1d4], 0x17
call fcn.00482900
lea ecx, [esp + 0x168]
mov byte [esp + 0x1d4], 0x18
call fcn.00482900
push esi
lea ecx, [esp + 0x128]
mov byte [esp + 0x1d8], 0x19
mov dword [esp + method.CUSPath.virtual_0], vtable.CUSPath.0
call fcn.0048d750
lea ecx, [esp + 0xb4]
mov bl, 0x1a
push ecx
lea ecx, [esp + 0x128]
mov byte [esp + 0x1d8], bl
call fcn.00482940
mov eax, dword [eax + 4]
mov byte [esp + 0x1d4], 0x1b
test eax, eax
jne 0x482727
mov eax, 0x4bef90
push eax
call fcn.0048a730
add esp, 4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1d4], bl
push 1
call fcn.00402d61
mov eax, dword [esp + 0x74]
mov ecx, 0x4bef90
test eax, eax
je 0x482754
mov ecx, eax
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x482764
mov eax, 0x4bef90
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 3
push ecx
push eax
call esi
test eax, eax
jne 0x482797
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x482781
mov ecx, 0x4bef90
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x482791
mov eax, 0x4bef90
push 6
push ecx
push eax
call esi
lea ecx, [esp + 0x124]
mov byte [esp + 0x1d4], 0x14
call fcn.0048d650
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d8], 0x13
call fcn.00402d61
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d8], 0x12
call fcn.00402d61
mov bl, byte [esp + 0x13]
jmp 0x48259f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d4], 0x11
call fcn.004865b0
mov dword [esp + 0x58], vtable.CLocalFile.0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1d4], 0x1e
call dword [0x4c36bc]
test al, al
jne 0x482830
mov edx, dword [esp + 0x5c]
push edx
call fcn.004a55b3
add esp, 4
test eax, eax
je 0x482828
lea ecx, [esp + 0x58]
call fcn.00485db0
jmp 0x482830
mov dword [esp + 0x5c], 0xffffffff
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1d8], 0x1d
call fcn.00402d61
lea ecx, [esp + 0x178]
mov dword [esp + 0x58], vtable.IUSFile.0
mov byte [esp + 0x1d4], 7
call fcn.0048d650
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d8], 6
call fcn.00402d61
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1d8], 2
call fcn.00402d61
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1d4], 0
call fcn.00485340
mov dword [esp + 0x38], vtable._zstring_class_ztraits_1__.0
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
mov dword [esp + 0x1d4], 0x1f
je 0x4828bd
push eax
call esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], 0
call fcn.00482920
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
neg eax
sbb eax, eax
and eax, ecx
mov edx, dword [eax]
push edx
call esi
mov al, bl
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c8
ret 0x14