Function at 0x42eff0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4fae08]
test eax, eax
jne 0x42f1bf
mov esi, 0xc
push esi
call fcn.0046ecad
add esp, 4
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [ebp - 0x44], eax
mov dword [0x4fae08], eax
push esi
call fcn.0046ecad
add esp, 4
mov esi, eax
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [0x4fae0c], eax
call fcn.0042d060
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
push str.user_data_dir
call fcn.00488da9
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42f285
mov ebx, eax
mov dword [ebp - 0x40], esi
cmp eax, 5
jae 0x42f09c
lea esi, [ebp - 0x28]
mov byte [esi + 0xb], bl
cmp ebx, 3
jne 0x42f242
movzx eax, word [0x4d9e44]
mov word [ebp - 0x24], ax
mov eax, dword [str.user_data_dir]
mov dword [ebp - 0x28], eax
jmp 0x42f0d2
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0046ecad
add esp, 4
mov esi, eax
mov dword [ebp - 0x28], eax
or edi, 0x80000000
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov eax, ebx
add eax, ebx
push eax
push str.user_data_dir
push esi
call fcn.004722b0
add esp, 0xc
mov word [esi + ebx*2], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push eax
call fcn.00488da9
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42f28d
mov ebx, eax
cmp eax, 5
jae 0x42f119
lea edi, [ebp - 0x34]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x42f24f
movzx eax, word [esi + 4]
mov word [ebp - 0x30], ax
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
jmp 0x42f151
mov dword [ebp - 0x38], esi
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0046ecad
add esp, 4
mov edi, eax
mov dword [ebp - 0x34], eax
or esi, 0x80000000
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x30], ebx
mov eax, ebx
add eax, ebx
push eax
push esi
push edi
call fcn.004722b0
add esp, 0xc
mov word [edi + ebx*2], 0
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x34]
lea esi, [ebp - 0x1c]
push eax
push ecx
push esi
call fcn.0042d390
add esp, 0xc
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
push esi
call fcn.0042e6e0
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xb], 0
jns 0x42f190
push dword [ebp - 0x1c]
call fcn.0046ecdd
add esp, 4
cmp byte [ebp - 0x29], 0
jns 0x42f1a1
push dword [ebp - 0x34]
call fcn.0046ecdd
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x42f1b2
push dword [ebp - 0x28]
call fcn.0046ecdd
add esp, 4
test bl, bl
je 0x42f295
mov eax, dword [0x4fae08]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x42f1e5
cmp byte [ecx + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x42f25c
test dl, dl
jns 0x42f222
push dword [eax + 4]
push dword [eax]
call fcn.00423c90
mov bl, 1
test esi, esi
je 0x42f20e
mov eax, dword [0x4fae0c]
cmp eax, esi
je 0x42f20e
cmp byte [esi + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x42f271
test dl, dl
jns 0x42f232
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.00423c90
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, ebx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x42f1e5
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
jmp 0x42f20e
test ebx, ebx
jne 0x42f0bf
jmp 0x42f0d2
test ebx, ebx
jne 0x42f142
jmp 0x42f151
test dl, dl
jns 0x42f265
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.00423b80
jmp 0x42f1e5
test dl, dl
jns 0x42f27a
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, esi
push edx
push eax
call fcn.00423b80
jmp 0x42f20e
lea ecx, [ebp - 0x28]
call fcn.004b4130
lea ecx, [ebp - 0x34]
call fcn.004b4130
xor ebx, ebx
jmp 0x42f20e