Function at 0x40b1b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424543
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x42f8d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x24
call fcn.00414af3
add esp, 4
mov dword [ebp - 0x28], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x40b1fc
mov ecx, eax
call fcn.00411f20
mov esi, eax
jmp 0x40b1fe
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x1021
push ecx
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 4
push str._PRS
mov ecx, esi
mov dword [ebp - 0x20], edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 3
push 0x4269bc
mov ecx, esi
call edx
mov edi, dword [ebp + 0xc]
mov edx, dword [esi]
lea eax, [edi + 4]
push 4
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x40b260
cmp eax, dword [edi + 4]
mov edx, dword [esi]
push 4
jge 0x40b309
mov ecx, dword [edi + 0x10]
mov edi, dword [ecx + eax*4]
mov eax, dword [edx + 0x18]
push edi
mov ecx, esi
call eax
lea ebx, [edi + 4]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b283
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
push 4
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b2b2
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push 8
lea eax, [edi + 0x108]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 8
lea ecx, [edi + 0x110]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 4
lea ecx, [edi + 0x118]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 4
add edi, 0x11c
push edi
mov ecx, esi
call edx
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
jmp 0x40b260
lea eax, [edi + 0x18]
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea esp, [esp]
cmp eax, dword [edi + 0x18]
mov edx, dword [esi]
push 4
jge 0x40b42e
mov ecx, dword [edi + 0x24]
mov edi, dword [ecx + eax*4]
mov eax, dword [edx + 0x18]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push 4
lea eax, [edi + 4]
push eax
mov ecx, esi
call edx
lea ebx, [edi + 8]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b352
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b381
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push 4
lea eax, [edi + 0x108]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 4
lea ecx, [edi + 0x10c]
push ecx
mov ecx, esi
call edx
lea ebx, [edi + 0x110]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b3b0
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b3df
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
push ebx
mov ecx, esi
call eax
add edi, 0x160
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b3f0
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
push 4
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b41f
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
push edi
mov ecx, esi
call eax
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
jmp 0x40b320
mov eax, dword [edx + 0x18]
add edi, 0x28
push edi
mov ecx, esi
call eax
mov ecx, esi
call fcn.00411ff0
mov dword [ebp - 4], 0xffffffff
jmp 0x40b4af
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
mov ecx, esi
call eax
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40b4d1
cmp dword [ebp - 0x20], 0
je 0x40b4d1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret