Function at 0x433390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49bd60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4c2c40]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.00467f53
mov eax, dword [ebp + 8]
push eax
mov ebx, 0x4ac1e0
lea esi, [esp + 0x34]
mov dword [esp + 0x5c], 0
call fcn.00403760
add esp, 4
mov esi, 8
mov byte [esp + 0x58], 1
cmp dword [eax + 0x18], esi
jb 0x4333f6
mov eax, dword [eax + 4]
jmp 0x4333f9
add eax, 4
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00467fe1
test eax, eax
sete bl
mov byte [esp + 0x58], 0
cmp dword [esp + 0x48], esi
jb 0x433423
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0045a870
add esp, 4
test bl, bl
lea ecx, [esp + 0x18]
je 0x43344d
mov dword [esp + 0x58], 0xffffffff
call fcn.00467f79
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.00467c68
test eax, eax
je 0x433585
lea ebx, [ebx]
lea ecx, [esp + 0x18]
call fcn.00467f16
test eax, eax
jne 0x43356f
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x433538
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004681e0
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 0x4334b3
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x38]
call fcn.00401c20
mov edx, esi
push 1
push edx
mov byte [esp + 0x60], 3
call fcn.00433390
add esp, 8
test al, al
sete bl
cmp dword [esp + 0x48], 8
jb 0x4334f8
mov eax, dword [esp + 0x34]
push eax
call fcn.0045a870
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 0x43352e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x43360a
jmp 0x43356f
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004681e0
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 0x43356f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.00467c68
test eax, eax
jne 0x433460
mov esi, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
lea ecx, [esp + 0x18]
jne 0x43342b
call fcn.00467f16
test eax, eax
jne 0x433650
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x433630
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004681e0
mov byte [esp + 0x58], 4
mov edx, dword [eax]
lea eax, [esp + 0x30]
call fcn.004015e0
lea edx, [esp + 0x30]
push 1
push edx
mov byte [esp + 0x60], 5
call fcn.00433390
add esp, 8
test al, al
lea ecx, [esp + 0x30]
sete bl
call fcn.00401620
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0044e0a0
test bl, bl
je 0x433650
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00467f79
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.004681e0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call fcn.0044e0a0
lea ecx, [esp + 0x18]
call fcn.00467b98
cmp byte [ebp + 0xc], 0
je 0x433678
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], esi
jb 0x43366c
mov eax, dword [eax + 4]
jmp 0x43366f
add eax, 4
push eax
call fcn.0047a6aa
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00467f79
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