Function at 0x424730
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x4e2024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e7fc8]
test eax, eax
jne 0x4248ff
mov esi, 0xc
push esi
call fcn.0046acad
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 [0x4e7fc8], eax
push esi
call fcn.0046acad
add esp, 4
mov esi, eax
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [0x4e7fcc], eax
call fcn.00422a00
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
push str.user_data_dir
call fcn.00483176
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4249c5
mov ebx, eax
mov dword [ebp - 0x40], esi
cmp eax, 5
jae 0x4247dc
lea esi, [ebp - 0x28]
mov byte [esi + 0xb], bl
cmp ebx, 3
jne 0x424982
movzx eax, word [0x4d3ffc]
mov word [ebp - 0x24], ax
mov eax, dword [str.user_data_dir]
mov dword [ebp - 0x28], eax
jmp 0x424812
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0046acad
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.0046e010
add esp, 0xc
mov word [esi + ebx*2], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push eax
call fcn.00483176
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4249cd
mov ebx, eax
cmp eax, 5
jae 0x424859
lea edi, [ebp - 0x34]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x42498f
movzx eax, word [esi + 4]
mov word [ebp - 0x30], ax
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
jmp 0x424891
mov dword [ebp - 0x38], esi
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0046acad
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.0046e010
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.00422d30
add esp, 0xc
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
push esi
call fcn.00424050
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xb], 0
jns 0x4248d0
push dword [ebp - 0x1c]
call fcn.0046acdd
add esp, 4
cmp byte [ebp - 0x29], 0
jns 0x4248e1
push dword [ebp - 0x34]
call fcn.0046acdd
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x4248f2
push dword [ebp - 0x28]
call fcn.0046acdd
add esp, 4
test bl, bl
je 0x4249d5
mov eax, dword [0x4e7fc8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x424925
cmp byte [ecx + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x42499c
test dl, dl
jns 0x424962
push dword [eax + 4]
push dword [eax]
call fcn.0041c2e0
mov bl, 1
test esi, esi
je 0x42494e
mov eax, dword [0x4e7fcc]
cmp eax, esi
je 0x42494e
cmp byte [esi + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x4249b1
test dl, dl
jns 0x424972
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.0041c2e0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b8b5
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 0x424925
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
jmp 0x42494e
test ebx, ebx
jne 0x4247ff
jmp 0x424812
test ebx, ebx
jne 0x424882
jmp 0x424891
test dl, dl
jns 0x4249a5
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.0041c1d0
jmp 0x424925
test dl, dl
jns 0x4249ba
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, esi
push edx
push eax
call fcn.0041c1d0
jmp 0x42494e
lea ecx, [ebp - 0x28]
call fcn.004a96f0
lea ecx, [ebp - 0x34]
call fcn.004a96f0
xor ebx, ebx
jmp 0x42494e