Function at 0x4db55a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
push 0x105
push 0
push 0x6a4b00
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x105
push 0
push 0x6a5420
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x105
push 0
push 0x6a4e80
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x105
push 0
push 0x6a50c0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x105
push 0
push 0x6a51e0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x105
push 0
push 0x6a4fa0
call sub.MSVCR80.dll_memset
add esp, 0xc
mov byte [0x6a4fa0], 0
push 0x6a4b00
push 0x104
call fcn.004db407
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x4db651
mov dword [ebp - 0x228], 1
mov edx, dword [ebp - 0x224]
add edx, dword [ebp - 0x228]
movsx eax, byte [edx]
cmp eax, 0x20
jl 0x4db718
cmp dword [ebp - 0x220], 0x100
jge 0x4db718
mov ecx, dword [ebp - 0x224]
add ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x220]
mov al, byte [ecx]
mov byte [ebp + edx - 0x108], al
mov ecx, dword [ebp - 0x220]
movsx edx, byte [ebp + ecx - 0x108]
cmp edx, 0x2e
jne 0x4db6b5
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x10c], eax
jmp 0x4db6d6
mov ecx, dword [ebp - 0x220]
movsx edx, byte [ebp + ecx - 0x108]
cmp edx, 0x2f
jne 0x4db6d6
mov eax, dword [ebp - 0x220]
mov byte [ebp + eax - 0x108], 0x5c
mov ecx, dword [ebp - 0x220]
movsx edx, byte [ebp + ecx - 0x108]
cmp edx, 0x5c
jne 0x4db6f5
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x220]
add ecx, 1
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x228]
add edx, 1
mov dword [ebp - 0x228], edx
jmp 0x4db651
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x4db731
mov eax, dword [ebp - 0x220]
mov byte [ebp + eax - 0x108], 0
jmp 0x4db73f
mov ecx, dword [ebp - 0x10c]
mov byte [ebp + ecx - 0x104], 0
push 0x105
push 0
push 0x6a59c0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x105
push 0
push 0x6a5660
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
push 0x6a59c0
call sub.MSVCR80.dll_strcpy
add esp, 8
cmp dword [ebp - 0x218], 0xffffffff
je 0x4db7eb
push 2
mov eax, dword [ebp - 0x218]
lea ecx, [ebp + eax - 0x107]
push ecx
push 0x6a5660
call sub.MSVCR80.dll_strncpy
add esp, 0xc
mov dword [ebp - 0x220], 0
jmp 0x4db7bc
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
cmp dword [ebp - 0x220], 2
jge 0x4db7e9
mov eax, dword [ebp - 0x220]
movsx ecx, byte [eax + 0x6a5660]
push ecx
call sub.MSVCR80.dll_toupper
add esp, 4
mov edx, dword [ebp - 0x220]
mov byte [edx + 0x6a5660], al
jmp 0x4db7ad
jmp 0x4db7fd
push 0x54bd9c
push 0x6a5660
call sub.MSVCR80.dll_strcpy
add esp, 8
call fcn.004da650
cmp dword [ebp - 0x10c], 0xffffffff
je 0x4db835
mov eax, dword [ebp - 0x10c]
mov byte [ebp + eax - 0x107], 0x69
mov ecx, dword [ebp - 0x10c]
mov byte [ebp + ecx - 0x106], 0x6e
mov edx, dword [ebp - 0x10c]
mov byte [ebp + edx - 0x105], 0x69
cmp dword [0x54e540], 0
je 0x4db859
push 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x108]
push ecx
call sub.MSVCR80.dll_strncpy
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
push 0x54bda0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.004e1510
add esp, 0x14
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jge 0x4db88c
jmp 0x4dba72
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 1
lea ecx, [ebp - 0x108]
push ecx
push 0x6a4fa0
call sub.MSVCR80.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x230]
mov eax, dword [edx + 0xc]
and eax, 0x10
test eax, eax
jne 0x4dba63
cmp dword [ebp - 0x110], 0
je 0x4db8e5
cmp dword [ebp - 4], 0
jne 0x4dba63
mov ecx, dword [ebp - 0x230]
push ecx
push 0x104
lea edx, [ebp - 0x214]
push edx
call sub.MSVCR80.dll_fgets
add esp, 0xc
cmp dword [ebp - 0x238], 1
jne 0x4db985
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
movsx ecx, byte [ebp + eax - 0x214]
cmp ecx, 0xd
jle 0x4db94a
mov edx, dword [ebp - 0x220]
movsx eax, byte [ebp + edx - 0x214]
cmp eax, 0x20
je 0x4db94a
mov ecx, dword [ebp - 0x220]
add ecx, 1
mov dword [ebp - 0x220], ecx
jmp 0x4db913
mov edx, dword [ebp - 0x220]
mov byte [ebp + edx - 0x214], 0
push 0x105
lea eax, [ebp - 0x214]
push eax
push 0x6a51e0
call sub.MSVCR80.dll_strncpy
add esp, 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x110], 1
cmp dword [ebp - 0x234], 1
jne 0x4dba07
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x220]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0xd
jle 0x4db9cf
mov eax, dword [ebp - 0x220]
movsx ecx, byte [ebp + eax - 0x214]
cmp ecx, 0x20
je 0x4db9cf
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
jmp 0x4db998
mov eax, dword [ebp - 0x220]
mov byte [ebp + eax - 0x214], 0
push 0x105
lea ecx, [ebp - 0x214]
push ecx
push 0x6a50c0
call sub.MSVCR80.dll_strncpy
add esp, 0xc
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 1
push 6
push str._FOPT_
lea edx, [ebp - 0x214]
push edx
call sub.MSVCR80.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x4dba2b
mov dword [ebp - 0x238], 1
push 6
push str._FLIC_
lea eax, [ebp - 0x214]
push eax
call sub.MSVCR80.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x4dba4f
mov dword [ebp - 0x234], 1
mov ecx, dword [ebp - 0x23c]
add ecx, 1
mov dword [ebp - 0x23c], ecx
jmp 0x4db8be
lea edx, [ebp - 0x230]
push edx
call fcn.004e1803
add esp, 4
cmp dword [ebp - 0x110], 0
jne 0x4dbaee
push str.hsd_fopz.ini
push 0x6a4b00
push 0x54bdc4
push 0x6a51e0
call sub.MSVCR80.dll_sprintf
add esp, 0x10
mov dword [ebp - 0x22c], 0x6a51e0
mov dword [ebp - 0x220], 0
jmp 0x4dbabc
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0x104
jge 0x4dbaee
mov ecx, dword [ebp - 0x22c]
movsx edx, byte [ecx]
test edx, edx
je 0x4dbaee
mov eax, dword [ebp - 0x22c]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x4dbaec
mov edx, dword [ebp - 0x22c]
mov byte [edx], 0x5c
jmp 0x4dbaad
cmp dword [ebp - 4], 0
jne 0x4dbb67
push 0x54bdcc
push 0x6a4b00
push str._s_s
push 0x6a50c0
call sub.MSVCR80.dll_sprintf
add esp, 0x10
mov dword [ebp - 0x22c], 0x6a50c0
mov dword [ebp - 0x220], 0
jmp 0x4dbb35
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0x104
jge 0x4dbb67
mov ecx, dword [ebp - 0x22c]
movsx edx, byte [ecx]
test edx, edx
je 0x4dbb67
mov eax, dword [ebp - 0x22c]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x4dbb65
mov edx, dword [ebp - 0x22c]
mov byte [edx], 0x5c
jmp 0x4dbb26
cmp dword [0x54e538], 0
je 0x4dbb87
push 0x105
push 0x6a5300
push 0x6a50c0
call sub.MSVCR80.dll_strncpy
add esp, 0xc
cmp dword [0x54e53c], 0
je 0x4dbba7
push 0x105
push 0x6a58a0
push 0x6a51e0
call sub.MSVCR80.dll_strncpy
add esp, 0xc
mov dword [0x54e548], 1
xor eax, eax
mov esp, ebp
pop ebp
ret