Function at 0x41a384
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 0x41aa13
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.0041af8c
test eax, eax
je 0x41a407
push 3
push 0x71
push dword [0x430cf4]
call fcn.00403447
cmp eax, 2
je 0x41aa13
cmp eax, 6
jne 0x41a407
push edi
push ebp
call fcn.0041a2a5
lea eax, [ebp + 0x20]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x30], ebx
je 0x41a43d
push eax
lea ebp, [esi + 0x1000]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.OBJ_
push ebp
call fcn.00404765
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.004198b5
push eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebp
cmp dword [esp + 0x34], ebx
je 0x41a4d2
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.00404765
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x1000]
push eax
call fcn.004030df
test eax, eax
jne 0x41a4d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41a4d2
lea eax, [esi + 0x1000]
push eax
push 0x64
call fcn.00404ac5
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push esi
push dword [0x430cf4]
call fcn.00403461
jmp 0x41aa13
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.00404765
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..mak
push dword [esp + 0x14]
call ebp
cmp dword [esp + 0x3c], ebx
je 0x41a513
push dword [esp + 0x10]
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esp + 0x40], ebx
je 0x41a527
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 0x41a544
push dword [esp + 0x10]
push 3
jmp 0x41a4b0
mov byte [esi], bl
cmp dword [edi + 0x1c], ebx
je 0x41a559
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.00404fb1
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.00404fb1
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.00404fb1
mov ebp, eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41a5e8
cmp byte [eax], bl
je 0x41a5e8
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.00404fb1
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp byte [eax], bl
jne 0x41a5ac
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41a66e
mov edi, eax
lea eax, [edi + 8]
push eax
call fcn.00404678
push 0x42a14c
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a64b
push 0x429fc8
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a64b
push 0x42a150
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a64b
push 0x429fd0
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a664
lea eax, [edi + 8]
push eax
push str.__s_r_n
push ebp
call fcn.00404fb1
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [edi]
test edi, edi
jne 0x41a5f5
mov edi, dword [esp + 0x2c]
push 0x4284f4
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 0x41a697
push str._DNODEFAULTLIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x24], ebx
je 0x41a6bc
push ebp
call fcn.00404fb1
mov ebp, eax
cmp byte [ebp - 1], 0x3d
je 0x41a6b2
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 0x41a6d6
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x38]
push 0x42a170
push ebp
call fcn.00419259
cmp dword [edi + 0x3c], ebx
je 0x41a6f0
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x3c]
push 0x42a174
push ebp
call fcn.00419259
push 0x4284f4
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 0x41a717
push dword [edi + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x38], ebx
je 0x41a731
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x38]
push 0x42a170
push ebp
call fcn.00419259
cmp dword [edi + 0x3c], ebx
je 0x41a74b
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x3c]
push 0x42a174
push ebp
call fcn.00419259
push 0x4284f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x2c], ebx
je 0x41a774
push dword [edi + 0x2c]
push str.ADD_ASM_OPT_s_r_n
push ebp
call fcn.00404fb1
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.00404fb1
mov ebp, eax
cmp dword [edi + 0xc], ebx
jne 0x41a799
push str._NODEFAULTLIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x30], ebx
je 0x41a7b5
cmp byte [ebp], bl
je 0x41a7ab
push 0x20
push ebp
call fcn.00401000
push dword [edi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4284f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41a82b
push str.ADD_LIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
call fcn.00404fb1
mov ebp, eax
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x41a81f
lea edi, [esi + 0x1000]
push 0x30c
push edi
push eax
call fcn.00402167
mov dword [esp + 0x3c], eax
cmp byte [ebp], bl
je 0x41a80b
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 0x41a7ee
mov edi, dword [esp + 0x2c]
push 0x4284f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4284f4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 8]
mov ecx, str.Windows
sub eax, ebx
je 0x41a85b
sub eax, 3
je 0x41a854
sub eax, 1
jne 0x41a860
mov ecx, str.MakeLib
jmp 0x41a860
mov ecx, str.MakeDll
jmp 0x41a860
mov ecx, str.Console
cmp dword [edi + 4], ebx
mov edx, 0x42a1e4
mov eax, 0x4284f0
cmovne eax, edx
push eax
push ecx
push str._INCLUDE___VCPATH__s_s.mak_r_n
push ebp
call fcn.00404fb1
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1784
push esi
call fcn.004079f2
mov ebp, eax
test ebp, ebp
je 0x41a8aa
mov eax, dword [esp + 0x28]
push ebx
push ebp
push eax
call fcn.00408519
push ebp
call fcn.00404070
push dword [esp + 0x28]
call fcn.00403e76
or eax, 0xffffffff
cmp dword [esp + 0x38], ebx
je 0x41a8c4
xor ebx, ebx
inc ebx
jmp 0x41aa17
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.00404765
push eax
call ebp
push dword [esp + 0x1c]
call fcn.00403e93
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x41a900
push dword [esp + 0x1c]
jmp 0x41a53d
push 0x30c
push dword [esp + 0x18]
push ebx
call fcn.00404a23
lea eax, [edi + 0x48]
push eax
push dword [esp + 0x18]
call fcn.00404765
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.00404765
push 0x5c
push 0x2f
push ebp
mov byte [eax - 1], bl
call fcn.004021b6
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.00404765
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 0x41a9c9
cmp dword [edi + 8], 3
je 0x41a9c9
cmp dword [edi + 8], 4
je 0x41a9c9
push esi
call fcn.00404fb1
mov ecx, eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x41a9a7
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 0x41a9c1
cmp eax, 1
je 0x41a9b6
cmp eax, 2
je 0x41a9b6
cmp eax, 5
jne 0x41a9d5
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 0x41a9d5
push str.Pause_r_n
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1785
push esi
call fcn.004079f2
mov edi, eax
test edi, edi
je 0x41a9f7
push ebx
push edi
push dword [esp + 0x30]
call fcn.00408519
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.004082dc
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