Function at 0x42ac80
Capabilities:
Delete directory
Move file

Disassembly:
push 0xffffffffffffffff
push 0x488dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x260]
mov edi, dword [esp + 0x264]
mov esi, dword [esp + 0x268]
lea edx, [esp + 0x44]
mov dword [esp + 0x24], ebp
mov eax, ebp
sub edx, ebp
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42ace0
test esi, esi
je 0x42ad11
mov eax, esi
lea edx, [eax + 2]
jmp 0x42ad00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42ad00
sub eax, edx
sar eax, 1
jne 0x42ad15
lea esi, [esp + 0x44]
push ebp
lea ecx, [esp + 0x18]
call fcn.00401bd0
push 4
push str..
lea ecx, [esp + 0x1c]
mov dword [esp + 0x260], 0
call fcn.004039f0
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x1c]
call fcn.00403660
lea ecx, [esp + 0x2c]
call fcn.00453c6b
mov eax, dword [esp + 0x14]
push 0
mov bl, 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x260], bl
call fcn.00453d03
test eax, eax
je 0x42ae80
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ecx]
lea ecx, [esp + 0x2c]
call fcn.004539e2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.00453c2c
test eax, eax
jne 0x42ae71
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x30]
call eax
test eax, eax
je 0x42adf1
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call fcn.00453f74
mov eax, dword [eax]
push esi
push edi
push eax
mov byte [esp + 0x264], 2
call fcn.0042ac80
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x258], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42ae65
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.00453f74
push edi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x260], 3
call fcn.00403660
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
call fcn.00453f74
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ae4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x258], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
jne 0x42ad80
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.004538fc
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 0
call fcn.00453c94
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x258], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aecc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0046dc02
add esp, 0x248
ret