Function at 0x41a3dd
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.00401224
mov esi, eax
test esi, esi
je 0x41aa6f
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.0041afe8
test eax, eax
je 0x41a460
push 3
push 0x71
push dword [0x430e4c]
call fcn.004031b2
cmp eax, 2
je 0x41aa6f
cmp eax, 6
jne 0x41a460
push edi
push ebp
call fcn.0041a2fe
lea eax, [ebp + 0x20]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x30], ebx
je 0x41a496
push eax
lea ebp, [esi + 0x1000]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.OBJ_
push ebp
call fcn.004044d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 3
push ebx
push ebp
call fcn.0040273c
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.0041990e
push eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebp
cmp dword [esp + 0x34], ebx
je 0x41a52b
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.004044d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x1000]
push eax
call fcn.00402e50
test eax, eax
jne 0x41a52b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41a52b
lea eax, [esi + 0x1000]
push eax
push 0x64
call fcn.004047a7
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push esi
push dword [0x430e4c]
call fcn.004031cc
jmp 0x41aa6f
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.004044d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..mak
push dword [esp + 0x14]
call ebp
cmp dword [esp + 0x3c], ebx
je 0x41a56c
push dword [esp + 0x10]
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esp + 0x40], ebx
je 0x41a580
lea eax, [edi + 0x48]
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x10]
call fcn.00403bd1
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x41a59d
push dword [esp + 0x10]
push 3
jmp 0x41a509
mov byte [esi], bl
cmp dword [edi + 0x1c], ebx
je 0x41a5b2
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.00404c27
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.00404c27
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.00404c27
mov ebp, eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41a641
cmp byte [eax], bl
je 0x41a641
lea edi, [esi + 0x1000]
push 0x30c
push edi
push eax
call fcn.00401fc6
push 0x5c
push 0x2f
push edi
mov dword [esp + 0x48], eax
call fcn.00402015
push edi
push str.__s_r_n
push ebp
call fcn.00404c27
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp byte [eax], bl
jne 0x41a605
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41a6c7
mov edi, eax
lea eax, [edi + 8]
push eax
call fcn.004043eb
push 0x42a160
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a6a4
push 0x429fdc
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a6a4
push 0x42a164
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a6a4
push 0x429fe4
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a6bd
lea eax, [edi + 8]
push eax
push str.__s_r_n
push ebp
call fcn.00404c27
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [edi]
test edi, edi
jne 0x41a64e
mov edi, dword [esp + 0x2c]
push 0x4284ec
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 0x41a6f0
push str._DNODEFAULTLIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x24], ebx
je 0x41a715
push ebp
call fcn.00404c27
mov ebp, eax
cmp byte [ebp - 1], 0x3d
je 0x41a70b
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 0x41a72f
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x38]
push 0x42a184
push ebp
call fcn.004192b2
cmp dword [edi + 0x3c], ebx
je 0x41a749
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x3c]
push 0x42a188
push ebp
call fcn.004192b2
push 0x4284ec
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 0x41a770
push dword [edi + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x38], ebx
je 0x41a78a
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x38]
push 0x42a184
push ebp
call fcn.004192b2
cmp dword [edi + 0x3c], ebx
je 0x41a7a4
lea eax, [esi + 0x1000]
push eax
push dword [edi + 0x3c]
push 0x42a188
push ebp
call fcn.004192b2
push 0x4284ec
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [edi + 0x2c], ebx
je 0x41a7cd
push dword [edi + 0x2c]
push str.ADD_ASM_OPT_s_r_n
push ebp
call fcn.00404c27
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.00404c27
mov ebp, eax
cmp dword [edi + 0xc], ebx
jne 0x41a7f2
push str._NODEFAULTLIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x41a811
cmp byte [ebp], bl
je 0x41a809
push 0x20
push ebp
call fcn.00401000
mov eax, dword [edi + 0x30]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4284ec
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41a887
push str.ADD_LIB
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
call fcn.00404c27
mov ebp, eax
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x41a87b
lea edi, [esi + 0x1000]
push 0x30c
push edi
push eax
call fcn.00401fc6
mov dword [esp + 0x3c], eax
cmp byte [ebp], bl
je 0x41a867
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 0x41a84a
mov edi, dword [esp + 0x2c]
push 0x4284ec
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4284ec
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi + 8]
mov ecx, str.Windows
sub eax, ebx
je 0x41a8b7
sub eax, 3
je 0x41a8b0
sub eax, 1
jne 0x41a8bc
mov ecx, str.MakeLib
jmp 0x41a8bc
mov ecx, str.MakeDll
jmp 0x41a8bc
mov ecx, str.Console
cmp dword [edi + 4], ebx
mov edx, 0x42a1f8
mov eax, 0x4284dd
cmovne eax, edx
push eax
push ecx
push str._INCLUDE___VCPATH__s_s.mak_r_n
push ebp
call fcn.00404c27
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x1784
push esi
call fcn.004074b3
mov ebp, eax
test ebp, ebp
je 0x41a906
mov eax, dword [esp + 0x28]
push ebx
push ebp
push eax
call fcn.00407fa5
push ebp
call fcn.00403dae
push dword [esp + 0x28]
call fcn.00403bb4
or eax, 0xffffffff
cmp dword [esp + 0x38], ebx
je 0x41a920
xor ebx, ebx
inc ebx
jmp 0x41aa73
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.004044d8
push eax
call ebp
push dword [esp + 0x1c]
call fcn.00403bd1
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x41a95c
push dword [esp + 0x1c]
jmp 0x41a596
push 0x30c
push dword [esp + 0x18]
push ebx
call fcn.00404705
lea eax, [edi + 0x48]
push eax
push dword [esp + 0x18]
call fcn.004044d8
push eax
call ebp
push 0x5c
push 0x2f
push dword [esp + 0x1c]
call fcn.00402015
push dword [esp + 0x20]
lea ebp, [esi + 0x1000]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call fcn.004044d8
push 0x5c
push 0x2f
push ebp
mov byte [eax - 1], bl
call fcn.00402015
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004044d8
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 0x41aa25
cmp dword [edi + 8], 3
je 0x41aa25
cmp dword [edi + 8], 4
je 0x41aa25
push esi
call fcn.00404c27
mov ecx, eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x41aa03
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 0x41aa1d
cmp eax, 1
je 0x41aa12
cmp eax, 2
je 0x41aa12
cmp eax, 5
jne 0x41aa31
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 0x41aa31
push str.Pause_r_n
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1785
push esi
call fcn.004074b3
mov edi, eax
test edi, edi
je 0x41aa53
push ebx
push edi
push dword [esp + 0x30]
call fcn.00407fa5
push edi
call fcn.00403dae
push dword [esp + 0x28]
call fcn.00403bb4
or dword [esp + 0x28], 0xffffffff
push 5
push dword [esp + 0x20]
call fcn.00407d6d
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x28]
push eax
call fcn.00403bb4
push esi
call fcn.00403dae
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret 0x1c