Function at 0x4018a5
Capabilities:
Delete file

Disassembly:
push 0x2f4
mov eax, 0x41c3d5
call fcn.0040e613
lea edi, [ebp - 0x2c0]
call fcn.004029c7
and dword [ebp - 4], 0
lea eax, [ebp - 0x2a0]
call fcn.00404f40
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ebx, [ebp - 0x218]
lea esi, [ebp - 0x260]
call fcn.004050b0
mov byte [ebp - 4], 2
mov edi, 0x420130
jmp 0x401921
mov ecx, edi
call fcn.00405bd0
push eax
mov eax, dword [ebp - 0x260]
lea esi, [ebp - 0x260]
call fcn.00405bf0
push eax
call fcn.004052c0
mov ecx, edi
lea esi, [ebp - 0x260]
call fcn.00405bd0
test eax, eax
jns 0x401902
mov edi, 0x420134
mov ecx, edi
call fcn.00405bd0
test eax, eax
js 0x401aa6
mov ecx, edi
call fcn.00405bd0
mov ecx, 0x420138
mov edi, eax
call fcn.00405bd0
dec eax
push edi
call fcn.00405bf0
push eax
call fcn.004052c0
mov edi, 0x420144
mov ecx, edi
call fcn.00405bd0
test eax, eax
jle 0x40198b
mov ecx, edi
call fcn.00405bd0
dec eax
push 0
call fcn.00405bf0
push eax
call fcn.004052c0
lea esi, [ebp - 0x260]
call fcn.00405aa0
xor ebx, ebx
push eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.00403f09
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.004017d4
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.00403fa2
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
cmp eax, 1
jbe 0x401a6a
cmp dword [ecx + 0x14], 0x10
jb 0x401a04
mov ecx, dword [ecx]
push ecx
lea esi, [ebp - 0x260]
call fcn.004052c0
push 0x420148
mov eax, esi
push eax
call fcn.00405860
mov eax, dword [ebp - 0x270]
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x401a2e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00405860
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
cmp eax, 2
jbe 0x401a6a
lea eax, [ecx + 0x38]
cmp dword [eax + 0x14], 0x10
jb 0x401a5f
mov eax, dword [eax]
push eax
mov esi, 0x84d1fc
call fcn.004052c0
push 0x42014c
mov edi, 0x84d1dc
push edi
call fcn.00405860
sub esp, 0x20
lea ebx, [ebp - 0x260]
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.00405150
mov ebx, edi
call fcn.00405680
lea esi, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.0040410e
call fcn.00402801
call fcn.00402017
lea eax, [ebp - 0x2c0]
push eax
lea esi, [ebp - 0x2a0]
call fcn.00405500
push 0x420150
mov eax, esi
push eax
call fcn.00405860
lea edi, [ebp - 0x238]
call fcn.004029c7
sub esp, 0x20
mov byte [ebp - 4], 6
mov ebx, 0x84d21c
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.00405150
mov ebx, edi
call fcn.00405680
lea esi, [ebp - 0x2e0]
call fcn.00405150
push 0x420158
mov eax, esi
push eax
mov byte [ebp - 4], 7
call fcn.00405860
lea edi, [ebp - 0x300]
call fcn.004029c7
push 0
mov esi, ebx
mov byte [ebp - 4], 8
call fcn.00405aa0
push eax
call fcn.0040cb26
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x401ba5
lea esi, [ebp - 0x280]
call fcn.00405150
push 0x42015c
mov eax, esi
push eax
mov byte [ebp - 4], 9
call fcn.00405860
push 0
call fcn.00405aa0
push eax
call fcn.0040cb26
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x401b77
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x280]
call fcn.00405aa0
push eax
lea esi, [ebp - 0x238]
call fcn.00405aa0
push eax
call fcn.0040cb3e
pop ecx
pop ecx
lea esi, [ebp - 0x280]
mov byte [ebp - 4], 8
call fcn.00405270
sub esp, 0x20
mov edi, 0x420160
mov ebx, edi
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.004051e0
push 0x87
sub esp, 0x20
mov byte [ebp - 4], 0xa
lea ebx, [ebp - 0x2a0]
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.00405150
mov byte [ebp - 4], 8
call fcn.00401809
add esp, 0x24
lea ebx, [ebp - 0x2c0]
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.00405150
sub esp, 0x20
mov byte [ebp - 4], 0xb
lea ebx, [ebp - 0x2a0]
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.00405150
mov byte [ebp - 4], 8
call fcn.00402a41
add esp, 0x20
mov ebx, 0x84d1dc
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.00405150
lea ebx, [ebp - 0x2c0]
call fcn.00405680
mov eax, ebx
push eax
lea esi, [ebp - 0x2a0]
call fcn.00405500
push str.game.7z
mov eax, esi
push eax
call fcn.00405860
sub esp, 0x20
mov ebx, edi
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.004051e0
push 0x88
sub esp, 0x20
mov byte [ebp - 4], 0xc
lea ebx, [ebp - 0x2a0]
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.00405150
mov byte [ebp - 4], 8
call fcn.00401809
add esp, 0x24
lea ebx, [ebp - 0x2c0]
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.00405150
sub esp, 0x20
mov byte [ebp - 4], 0xd
lea ebx, [ebp - 0x2a0]
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.00405150
mov byte [ebp - 4], 8
call fcn.00402a41
add esp, 0x40
cmp dword [0x426950], 0
jne 0x401d4d
lea edi, [ebp - 0x280]
call fcn.004029c7
sub esp, 0x20
mov byte [ebp - 4], 0xe
mov ebx, 0x84d1dc
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.00405150
mov ebx, edi
call fcn.00405680
push str.launch.exe
mov eax, edi
push eax
call fcn.00405860
sub esp, 0x20
mov ebx, 0x426950
mov esi, esp
mov dword [ebp - 0x23c], esp
call fcn.00405150
sub esp, 0x20
mov byte [ebp - 4], 0xf
mov ebx, edi
mov esi, esp
mov dword [ebp - 0x240], esp
call fcn.00405150
mov byte [ebp - 4], 0xe
call fcn.00401d9d
add esp, 0x40
mov esi, edi
call fcn.00405270
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea esi, [ebp - 0x300]
call fcn.00405270
lea esi, [ebp - 0x2e0]
call fcn.00405270
lea esi, [ebp - 0x238]
call fcn.00405270
lea esi, [ebp - 0x260]
call fcn.00405270
lea esi, [ebp - 0x2a0]
call fcn.00405270
lea esi, [ebp - 0x2c0]
call fcn.00405270
call fcn.0040e65d
ret