Function at 0x468750
Capabilities:
Delete file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x49ed70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0c90]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea ecx, [esp + 0x38]
call fcn.0047e295
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0
call fcn.0047e295
mov byte [esp + 0x58], 1
call fcn.0047483b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4687b0
push 0x80004005
call fcn.00415b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x58], 2
call fcn.0047483b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4687df
push 0x80004005
call fcn.00415b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x58], 3
mov ecx, dword [0x4ba3a4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str..
lea edx, [esp + 0x20]
push 0x4ba3a4
push edx
call fcn.00421440
add esp, 0xc
mov byte [esp + 0x58], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.0047e321
mov esi, eax
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x46890d
lea ebx, [ebx]
lea ecx, [esp + 0x38]
call fcn.0047dfae
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
mov ebx, eax
call fcn.0047e550
mov byte [esp + 0x58], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x4688d1
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4688c3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4688c3
push eax
call fcn.00421610
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4688ba
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x4688d1
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004160a0
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4688f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebx, ebx
jne 0x468860
mov edi, dword [esp + 0x14]
mov ecx, dword [0x4ba3a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str..
lea edx, [esp + 0x20]
push 0x4ba3a8
push edx
call fcn.00421440
add esp, 0xc
mov byte [esp + 0x58], 6
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.0047e321
mov esi, eax
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46896b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x468a20
lea ecx, [esp + 0x20]
call fcn.0047dfae
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.0047e550
mov byte [esp + 0x58], 7
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4689e4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4689d6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4689d6
push eax
call fcn.00421610
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4689cd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x4689e4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004160a0
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468a09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebx, ebx
jne 0x468973
mov ebp, dword [esp + 0x18]
mov ecx, dword [0x4ba3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [edi - 0x10]
mov byte [esp + 0x58], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x468a4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468a6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0
call fcn.0047e2b9
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 0xffffffff
call fcn.0047e2b9
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret