Function at 0x41d900
Capabilities:
Delete directory
Move file

Disassembly:
push 0xffffffffffffffff
push 0x46f5ac
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
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 0x41d960
test esi, esi
je 0x41d991
mov eax, esi
lea edx, [eax + 2]
jmp 0x41d980
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d980
sub eax, edx
sar eax, 1
jne 0x41d995
lea esi, [esp + 0x44]
push ebp
lea ecx, [esp + 0x18]
call fcn.00401e60
push 4
push str..
lea ecx, [esp + 0x1c]
mov dword [esp + 0x260], 0
call fcn.00402cf0
push 0x474c3c
push 0x474c34
lea ecx, [esp + 0x1c]
call fcn.00402920
lea ecx, [esp + 0x2c]
call fcn.0043d765
mov eax, dword [esp + 0x14]
push 0
mov bl, 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x260], bl
call fcn.0043d7fd
test eax, eax
je 0x41db00
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ecx]
lea ecx, [esp + 0x2c]
call fcn.0043d447
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.0043d726
test eax, eax
jne 0x41daf1
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x30]
call eax
test eax, eax
je 0x41da71
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call fcn.0043da6e
mov eax, dword [eax]
push esi
push edi
push eax
mov byte [esp + 0x264], 2
call fcn.0041d900
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 0x41dae5
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.0043da6e
push edi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x260], 3
call fcn.00402920
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
call fcn.0043da6e
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 0x41daca
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 0x41daf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
jne 0x41da00
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0043d361
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 0
call fcn.0043d78e
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 0x41db4c
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.00455930
add esp, 0x248
ret