Function at 0x424a54
Capabilities:
Accept command line arguments
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x426e64]
mov byte [eax], 1
mov eax, 0x423834
call fcn.00406e68
xor eax, eax
push ebp
push 0x424f93
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x42a518], 0
xor edx, edx
push ebp
push 0x424f17
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov dl, 1
mov eax, dword [0x420af0]
call fcn.00420c10
mov edx, dword [0x426f28]
mov dword [edx], eax
xor edx, edx
push ebp
push 0x424f06
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x424fa4
xor ecx, ecx
mov eax, 0x424fcc
call fcn.0040d6cc
test al, al
jne 0x424b62
push 0x424fe4
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
sete al
test al, al
je 0x424b08
mov eax, 0x42a51c
mov edx, 0x424ff8
call fcn.00404e48
jmp 0x424b62
mov edx, dword [0x426e80]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x42500c
call fcn.004050e0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x18], 0
je 0x424b3c
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
sete al
jmp 0x424b3e
xor eax, eax
test al, al
je 0x424b62
push 0x425020
mov eax, dword [0x426e80]
push dword [eax]
push 0x42502c
mov eax, 0x42a51c
mov edx, 3
call fcn.00405154
mov eax, ebx
call fcn.00419344
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404fec
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [0x42a51c]
call fcn.004050e0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x426f28]
mov eax, dword [eax]
call fcn.0041fae8
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
call fcn.0042071c
test al, al
je 0x424bd8
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov eax, dword [eax + 0x88]
mov edx, 0x425044
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
jl 0x424bd8
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov eax, dword [eax + 0x80]
mov edx, 0x425058
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x426f28]
mov eax, dword [eax]
cmp byte [eax + 0xb4], 0
jne 0x424d25
mov eax, dword [0x426d30]
mov edx, 0x425070
call fcn.00405524
call fcn.00403478
mov edx, dword [0x426e80]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x4250b8
call fcn.004050e0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 0
je 0x424c34
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
sete al
jmp 0x424c36
xor eax, eax
test al, al
je 0x424c53
mov eax, dword [0x426d30]
mov edx, 0x7d2
call fcn.004038d4
call fcn.00403478
jmp 0x424d07
mov edx, dword [0x426e80]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x4250d0
call fcn.004050e0
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 0
je 0x424c87
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
sete al
jmp 0x424c89
xor eax, eax
test al, al
je 0x424ca3
mov eax, dword [0x426d30]
mov edx, 0x7d5
call fcn.004038d4
call fcn.00403478
jmp 0x424d07
mov edx, dword [0x426e80]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x4250e8
call fcn.004050e0
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 0
je 0x424cd7
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
sete al
jmp 0x424cd9
xor eax, eax
test al, al
je 0x424cf3
mov eax, dword [0x426d30]
mov edx, 0x7d6
call fcn.004038d4
call fcn.00403478
jmp 0x424d07
mov eax, dword [0x426d30]
mov edx, 0x7d0
call fcn.004038d4
call fcn.00403478
mov eax, dword [0x426d30]
mov edx, 0x425100
call fcn.00405524
call fcn.00403934
mov eax, dword [0x426d30]
call fcn.00403478
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
jne 0x424d5c
mov eax, dword [0x426f28]
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jne 0x424d5c
mov ecx, 0x425114
mov dl, 1
mov eax, dword [0x407428]
call fcn.0040c0d4
call fcn.0040481c
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [0x42a518], al
cmp byte [0x42a518], 0
je 0x424e7d
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
cmp eax, 1
jle 0x424e06
mov eax, dword [0x426f28]
mov eax, dword [eax]
call fcn.0041e63c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
fdiv dword [0x425138]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x426f28]
mov eax, dword [eax]
push dword [eax + 0x64]
push dword [eax + 0x60]
mov eax, dword [0x426d30]
call fcn.00405e90
mov edx, 0x425144
call fcn.00405524
mov edx, dword [0x426f28]
mov edx, dword [edx]
mov edx, dword [edx + 0x40]
call fcn.004038d4
mov edx, 0x425158
call fcn.00405524
mov ecx, 2
mov edx, 3
call fcn.00403900
mov edx, 0x425174
call fcn.00405524
call fcn.00403934
jmp 0x424e71
mov edx, dword [0x426f28]
test eax, eax
jle 0x424e71
mov eax, dword [0x426f28]
mov eax, dword [eax]
call fcn.0041e63c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
fdiv dword [0x425138]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x426f28]
mov eax, dword [eax]
push dword [eax + 0x64]
push dword [eax + 0x60]
mov eax, dword [0x426d30]
call fcn.00405e90
mov edx, 0x425188
call fcn.00405524
mov ecx, 2
mov edx, 3
call fcn.00403900
mov edx, 0x425174
call fcn.00405524
call fcn.00403934
mov eax, dword [0x426d30]
call fcn.00403478
jmp 0x424eca
mov eax, dword [0x426f28]
mov eax, dword [eax]
mov edx, dword [eax + 0xbc]
mov eax, dword [0x426d30]
call fcn.004038d4
mov edx, 0x4251b0
call fcn.00405524
mov edx, dword [0x426f28]
mov edx, dword [edx]
mov edx, dword [edx + 0xc0]
call fcn.004038d4
mov edx, 0x4251c4
call fcn.00405524
call fcn.00403934
mov eax, dword [0x426d30]
call fcn.00403478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424f0d
xor eax, eax
push ebp
push 0x424efb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x426f28]
mov eax, dword [eax]
call fcn.00404084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424f05
ret