Function at 0x41b0f5
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ebx, ebx
or dword [esp + 0x20], 0xffffffff
push esi
push edi
push 0x1783
push 0x1f3c
call fcn.00401286
mov esi, eax
test esi, esi
je 0x41b784
mov edi, dword [esp + 0x2c]
lea eax, [esi + 0x130c]
mov dword [esp + 0x18], eax
add eax, 0x30c
mov dword [esp + 0x10], eax
add eax, 0x30c
mov dword [esp + 0x1c], eax
add eax, 0x30c
push edi
push ebp
mov dword [esp + 0x1c], eax
call fcn.0041bcfd
test eax, eax
je 0x41b178
push 3
push 0x71
push dword [0x431e5c]
call fcn.00403447
cmp eax, 2
je 0x41b784
cmp eax, 6
jne 0x41b178
push edi
push ebp
call fcn.0041b016
lea eax, [ebp + 0x20]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x30], ebx
je 0x41b1ae
push eax
lea ebp, [esi + 0x1000]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.OBJ_
push ebp
call fcn.004047bd
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 3
push ebx
push ebp
call fcn.004029a7
mov ebp, dword [esp + 0x18]
lea eax, [edi + 0x68]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [edi + 8]
call fcn.0041a626
push eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebp
cmp dword [esp + 0x34], ebx
je 0x41b243
push dword [esp + 0x20]
lea eax, [esi + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x18]
lea eax, [esi + 0x1000]
push eax
call fcn.004047bd
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x1000]
push eax
call fcn.004030df
test eax, eax
jne 0x41b243
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41b243
lea eax, [esi + 0x1000]
push eax
push 0x64
call fcn.00404b1d
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push esi
push dword [0x431e5c]
call fcn.00403461
jmp 0x41b784
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [edi + 0x68]
push eax
push dword [esp + 0x14]
call fcn.004047bd
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..mak
push dword [esp + 0x14]
call ebp
cmp dword [esp + 0x3c], ebx
je 0x41b284
push dword [esp + 0x10]
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esp + 0x40], ebx
je 0x41b298
lea eax, [edi + 0x48]
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x10]
call fcn.00403e93
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x41b2b5
push dword [esp + 0x10]
push 3
jmp 0x41b221
mov byte [esi], bl
cmp dword [edi + 0x1c], ebx
je 0x41b2ca
push dword [edi + 0x1c]
push esi
call ebp
push str._r_n_r_n
push esi
call ebp
lea eax, [edi + 0x68]
push eax
push str.OOBJ_s_r_n
push esi
call fcn.0040500b
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esp + 0x18]
push str.T_s_r_n
push esi
call fcn.0040500b
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.S_r_n
push esi
call ebp
push esi
call fcn.0040500b
mov ebp, eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41b359
cmp byte [eax], bl
je 0x41b359
lea edi, [esi + 0x1000]
push 0x30c
push edi
push eax
call fcn.00402167
push 0x5c
push 0x2f
push edi
mov dword [esp + 0x48], eax
call fcn.004021b6
push edi
push str.__s_r_n
push ebp
call fcn.0040500b
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp byte [eax], bl
jne 0x41b31d
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41b3df
mov edi, eax
lea eax, [edi + 8]
push eax
call fcn.004046d0
push 0x42b29c
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41b3bc
push 0x42b118
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41b3bc
push 0x42b2a0
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41b3bc
push 0x42b120
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41b3d5
lea eax, [edi + 8]
push eax
push str.__s_r_n
push ebp
call fcn.0040500b
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [edi]
test edi, edi
jne 0x41b366
mov edi, dword [esp + 0x2c]
push 0x4294f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ADD_C_OPT
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0xc], ebx
jne 0x41b408
push str._DNODEFAULTLIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x24], ebx
je 0x41b42d
push ebp
call fcn.0040500b
mov ebp, eax
cmp byte [ebp - 1], 0x3d
je 0x41b423
push 0x20
push ebp
call fcn.00401000
push dword [edi + 0x24]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x38], ebx
je 0x41b447
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x38]
push 0x42b2c0
push ebp
call fcn.00419fca
cmp dword [edi + 0x3c], ebx
je 0x41b461
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x3c]
push 0x42b2c4
push ebp
call fcn.00419fca
push 0x4294f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ADD_RC_OPT
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x28], ebx
je 0x41b488
push dword [edi + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x38], ebx
je 0x41b4a2
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x38]
push 0x42b2c0
push ebp
call fcn.00419fca
cmp dword [edi + 0x3c], ebx
je 0x41b4bc
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x3c]
push 0x42b2c4
push ebp
call fcn.00419fca
push 0x4294f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x2c], ebx
je 0x41b4e5
push dword [edi + 0x2c]
push str.ADD_ASM_OPT_s_r_n
push ebp
call fcn.0040500b
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.ADD_LINK_OPT
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
call fcn.0040500b
mov ebp, eax
cmp dword [edi + 0xc], ebx
jne 0x41b50a
push str._NODEFAULTLIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x30], ebx
je 0x41b526
cmp byte [ebp], bl
je 0x41b51c
push 0x20
push ebp
call fcn.00401000
push dword [edi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4294f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41b59c
push str.ADD_LIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
call fcn.0040500b
mov ebp, eax
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x41b590
lea edi, [esi + 0x1000]
push 0x30c
push edi
push eax
call fcn.00402167
mov dword [esp + 0x3c], eax
cmp byte [ebp], bl
je 0x41b57c
push 0x20
push ebp
call fcn.00401000
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
jne 0x41b55f
mov edi, dword [esp + 0x2c]
push 0x4294f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4294f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 8]
mov ecx, str.Windows
sub eax, ebx
je 0x41b5cc
sub eax, 3
je 0x41b5c5
sub eax, 1
jne 0x41b5d1
mov ecx, str.MakeLib
jmp 0x41b5d1
mov ecx, str.MakeDll
jmp 0x41b5d1
mov ecx, str.Console
cmp dword [edi + 4], ebx
mov edx, 0x42b334
mov eax, 0x4294f0
cmovne eax, edx
push eax
push ecx
push str._INCLUDE___VCPATH__s_s.mak_r_n
push ebp
call fcn.0040500b
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1784
push esi
call fcn.00407b4f
mov ebp, eax
test ebp, ebp
je 0x41b61b
mov eax, dword [esp + 0x28]
push ebx
push ebp
push eax
call fcn.00408685
push ebp
call fcn.00404070
push dword [esp + 0x28]
call fcn.00403e76
or eax, 0xffffffff
cmp dword [esp + 0x38], ebx
je 0x41b635
xor ebx, ebx
inc ebx
jmp 0x41b788
push dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x20]
call ebp
push str.C.BAT
push dword [esp + 0x20]
call fcn.004047bd
push eax
call ebp
push dword [esp + 0x1c]
call fcn.00403e93
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x41b671
push dword [esp + 0x1c]
jmp 0x41b2ae
push 0x30c
push dword [esp + 0x18]
push ebx
call fcn.00404a7b
lea eax, [edi + 0x48]
push eax
push dword [esp + 0x18]
call fcn.004047bd
push eax
call ebp
push 0x5c
push 0x2f
push dword [esp + 0x1c]
call fcn.004021b6
push dword [esp + 0x20]
lea ebp, [esi + 0x1000]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call fcn.004047bd
push 0x5c
push 0x2f
push ebp
mov byte [eax - 1], bl
call fcn.004021b6
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004047bd
push eax
push dword [esp + 0x1c]
movsx eax, byte [ebp]
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push str._Echo_Off_r_n_c:_r_nCD__s_r_n_r_n_sNMAKE__s_VCPATH_s_r_nDel_TargetList.mak_r_nDel_TargetCompile.mak_r_n_r_n
push esi
call ebp
add esp, 0x1c
cmp dword [esp + 0x34], ebx
je 0x41b73a
cmp dword [edi + 8], 3
je 0x41b73a
cmp dword [edi + 8], 4
je 0x41b73a
push esi
call fcn.0040500b
mov ecx, eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x41b718
mov eax, dword [esp + 0x18]
push eax
push eax
push str.If_not_exist__s_goto_Exit_r_nCls_r_n_s_r_n:Exit_r_nPause_r_n
jmp 0x41b732
cmp eax, 1
je 0x41b727
cmp eax, 2
je 0x41b727
cmp eax, 5
jne 0x41b746
mov eax, dword [esp + 0x18]
push eax
push eax
push str.If_not_exist__s_goto_Exit_r_n_s_r_n:Exit_r_n
push ecx
call ebp
add esp, 0x10
jmp 0x41b746
push str.Pause_r_n
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1785
push esi
call fcn.00407b4f
mov edi, eax
test edi, edi
je 0x41b768
push ebx
push edi
push dword [esp + 0x30]
call fcn.00408685
push edi
call fcn.00404070
push dword [esp + 0x28]
call fcn.00403e76
or dword [esp + 0x28], 0xffffffff
push 5
push dword [esp + 0x20]
call fcn.00408448
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x28]
push eax
call fcn.00403e76
push esi
call fcn.00404070
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret 0x1c