Function at 0x40260d
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x112c
call fcn.00402b30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x1000
mov dword [0x405130], ebx
push edi
push 0x405140
push 5
push ebx
call dword [sym.imp.USER32.dll_LoadStringA]
push dword [ebp + 0x10]
call fcn.00401d37
pop ecx
xor esi, esi
push esi
push str.RacerExtracting
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x40267f
push esi
push str.RacerSetupDlg
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x40267f
push esi
push str.RacerSetup
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x402721
cmp dword [0x407148], esi
je 0x40284b
lea eax, [ebp - 0x112c]
push eax
push edi
push 0x407154
call fcn.00401f52
add esp, 0xc
push str.racer_temp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], 1
lea eax, [ebp - 0x112c]
push eax
call fcn.004025f9
test eax, eax
pop ecx
je 0x4026f9
mov eax, dword [ebp + 0x10]
push 0xa
lea eax, [eax + str.racer_temp]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__itoa]
lea eax, [ebp - 0x112c]
push eax
push edi
push 0x407154
call fcn.00401f52
add esp, 0x18
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x64
jle 0x4026b5
lea eax, [ebp - 0x112c]
push eax
call fcn.004025f9
test eax, eax
pop ecx
je 0x402721
push 0x30
push esi
push str.Cannot_create_temp_directory
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push esi
push 0x401fae
push 0x40409c
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0x28
lea eax, [ebp - 0x28]
push esi
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x4023ae
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], 0x404094
call edi
push 0x28
lea eax, [ebp - 0x28]
push esi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [sym.imp.USER32.dll_DefDlgProcA]
add esp, 0xc
mov dword [ebp - 0x28], 0x2808
mov dword [ebp - 0x24], eax
push 0x7f00
push esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x1e
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0xc], 6
mov dword [ebp - 4], str.RacerExtracting
call edi
cmp dword [0x406144], 1
je 0x4027d9
push esi
push 0x401e93
push esi
push 0x65
push ebx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push eax
mov dword [0x405134], eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x12c]
mov edi, 0x104
push eax
push edi
push str.Archive.lst
call fcn.00401f52
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x12c]
push eax
push edi
push str.xpcom.ns
call fcn.00401f52
lea eax, [ebp - 0x12c]
push 1
push eax
call fcn.00401b0c
lea eax, [ebp - 0x112c]
push esi
push eax
call fcn.00401b0c
add esp, 0x1c
push esi
push 0x402019
push 0x40409c
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call fcn.0040286e
xor eax, eax
jmp 0x402867
cmp dword [ebp + 8], esi
je 0x402864
push 9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10