Function at 0x424850
Capabilities:
Delete directory
Move file

Disassembly:
push 0xffffffffffffffff
push 0x489a3c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
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 0x4248b0
test esi, esi
je 0x4248e1
mov eax, esi
lea edx, [eax + 2]
jmp 0x4248d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4248d0
sub eax, edx
sar eax, 1
jne 0x4248e5
lea esi, [esp + 0x44]
push ebp
lea ecx, [esp + 0x18]
call fcn.00402410
push 4
push 0x492d38
lea ecx, [esp + 0x1c]
mov dword [esp + 0x260], 0
call fcn.00403160
push 0x48fda0
push 0x48fd98
lea ecx, [esp + 0x1c]
call fcn.00402d90
lea ecx, [esp + 0x2c]
call fcn.0044e923
mov eax, dword [esp + 0x14]
push 0
mov bl, 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x260], bl
call fcn.0044e99e
test eax, eax
je 0x424a50
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ecx]
lea ecx, [esp + 0x2c]
call fcn.0044e69a
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.0044e8e4
test eax, eax
jne 0x424a41
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x30]
call eax
test eax, eax
je 0x4249c1
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call fcn.0044eb9d
mov eax, dword [eax]
push esi
push edi
push eax
mov byte [esp + 0x264], 2
call fcn.00424850
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 0x424a35
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.0044eb9d
push edi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x260], 3
call fcn.00402d90
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
call fcn.0044eb9d
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 0x424a1a
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 0x424a41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
jne 0x424950
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0044e5b4
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 0
call fcn.0044e94c
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 0x424a9c
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.00467b90
add esp, 0x248
ret