Function at 0x44e40c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov ebx, eax
cmp byte [0x499ca0], 0
jne 0x44e44a
mov eax, dword [0x499c90]
sub eax, dword [ebx]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [0x499c9c]
jge 0x44e44a
mov eax, dword [0x499c94]
sub eax, dword [ebx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [0x499c9c]
jl 0x44e6ed
mov eax, dword [0x499c80]
push eax
mov eax, dword [0x499c80]
movzx ecx, byte [eax + 0x8f]
lea edx, [esp + 4]
mov eax, ebx
call fcn.0044e2e0
mov esi, eax
cmp byte [0x499ca0], 0
jne 0x44e498
cmp dword [0x499ca4], 0
je 0x44e498
mov eax, dword [0x499c94]
push eax
call sub.KERNEL32.DLL_GetCommandLineA
mov edx, eax
mov ecx, dword [0x499c90]
mov eax, dword [0x499ca4]
call fcn.0045a180
mov eax, dword [0x499c80]
cmp byte [eax + 0x8f], 0
jne 0x44e4b4
mov byte [0x499ca0], 1
mov byte [esp + 4], 0
jmp 0x44e4c7
cmp byte [0x499ca0], 0
setne byte [esp + 4]
mov byte [0x499ca0], 2
mov eax, dword [0x499c84]
cmp esi, dword [eax + 8]
je 0x44e51c
mov al, 1
call fcn.0044e330
cmp dword [0x499c84], 0
je 0x44e6ed
mov eax, dword [0x499c84]
mov dword [eax + 8], esi
mov eax, dword [0x499c84]
mov edx, dword [esp]
mov dword [eax + 0xc], edx
mov eax, dword [0x499c84]
mov edx, dword [ebx]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 4]
mov dword [eax + 0x14], edx
xor eax, eax
call fcn.0044e330
cmp dword [0x499c84], 0
je 0x44e6ed
mov eax, dword [0x499c84]
mov edx, dword [ebx]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 4]
mov dword [eax + 0x14], edx
mov eax, dword [0x499c84]
cmp dword [eax + 8], 0
je 0x44e55d
lea ecx, [esp + 8]
mov edx, ebx
mov eax, dword [0x499c84]
mov eax, dword [eax + 8]
call fcn.004503d4
mov eax, dword [0x499c84]
mov edx, dword [esp + 8]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 4]
push eax
mov al, 2
call fcn.0044e330
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [0x499c84]
mov edi, dword [eax]
call dword [edi + 4]
mov edi, eax
cmp dword [0x499ca4], 0
je 0x44e5f6
test esi, esi
je 0x44e596
test byte [esi + 0x51], 0x20
jne 0x44e596
mov eax, dword [0x499c84]
cmp byte [eax + 4], 0
je 0x44e5d7
mov edx, edi
mov eax, dword [0x499ca4]
call fcn.0045a15c
mov eax, dword [0x499ca4]
cmp byte [eax + 0x6a], 0
jne 0x44e5c6
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetCommandLineA
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [0x499ca4]
call fcn.0045a180
jmp 0x44e5f6
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [0x499ca4]
call fcn.0045a27c
jmp 0x44e5f6
mov eax, dword [0x499ca4]
call fcn.0045a2f0
movsx edx, di
mov eax, dword [0x494cfc]
mov eax, dword [eax]
call fcn.00444280
push eax
call sub.KERNEL32.DLL_LocalAlloc
movsx edx, di
mov eax, dword [0x494cfc]
mov eax, dword [eax]
call fcn.00444280
push eax
call sub.KERNEL32.DLL_LocalAlloc
cmp byte [0x499ca0], 2
jne 0x44e6ed
test esi, esi
jne 0x44e636
mov edx, dword [ebx + 4]
push edx
mov ecx, dword [ebx]
mov eax, dword [0x499c84]
mov edx, dword [eax + 0x40]
xchg edx, eax
mov si, 0xffe7
call fcn.0040484c
jmp 0x44e692
call fcn.0044e36c
mov edi, eax
mov eax, dword [0x499c84]
mov dword [eax + 0x60], edi
test edi, edi
jne 0x44e66d
mov eax, dword [0x499c84]
lea edx, [eax + 0x18]
mov eax, dword [0x499c84]
mov eax, dword [eax + 8]
mov si, 0xffd8
call fcn.0040484c
mov edx, dword [0x499c84]
mov byte [edx + 0x5c], al
jmp 0x44e692
lea ecx, [esp + 8]
mov edx, ebx
mov eax, edi
call fcn.004503d4
lea edx, [esp + 8]
mov eax, edi
mov si, 0xffd8
call fcn.0040484c
mov edx, dword [0x499c84]
mov byte [edx + 0x5c], al
cmp dword [0x499c84], 0
je 0x44e6ed
mov ebx, dword [0x499c84]
lea edx, [ebx + 0x64]
lea eax, [ebx + 0x4c]
mov ecx, 0x10
call fcn.00409954
test al, al
jne 0x44e6ed
cmp byte [esp + 4], 0
je 0x44e6d4
mov eax, dword [0x499c84]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x44e6d4
mov eax, dword [0x499c84]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [0x499c84]
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [0x499c84]
lea esi, [eax + 0x4c]
lea edi, [eax + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x10
pop edi
pop esi
pop ebx
ret