Function at 0x43e1d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5540
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.0047478e
mov eax, dword [ebp + 8]
push eax
mov ebx, 0x4b6b64
lea esi, [esp + 0x34]
mov dword [esp + 0x5c], 0
call fcn.00407ff0
add esp, 4
mov esi, 8
mov byte [esp + 0x58], 1
cmp dword [eax + 0x18], esi
jb 0x43e236
mov eax, dword [eax + 4]
jmp 0x43e239
add eax, 4
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.0047481c
test eax, eax
sete bl
mov byte [esp + 0x58], 0
cmp dword [esp + 0x48], esi
jb 0x43e263
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004692b1
add esp, 4
test bl, bl
lea ecx, [esp + 0x18]
je 0x43e28d
mov dword [esp + 0x58], 0xffffffff
call fcn.004747b4
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004744a3
test eax, eax
je 0x43e3c5
lea ebx, [ebx]
lea ecx, [esp + 0x18]
call fcn.00474751
test eax, eax
jne 0x43e3af
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x43e378
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00474a1b
mov byte [esp + 0x58], 2
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x43e2f3
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x38]
call fcn.00406d50
mov edx, esi
push 1
push edx
mov byte [esp + 0x60], 3
call fcn.0043e1d0
add esp, 8
test al, al
sete bl
cmp dword [esp + 0x48], 8
jb 0x43e338
mov eax, dword [esp + 0x34]
push eax
call fcn.004692b1
add esp, 4
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e36e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x43e44a
jmp 0x43e3af
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00474a1b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e3af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.004744a3
test eax, eax
jne 0x43e2a0
mov esi, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
lea ecx, [esp + 0x18]
jne 0x43e26b
call fcn.00474751
test eax, eax
jne 0x43e490
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x43e470
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00474a1b
mov byte [esp + 0x58], 4
mov edx, dword [eax]
lea eax, [esp + 0x30]
call fcn.00405e60
lea edx, [esp + 0x30]
push 1
push edx
mov byte [esp + 0x60], 5
call fcn.0043e1d0
add esp, 8
test al, al
lea ecx, [esp + 0x30]
sete bl
call fcn.00401a00
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0040f5e0
test bl, bl
je 0x43e490
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.004747b4
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00474a1b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call fcn.0040f5e0
lea ecx, [esp + 0x18]
call fcn.004743d3
cmp byte [ebp + 0xc], 0
je 0x43e4b8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], esi
jb 0x43e4ac
mov eax, dword [eax + 4]
jmp 0x43e4af
add eax, 4
push eax
call fcn.00487861
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.004747b4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret