Function at 0x40ee30
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x436338
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445750]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0
call fcn.0041ac1c
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 1
call fcn.0040eb80
mov eax, dword [eax]
push 0x438a90
push eax
call fcn.00421642
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eeb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40eec8
push 1
push 0x438a90
lea ecx, [esp + 0x54]
call fcn.0040ec80
push 3
push 0x439b6c
lea ecx, [esp + 0x54]
call fcn.0040ec80
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041acb1
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x40efcc
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esp, [esp]
lea ecx, [esp + 0x24]
call fcn.0041a920
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0041abe1
test eax, eax
jne 0x40efc1
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x28]
call eax
test eax, eax
je 0x40ef86
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041ae5f
call fcn.0040ee30
add esp, 4
lea ecx, [esp + 0x24]
test eax, eax
je 0x40eff3
lea edx, [esp + 0x14]
push edx
call fcn.0041ae5f
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40efc1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.0041ae5f
mov eax, dword [eax]
push eax
call esi
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40efbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40f034
cmp dword [esp + 0x1c], 0
jne 0x40ef00
lea ecx, [esp + 0x24]
call fcn.0041a83a
mov ecx, dword [esp + 0x4c]
push 0x5c
push ecx
call fcn.0041f4f4
add esp, 8
test eax, eax
jne 0x40f079
mov eax, ebp
jmp 0x40f07d
mov byte [esp + 0x44], 0
call fcn.0041ac42
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x44], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40f01e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.0041ac42
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x44], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40f01e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
sub eax, dword [esp + 0x4c]
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x54]
call fcn.0040ec00
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 2
call fcn.0040ed30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
push ecx
call edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.0041ac42
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x44], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x40f0f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret