Function at 0x4025ff
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x112c
call fcn.00403170
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x1000
mov dword [0x40b5c0], ebx
push edi
push 0x40b5d0
push 5
push ebx
call dword [sym.imp.USER32.dll_LoadStringA]
push dword [ebp + 0x10]
call fcn.00401d2c
pop ecx
xor esi, esi
push esi
push str.RacerExtracting
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x402671
push esi
push str.RacerSetupDlg
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x402671
push esi
push str.RacerSetup
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x402711
cmp dword [0x40d5d8], esi
je 0x40283b
lea eax, [ebp - 0x112c]
push eax
push edi
push 0x40d5e4
call fcn.00401f47
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.004025eb
test eax, eax
pop ecx
je 0x4026ea
mov eax, dword [ebp + 0x10]
push 0xa
lea eax, [eax + str.racer_temp]
push eax
push dword [ebp + 8]
call fcn.00406176
lea eax, [ebp - 0x112c]
push eax
push edi
push 0x40d5e4
call fcn.00401f47
add esp, 0x18
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x64
jle 0x4026a7
lea eax, [ebp - 0x112c]
push eax
call fcn.004025eb
test eax, eax
pop ecx
je 0x402711
push 0x30
push esi
push str.Cannot_create_temp_directory
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00402bc6
push esi
push 0x401fa3
push str.FILE
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0x28
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00403110
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x4023a0
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], str.NSGauge
call edi
push 0x28
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00403110
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 [0x40c5d4], 1
je 0x4027c9
push esi
push 0x401e88
push esi
push 0x65
push ebx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push eax
mov dword [0x40b5c4], 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.00401f47
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.00401f47
lea eax, [ebp - 0x12c]
push 1
push eax
call fcn.00401b01
lea eax, [ebp - 0x112c]
push esi
push eax
call fcn.00401b01
add esp, 0x1c
push esi
push 0x40200e
push str.FILE
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call fcn.0040285e
xor eax, eax
jmp 0x402857
cmp dword [ebp + 8], esi
je 0x402854
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