Function at 0x4025b0
Capabilities:
Read file on windows
Resolve path using msvcrt
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x402260
push 2
call dword [sym.imp.MSVCRT.dll_signal]
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__pgmptr]
mov esi, dword [esp + 0x14]
mov ebp, 1
cmp esi, ebp
jne 0x40264a
mov eax, dword [0x410b2c]
mov edi, dword [sym.imp.MSVCRT.dll_printf]
test eax, eax
jne 0x40260f
push 0x7d0
mov dword [0x410b2c], ebp
call fcn.004049d0
push eax
push 0x410158
call edi
push str._Version_6.00.8168
call edi
push str._nCopyright__C__Microsoft_Corp_1990_1998._All_rights_reserved._n_n
call edi
add esp, 0x14
push 0x7d1
call fcn.004049d0
push eax
push str._s_n_n
call edi
add esp, 0xc
mov esi, 0x7d2
push esi
call fcn.004049d0
push eax
push 0x4101b8
call edi
add esp, 0xc
inc esi
cmp esi, 0x7e3
jle 0x402629
push ebp
call dword [sym.imp.MSVCRT.dll_exit]
push 0x100
push 0x410a2c
call dword [sym.imp.MSVCRT.dll__getcwd]
push 0x410a2c
call fcn.0040c570
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.004037b0
mov ebx, eax
mov eax, dword [0x410b2c]
add esp, 0x14
test ebx, ebx
jne 0x4026eb
mov edi, dword [sym.imp.MSVCRT.dll_printf]
test eax, eax
jne 0x4026b0
push 0x7d0
mov dword [0x410b2c], ebp
call fcn.004049d0
push eax
push 0x410158
call edi
push str._Version_6.00.8168
call edi
push str._nCopyright__C__Microsoft_Corp_1990_1998._All_rights_reserved._n_n
call edi
add esp, 0x14
push 0x7d1
call fcn.004049d0
push eax
push str._s_n_n
call edi
add esp, 0xc
mov esi, 0x7d2
push esi
call fcn.004049d0
push eax
push 0x4101b8
call edi
add esp, 0xc
inc esi
cmp esi, 0x7e3
jle 0x4026ca
push ebp
call dword [sym.imp.MSVCRT.dll_exit]
mov esi, dword [sym.imp.MSVCRT.dll_printf]
test eax, eax
jne 0x40271e
push 0x7d0
mov dword [0x410b2c], ebp
call fcn.004049d0
push eax
push 0x410158
call esi
push str._Version_6.00.8168
call esi
push str._nCopyright__C__Microsoft_Corp_1990_1998._All_rights_reserved._n_n
call esi
add esp, 0x14
mov eax, dword [0x4109f4]
test eax, eax
je 0x402733
mov ecx, dword [0x4109e8]
mov dword [esp + 0x14], ecx
jmp 0x40273e
mov edx, dword [0x410028]
dec edx
mov dword [esp + 0x14], edx
mov ebp, dword [sym.imp.MSVCRT.dll_fflush]
push ebx
call fcn.0040c570
push 0x4044f0
push ebx
call fcn.0040ee80
add esp, 0xc
test eax, eax
jne 0x402803
call dword [sym.imp.MSVCRT.dll__errno]
mov edi, dword [eax]
mov eax, dword [0x410b2c]
test eax, eax
jne 0x40279e
push 0x7d0
mov dword [0x410b2c], 1
call fcn.004049d0
push eax
push 0x410158
call esi
push str._Version_6.00.8168
call esi
push str._nCopyright__C__Microsoft_Corp_1990_1998._All_rights_reserved._n_n
call esi
add esp, 0x14
push 0x5e2
call fcn.00402b90
push eax
push 0x41006c
call esi
add esp, 0xc
push ebx
push 0x5e2
call fcn.004049d0
add esp, 4
push eax
call esi
add esp, 8
test edi, edi
je 0x4027dd
push edi
call dword [sym.imp.MSVCRT.dll_strerror]
push eax
push str.:__s
call esi
add esp, 0xc
push 0x410088
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call ebp
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call ebp
add esp, 0xc
call fcn.00401dd0
call fcn.00403620
mov ebx, eax
test ebx, ebx
jne 0x402744
mov eax, dword [0x410024]
test eax, eax
je 0x4028c6
mov edx, dword [0x410b5c]
push 0x8002
push edx
call dword [sym.imp.MSVCRT.dll__open]
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x402858
call dword [sym.imp.MSVCRT.dll__errno]
mov eax, dword [eax]
mov ecx, dword [0x410b5c]
push eax
push ecx
push 0x5e2
call fcn.004016c0
add esp, 0xc
lea edx, [esp + 0x14]
push 1
push edx
push esi
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, 0xffffffff
je 0x402897
push 0
push 0
push esi
call dword [sym.imp.MSVCRT.dll__lseek]
add esp, 0xc
cmp eax, 0xffffffff
je 0x402897
lea eax, [esp + 0x14]
push 1
push eax
push esi
call dword [sym.imp.MSVCRT.dll__write]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4028b4
call dword [sym.imp.MSVCRT.dll__errno]
mov ecx, dword [eax]
mov edx, dword [0x410b5c]
push ecx
push edx
push 0x5df
call fcn.004016c0
add esp, 0xc
push esi
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [0x410020]
test eax, eax
je 0x402977
mov eax, dword [0x410b5c]
mov dword [0x410b50], 1
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
cmp eax, 0xffffffff
jne 0x402977
mov edi, dword [sym.imp.MSVCRT.dll__errno]
call edi
cmp dword [eax], 2
je 0x402977
call edi
mov edi, dword [eax]
mov ebx, dword [0x410b5c]
call fcn.00403380
push 0x5e2
call fcn.00402b90
push eax
push 0x41006c
call esi
add esp, 0xc
push ebx
push 0x5e2
call fcn.004049d0
add esp, 4
push eax
call esi
add esp, 8
test edi, edi
je 0x402950
push edi
call dword [sym.imp.MSVCRT.dll_strerror]
push eax
push str.:__s
call esi
add esp, 0xc
push 0x410088
call esi
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call ebp
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x40
push edx
call ebp
add esp, 0xc
call fcn.00401dd0
call fcn.0040a9e0
call fcn.0040d570
call fcn.00409050
call fcn.0040d820
call fcn.00409290
mov eax, dword [0x4109f4]
test eax, eax
je 0x4029b6
mov ecx, dword [esp + 0x14]
push 0
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x410028], 0
jmp 0x4029c0
mov edx, dword [esp + 0x14]
mov dword [0x410028], edx
call fcn.00403620
mov ebx, eax
push ebx
call fcn.0040c570
push 0x402c70
push ebx
call fcn.0040ee80
add esp, 0xc
test eax, eax
jne 0x402a51
call dword [sym.imp.MSVCRT.dll__errno]
mov edi, dword [eax]
call fcn.00403380
push 0x5e2
call fcn.00402b90
push eax
push 0x41006c
call esi
add esp, 0xc
push ebx
push 0x5e2
call fcn.004049d0
add esp, 4
push eax
call esi
add esp, 8
test edi, edi
je 0x402a2b
push edi
call dword [sym.imp.MSVCRT.dll_strerror]
push eax
push str.:__s
call esi
add esp, 0xc
push 0x410088
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call ebp
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call ebp
add esp, 0xc
call fcn.00401dd0
call fcn.00403620
mov ebx, eax
test ebx, ebx
jne 0x4029c7
mov eax, dword [0x410b48]
test eax, eax
je 0x402a73
push str.Processing:_SBR_files_all_processed____building_.bsc_.._n
call esi
add esp, 4
call fcn.0040de40
call fcn.0040d2f0
call fcn.004078e0
call fcn.00409680
call fcn.0040dca0
call fcn.0040aad0
mov eax, dword [0x410b4c]
mov dword [0x410b50], 0
test eax, eax
jne 0x402b7d
mov eax, dword [0x4109f4]
test eax, eax
je 0x402ace
mov edx, dword [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x410028], 0
jmp 0x402ad7
mov eax, dword [esp + 0x14]
mov dword [0x410028], eax
call fcn.00403620
mov ebx, eax
push ebx
call fcn.0040c570
push 0x403060
push ebx
call fcn.0040ee80
add esp, 0xc
test eax, eax
jne 0x402b69
call dword [sym.imp.MSVCRT.dll__errno]
mov edi, dword [eax]
call fcn.00403380
push 0x5e2
call fcn.00402b90
push eax
push 0x41006c
call esi
add esp, 0xc
push ebx
push 0x5e2
call fcn.004049d0
add esp, 4
push eax
call esi
add esp, 8
test edi, edi
je 0x402b42
push edi
call dword [sym.imp.MSVCRT.dll_strerror]
push eax
push str.:__s
call esi
add esp, 0xc
push 0x410088
call esi
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call ebp
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x40
push edx
call ebp
add esp, 0xc
call fcn.00401dd0
call fcn.00403620
mov ebx, eax
test ebx, ebx
jne 0x402ade
call fcn.00401e60
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop