Function at 0x1001f76c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, edx
mov edi, eax
call fcn.10032878
push 0x100d0424
call fcn.10031e7c
pop ecx
mov eax, dword [0x100d0428]
test eax, eax
je 0x1001f7a9
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [0x100d0424], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 0
push 0xc
call fcn.1004970c
add esp, 0xc
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x1001f7da
xor eax, eax
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [0x100da008], eax
jmp 0x1001f7e4
mov dword [0x100da008], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push 0x1001e4c0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push sym.libifcoremd.dll_GETHANDLEQQ
call fcn.1007ed24
push sym.libifcoremd.dll_GETUNITQQ
call fcn.1007ed1c
push str.FOR_NOERROR_DIALOGS
call sym.libifcoremd.dll_for_check_env_name
add esp, 0xc
test eax, eax
je 0x1001f829
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.100906d9
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call fcn.1007edbc
pop ecx
test edi, edi
je 0x1001faff
mov eax, dword [edi]
test eax, eax
jne 0x1001f999
mov dword [0x100da000], 0
mov dword [0x100da004], 0x100d042c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov ecx, esi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x1001f884
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x1001f86d
add eax, 0xffffffff
lea edx, [ebp - 4]
push edx
push 0
add eax, 1
push eax
call fcn.1004970c
add esp, 0xc
mov ecx, esi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x1001f8b1
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x1001f89a
add eax, 0xffffffff
lea eax, [esi + eax - 1]
cmp esi, eax
ja 0x1001f9ac
mov dword [ebp - 0x18], ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov edi, 1
mov ebx, eax
movsx edx, byte [esi]
cmp edx, 0x20
je 0x1001fab8
cmp edx, 9
je 0x1001fab8
mov eax, dword [0x100da000]
add eax, 1
mov dword [0x100da000], eax
cmp eax, edi
jle 0x1001f926
cmp edi, 1
je 0x1001facb
add edi, 0xa
mov ecx, edi
shl ecx, 2
lea edx, [edi*4 - 0x28]
push edx
push 0x100da004
push ecx
call fcn.10049694
add esp, 0xc
test eax, eax
jne 0x1001fa80
mov eax, dword [0x100da000]
mov ecx, dword [0x100da004]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp esi, ebx
ja 0x1001fa6e
movsx eax, byte [esi]
cmp eax, 0x22
je 0x1001f94f
test edx, edx
jne 0x1001f976
jmp 0x1001f964
add esi, 1
test edx, edx
je 0x1001f986
movsx eax, byte [esi]
cmp eax, 0x22
je 0x1001fa88
xor edx, edx
cmp eax, 0x20
je 0x1001fa6e
cmp eax, 9
je 0x1001fa6e
mov byte [ecx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
add esi, 1
jmp 0x1001f939
movsx eax, byte [esi]
cmp eax, 0x22
jne 0x1001faae
mov edx, 1
jmp 0x1001f94f
test esi, esi
je 0x1001f84d
mov dword [0x100da004], esi
mov dword [0x100da000], eax
mov esi, dword [0x100d0430]
test esi, 1
mov edx, 2
mov ecx, 0x1f
mov edi, 4
jne 0x1001f9ce
mov edx, 0
xor edx, ecx
test esi, 2
mov eax, 8
mov ecx, esi
jne 0x1001f9e4
mov edi, 0
xor edx, edi
test esi, 4
jne 0x1001f9f3
mov eax, 0
xor edx, eax
test esi, 8
mov eax, 0x10
jne 0x1001fa07
mov eax, 0
xor edx, eax
and ecx, 0x10
xor eax, eax
test ecx, ecx
setne al
xor edx, eax
test esi, 0x10000
je 0x1001fa2d
lea eax, [edx + 0x1000000]
test esi, 0x200
jne 0x1001fa2d
mov edx, eax
push 0x308001f
push edx
call fcn.1009071c
push esi
call fcn.1001f570
add esp, 0xc
call fcn.1002543c
call fcn.10077e4c
call fcn.100274f8
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [0x100d0428], 1
mov dword [0x100d0424], 0
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
mov byte [ecx], 0
add dword [ebp - 4], 1
cmp esi, ebx
jbe 0x1001f8cc
mov ebx, dword [ebp - 0x18]
jmp 0x1001f9ac
cmp esi, ebx
ja 0x1001faa7
mov byte [ecx], 0x22
mov ecx, dword [ebp - 4]
add ecx, 1
add esi, 1
mov dword [ebp - 4], ecx
movsx eax, byte [esi]
cmp eax, 0x22
jne 0x1001f962
xor edx, edx
jmp 0x1001f94f
mov edx, 1
jmp 0x1001f976
add esi, 1
cmp esi, ebx
jbe 0x1001f8cc
mov ebx, dword [ebp - 0x18]
jmp 0x1001f9ac
push 0x100da004
push 0
add edi, 0xa
mov edx, edi
shl edx, 2
push edx
call fcn.1004970c
add esp, 0xc
test eax, eax
jne 0x1001fa80
mov ecx, dword [0x100da004]
mov edx, dword [0x100d042c]
mov dword [ecx], edx
mov eax, dword [0x100da000]
jmp 0x1001f926
mov eax, dword [0x100d9864]
mov esi, dword [0x100d9868]
jmp 0x1001f845