Function at 0x1c3c340
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x1cff040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d1c2e8]
test eax, eax
jne 0x1c3c51a
mov esi, 0xc
push esi
call fcn.01c86c86
add esp, 4
xorps xmm0, xmm0
movsd qword [eax], xmm0
xor edi, edi
mov dword [eax + 8], edi
mov dword [ebp - 0x40], eax
mov dword [0x1d1c2e8], eax
push esi
call fcn.01c86c86
add esp, 4
mov esi, eax
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], edi
mov dword [0x1d1c2ec], eax
call fcn.01c3dcc0
mov eax, dword [eax + 4]
mov edi, dword [eax + 8]
push str.user_data_dir
call fcn.01ca0524
add esp, 4
cmp eax, 0x7ffffff8
jae 0x1c3c5ea
mov ebx, eax
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x28]
cmp ebx, 4
jbe 0x1c3c589
mov esi, ebx
or esi, 3
inc esi
js 0x1c3c5cf
lea eax, [esi + esi]
push eax
call fcn.01c86c86
add esp, 4
mov dword [ebp - 0x28], eax
or esi, 0x80000000
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
lea esi, [eax + ebx*2]
mov ecx, str.user_data_dir
cmp eax, ecx
seta dl
cmp esi, ecx
setbe cl
or cl, dl
je 0x1c3c5db
test ebx, ebx
je 0x1c3c426
add ebx, ebx
push ebx
push str.user_data_dir
push eax
call fcn.01c8a630
add esp, 0xc
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x1c3c5d4
mov esi, eax
push eax
call fcn.01ca0524
add esp, 4
cmp eax, 0x7ffffff8
jae 0x1c3c5f2
mov ebx, eax
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x34]
cmp ebx, 4
jbe 0x1c3c591
mov edi, ebx
or edi, 3
inc edi
js 0x1c3c5cf
lea eax, [edi + edi]
push eax
call fcn.01c86c86
add esp, 4
mov dword [ebp - 0x34], eax
or edi, 0x80000000
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
lea edi, [eax + ebx*2]
cmp eax, esi
seta cl
cmp edi, esi
setbe dl
or dl, cl
je 0x1c3c5db
test ebx, ebx
je 0x1c3c4ad
add ebx, ebx
push ebx
push esi
push eax
call fcn.01c8a630
add esp, 0xc
mov word [edi], 0
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.01c3d0e0
add esp, 0xc
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push esi
call fcn.01c3bdd0
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xb], 0
jns 0x1c3c4eb
push dword [ebp - 0x1c]
call fcn.01c86cb6
add esp, 4
cmp byte [ebp - 0x29], 0
jns 0x1c3c4fc
push dword [ebp - 0x34]
call fcn.01c86cb6
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x1c3c50d
push dword [ebp - 0x28]
call fcn.01c86cb6
add esp, 4
test bl, bl
je 0x1c3c5fa
mov eax, dword [0x1d1c2e8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x1c3c53c
cmp byte [ecx + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x1c3c5a9
test dl, dl
jns 0x1c3c579
push dword [eax + 4]
push dword [eax]
call fcn.01c39f00
mov bl, 1
test esi, esi
je 0x1c3c565
mov eax, dword [0x1d1c2ec]
cmp eax, esi
je 0x1c3c565
cmp byte [esi + 0xb], 0
movzx edx, byte [eax + 0xb]
js 0x1c3c5bb
test dl, dl
jns 0x1c3c599
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.01c39f00
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c87bd3
mov eax, ebx
add esp, 0x34
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 0x1c3c53c
mov byte [ebp - 0x1d], bl
jmp 0x1c3c3f7
mov byte [ebp - 0x29], bl
jmp 0x1c3c487
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
jmp 0x1c3c565
test dl, dl
jns 0x1c3c5b2
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.01c39e30
jmp 0x1c3c53c
test dl, dl
jns 0x1c3c5c4
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, esi
push edx
push eax
call fcn.01c39e30
jmp 0x1c3c565
call fcn.01cb3190
push str....._third_partylibc_srcinclude_string:973:_assertion___s___nullptr_failed:_basic_string_const_char__detected_nullptr_n
jmp 0x1c3c5e0
push str....._third_partylibc_srcinclude__stringchar_traits.h:222:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
push 0x1ce99e6
call fcn.01cb3fe0
lea ecx, [ebp - 0x28]
call fcn.01cb3170
lea ecx, [ebp - 0x34]
call fcn.01cb3170
xor ebx, ebx
jmp 0x1c3c565