Function at 0x4112c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44f3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebx, ebx
mov edi, str.96531d0333946ab8e64e018824bb5ade8d011a4e99dbdb1197a0fde8a6eb33b1
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], ebx
call fcn.00423620
lea edi, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.004050a0
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], ebx
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x3c], 2
mov edi, dword [ecx + 0x46e8ac]
lea esi, [esp + 0x28]
call fcn.00423620
mov byte [esp + 0x3c], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4113cf
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4113be
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4113be
call fcn.00401850
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4113b5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4113cf
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004053c0
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x3c], 4
mov edx, dword [ebp]
mov edx, dword [edx]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x3c], 5
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ecx
lea edi, [esp + 0x2c]
call fcn.004018c0
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41145d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4114dd
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4114dd
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4114dd
cmp esi, 0xffffffff
je 0x4114dd
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, 0x45b7b0
call fcn.00404a50
push esi
push 1
push 0
push edi
lea ecx, [esp + 0x38]
xor edx, edx
call fcn.0041d8e0
add esp, 0x14
push esi
test eax, eax
je 0x411573
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], 0
ja 0x411589
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4114fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41151f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xc
jb 0x411349
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41155b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4114dd
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115cb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41155d