Function at 0x4505b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x500438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x24], 0x51355c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x44], ebx
push eax
push 0x11
push ebx
call fcn.004e1688
mov ecx, dword [esi + 0x50]
add ecx, 0x38
push ecx
lea ecx, [esp + 0x1c]
call fcn.004dbc2e
mov edx, dword [esp + 0x18]
xor eax, eax
mov byte [esp + 0x44], 1
cmp dword [edx - 8], ebx
sete al
cmp eax, ebx
mov dword [esi + 0x1e8], eax
je 0x4506a3
mov eax, dword [0x574900]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 2
push ecx
push 0x53e964
call fcn.0048c5c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x50]
add esp, 8
push ebx
push ebx
push ebx
push edx
push ebx
call fcn.0041bde0
lea eax, [esp + 0xc]
push eax
push 0x53e964
call fcn.0048c5c0
mov ecx, dword [esp + 0x14]
add esp, 8
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x50]
push 1
call fcn.0041bde0
mov ecx, dword [esi + 0x50]
push 0xfeff
push ebx
call fcn.0041bef0
mov ecx, dword [esi + 0x50]
push 0xfeff
push 1
call fcn.0041bef0
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call fcn.004dbec1
cmp dword [esi + 0x1ec], ebx
jne 0x4506bd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x90]
test eax, eax
je 0x450883
mov ecx, dword [esi + 0x50]
add ecx, 8
call fcn.00451ea0
mov eax, dword [esi + 0x50]
mov edi, 1
add eax, 0x38
lea ecx, [esp + 0x20]
push eax
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1e4], edi
call fcn.004dbc2e
mov ecx, dword [esi + 0x50]
mov byte [esp + 0x44], 3
add ecx, 0x48
push ecx
lea ecx, [esp + 0x18]
call fcn.004dbc2e
mov edx, dword [esi + 0x50]
lea ecx, [esp + 0x1c]
add edx, 0x74
mov byte [esp + 0x44], 4
push edx
call fcn.004dbc2e
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x10]
add eax, 0x84
mov byte [esp + 0x44], 5
push eax
call fcn.004dbc2e
mov eax, dword [esi + 0x1e8]
mov byte [esp + 0x44], 6
cmp eax, ebx
je 0x450755
push 0x539d6c
lea ecx, [esp + 0x18]
call fcn.004dc058
push 0x539d6c
lea ecx, [esp + 0x14]
call fcn.004dc058
mov ecx, dword [esi + 0x50]
push edi
push ebx
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
call dword [edx + 0x9c]
test eax, eax
je 0x45076e
mov dword [esp + 0xc], edi
mov ecx, dword [esi + 0x50]
push edi
push edi
mov eax, dword [ecx]
call dword [eax + 0x9c]
test eax, eax
je 0x450789
mov eax, dword [esp + 0xc]
or al, 2
mov dword [esp + 0xc], eax
call fcn.0040b6b0
mov edx, dword [eax + 0x1fc]
xor ecx, ecx
cmp edx, 0xffffffff
sete cl
mov edi, ecx
cmp edi, ebx
je 0x4507b9
mov ecx, dword [esi + 0x50]
push ebp
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebp, eax
call fcn.0040b6b0
mov dword [eax + 0x1fc], ebp
pop ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0044d790
cmp edi, ebx
je 0x4507ec
call fcn.0040b6b0
mov dword [eax + 0x1fc], 0xffffffff
cmp dword [esi + 0x1e8], ebx
je 0x450827
mov edx, dword [esi + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edx + 0x38]
push eax
call edi
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x74]
push eax
call edi
mov ecx, dword [esi + 0x50]
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041bde0
mov ecx, dword [esi + 0x50]
push ebx
push ebx
push ebx
push ebx
push 1
call fcn.0041bde0
lea ecx, [esp + 0x24]
mov dword [esi + 0x1e4], ebx
push ecx
push 0x12
push ebx
mov ecx, esi
call fcn.004e1688
mov ecx, dword [esi + 0x50]
push esi
mov edx, dword [ecx]
call dword [edx + 0x50]
lea ecx, [esp + 0x10]
mov dword [esi + 0x1e8], ebx
mov byte [esp + 0x44], 5
call fcn.004dbec1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.004dbec1
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call fcn.004dbec1
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.004dbec1
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], bl
call fcn.004dbec1
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret