Function at 0x44ee90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4a7b38], eax
call fcn.0043ca30
test eax, eax
jne 0x44f107
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
cmp word [esi], 0x22
jne 0x44eebf
push 0x22
lea ecx, [esi + 2]
push ecx
jmp 0x44eec2
push 0x20
push esi
call fcn.00469386
add esp, 8
test eax, eax
jne 0x44eed2
mov eax, esi
jmp 0x44eed5
add eax, 2
push eax
call fcn.0043b450
add esp, 4
call fcn.00407250
test eax, eax
je 0x44f0fc
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
push dword [0x4a7cf4]
call fcn.0046df63
mov esi, eax
add esp, 4
mov dword [0x4a7d30], esi
test esi, esi
je 0x44f07c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ef14
sub ecx, edx
mov edx, dword [str.stdrtd.txt]
push edi
sar ecx, 1
lea edi, [edx + 2]
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44ef30
sub edx, edi
sar edx, 1
push ebx
lea eax, [edx + 2]
add eax, ecx
push 2
push eax
call fcn.004688e4
mov ebx, eax
add esp, 8
mov edx, ebx
movzx ecx, word [esi]
mov word [edx], cx
lea esi, [esi + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x44ef54
push ebx
call fcn.0041ee10
mov edx, dword [str.stdrtd.txt]
add esp, 4
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44ef76
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44ef86
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
push dword [0x4a7b38]
mov ecx, 0x4a7d40
call fcn.0045c540
push ebx
call fcn.00467c86
add esp, 4
cmp dword [0x4a7d30], 0
je 0x44f07a
push str.mmfs2.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x44f07a
mov esi, dword [0x4a7d30]
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44eff0
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 0xb]
push eax
call fcn.004688e4
mov edi, eax
add esp, 8
mov edx, edi
movzx ecx, word [esi]
mov word [edx], cx
lea esi, [esi + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x44f011
push edi
call fcn.0041ee10
add esp, 4
lea ecx, [edi - 2]
mov edi, edi
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x44f030
mov eax, dword [str.mmfs2.txt]
mov dword [ecx], eax
mov eax, dword [0x4819e8]
mov dword [ecx + 4], eax
mov eax, dword [0x4819ec]
mov dword [ecx + 8], eax
mov eax, dword [0x4819f0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4819f4]
push 0
push edi
mov dword [ecx + 0x10], eax
push ebx
mov ecx, 0x4a7d40
call fcn.0045c540
push edi
call fcn.00467c86
add esp, 4
pop ebx
pop edi
xor esi, esi
cmp dword [0x4a4fe8], esi
jne 0x44f090
mov esi, dword [0x4a7cd4]
test esi, esi
je 0x44f0fc
call fcn.0043bdc0
test eax, eax
jne 0x44f0e0
call fcn.00440560
test eax, eax
jne 0x44f0e0
call fcn.0041db90
test eax, eax
je 0x44f0fc
push 0
push dword [0x4a7b38]
call sub.MMFS2.dll_Ordinal_2
mov ecx, eax
mov dword [0x4a7d14], ecx
cmp ecx, 0x20
ja 0x44f10d
xor eax, eax
cmp ecx, 1
setne al
mov dword [0x4a7d14], 0
lea eax, [eax*8 + 0xf]
test eax, eax
jle 0x44f0fc
test byte [0x4a7ce6], 1
je 0x44f0fc
push 0x40
push eax
push dword [0x4a7b48]
call fcn.0043c950
add esp, 0xc
call fcn.0043b2c0
call fcn.00407900
pop esi
xor eax, eax
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
push 0
push esi
call fcn.00403b10
mov esi, eax
add esp, 0x18
test esi, esi
je 0x44f0fc
call fcn.0043bd90
push esi
call fcn.00405a30
add esp, 4
test eax, eax
je 0x44f158
jmp 0x44f140
push 0
push esi
call fcn.004052c0
add esp, 8
test eax, eax
jne 0x44f140
push esi
call fcn.00402ba0
add esp, 4
push esi
call fcn.004027c0
add esp, 4
call fcn.0043b2c0
call fcn.00407900
pop esi
xor eax, eax
pop ebp
ret 0x10