Function at 0x417f50
Capabilities:
Accept command line arguments
Check for sandbox username or hostname
Check mutex on windows
Create process on windows
Create thread
Get common file path
Get session user name
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eceda
mov eax, dword fs:[0]
push eax
sub esp, 0xbec
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x840], esi
push 0x40dfe0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x40e290
call fcn.005c9bb4
add esp, 4
push str._kakaogame_update_
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
jne 0x417fd9
push eax
push eax
push esi
push 0x417ea0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x418763
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x418731
cmp eax, 0xb7
je 0x418731
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
mov dword [ebp - 0x844], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [ebp - 0x844]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x834], eax
test eax, eax
je 0x418763
cmp dword [ebp - 0x844], 2
jne 0x4180c8
mov eax, dword [eax + 4]
mov ecx, str.starappplayer:__check_
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41806c
test dx, dx
je 0x418068
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41806c
add eax, 4
add ecx, 4
test dx, dx
jne 0x418046
xor eax, eax
jmp 0x418071
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4180c8
push 0xd0
push eax
lea eax, [ebp - 0x990]
push eax
call fcn.005c7190
add esp, 0xc
lea ecx, [ebp - 0x990]
push 0
push 0xb3
call fcn.0047df57
mov dword [ebp - method.CDummyDlg.virtual_0], vtable.CDummyDlg.0
lea ecx, [ebp - 0x990]
mov dword [ebp - 4], 0
call fcn.0047ea52
lea ecx, [ebp - 0x990]
call fcn.00413ab0
jmp 0x418763
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x83c], 0
call fcn.004050f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x838], 0
call fcn.004050f0
lea edx, [ebp - 0x838]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x83c]
call fcn.004175b0
push dword [ebp - 0x838]
call fcn.005cdc69
add esp, 4
cmp eax, 6
jl 0x4181c6
call fcn.004177f0
test al, al
je 0x4181c6
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x848], 1
push eax
lea eax, [ebp - 0x848]
mov dword [ebp - 0x84c], 0
push eax
call fcn.00417990
test al, al
je 0x4181ab
cmp dword [ebp - 0x848], 2
jne 0x4181c6
push 0x44
lea eax, [ebp - 0x8c0]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0xbe8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xbe8], xmm0
push eax
lea eax, [ebp - 0x8c0]
push eax
push edi
call fcn.00417bf0
test eax, eax
js 0x4181ab
push dword [ebp - 0xbe4]
call esi
push dword [ebp - 0xbe8]
call esi
lea ecx, [ebp - 0x838]
call fcn.00405250
lea ecx, [ebp - 0x83c]
call fcn.00405250
jmp 0x418763
push str._kakaogame_launcher_
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x4181ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x418337
cmp eax, 0xb7
je 0x418337
mov eax, dword [ebp - 0x834]
push dword [eax]
call fcn.004178a0
test al, al
jne 0x418211
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call eax
push edi
jmp 0x4181a9
push 0
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 1
push eax
mov eax, dword [ebp - 0x840]
add eax, 0xcc
mov dword [ebp - 0x860], 0
push eax
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x418206
lea eax, [ebp - 0x854]
mov dword [ebp - 0x854], 8
push eax
mov dword [ebp - 0x850], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x840]
call fcn.0048f806
push 0
call fcn.00490bfa
add esp, 4
push 0x607f88
call fcn.0049989d
push 0x248
lea eax, [ebp - 0xbd8]
push 0
push eax
call fcn.005c7190
add esp, 8
lea ecx, [ebp - 0xbd8]
call fcn.0041b0e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd8]
cmp dword [ebp - 0x844], 2
mov eax, dword [ebp - 0x840]
mov dword [eax + 0x20], ecx
jne 0x4182f1
mov eax, dword [ebp - 0x834]
push ecx
mov ecx, esp
push dword [eax + 4]
call fcn.00404b00
lea ecx, [ebp - 0xbd8]
call fcn.0041b440
lea ecx, [ebp - 0xbd8]
call fcn.0047ea52
call fcn.0049cd05
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call eax
push edi
call esi
lea ecx, [ebp - 0xbd8]
call fcn.00418780
lea ecx, [ebp - 0x838]
call fcn.00405250
lea ecx, [ebp - 0x83c]
call fcn.00405250
mov eax, 1
jmp 0x418765
push 0x410
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005c7190
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005c7190
add esp, 0x18
mov dword [ebp - 0x84c], 0x208
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x218]
push eax
push 0x63e638
lea eax, [ebp - 0x830]
push 0x63e66c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
add esp, 0x10
movq qword [ebp - 0xbe0], xmm0
mov dword [ebp - method.CPipeSender.virtual_0], vtable.CPipeSender.0
mov dword [ebp - 0xbdc], 0xffffffff
mov byte [ebp - 4], 3
cmp dword [ebp - 0x844], 1
jne 0x4186c8
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005c7190
add esp, 0xc
mov dword [ebp - 0x840], 0
lea ecx, [ebp - 0x840]
call fcn.004050f0
push 0
push 0x1c
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 4
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x840]
call fcn.00404ab0
push 0x63d128
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0xbec]
push eax
call fcn.0040a7c0
push str.Kakao
push eax
lea eax, [ebp - 0xbf8]
mov byte [ebp - 4], 5
push eax
call fcn.0040a7c0
push 0x63d128
push eax
lea eax, [ebp - 0xbf4]
mov byte [ebp - 4], 6
push eax
call fcn.0040a7c0
push 0x63d060
push eax
lea eax, [ebp - 0xbf0]
mov byte [ebp - 4], 7
push eax
call fcn.0040a7c0
push 0x63d128
push eax
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 8
push eax
call fcn.0040a7c0
add esp, 0x3c
push eax
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 9
call fcn.00404270
lea ecx, [ebp - 0x848]
call fcn.00405250
lea ecx, [ebp - 0xbf0]
call fcn.00405250
lea ecx, [ebp - 0xbf4]
call fcn.00405250
lea ecx, [ebp - 0xbf8]
call fcn.00405250
lea ecx, [ebp - 0xbec]
mov byte [ebp - 4], 4
call fcn.00405250
push 0x63ca44
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x834], 0
call fcn.00404b00
xorps xmm0, xmm0
mov byte [ebp - 4], 0xa
movups xmmword [ebp - 0x87c], xmm0
movq qword [ebp - 0x86c], xmm0
lea ecx, [ebp - 0x87c]
call fcn.004901ea
push str.server_type.ini
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xbec]
push eax
call fcn.0040a7c0
add esp, 0xc
push 0
push 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x87c]
push dword [eax]
call fcn.004905c1
lea ecx, [ebp - 0xbec]
mov byte [ebp - 4], 0xb
mov esi, eax
call fcn.00405250
test esi, esi
je 0x418577
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x87c]
call fcn.0049074e
lea ecx, [ebp - 0x834]
call fcn.00418c10
mov ecx, eax
call fcn.00418b60
lea ecx, [ebp - 0x834]
call fcn.00418aa0
lea eax, [ebp - 0x834]
push eax
push 0x63e698
call fcn.00409e50
add esp, 8
test al, al
je 0x4185c2
push 1
push 0x63ca44
push 0x63ca44
push str.https:__beta.starplay.game_
jmp 0x418648
lea eax, [ebp - 0x834]
push eax
push 0x63e6dc
call fcn.00409e50
add esp, 8
test al, al
je 0x4185ed
push 1
push 0x63ca44
push 0x63ca44
push str.https:__sandbox.starplay.game_
jmp 0x418648
lea eax, [ebp - 0x834]
push eax
push 0x63e72c
call fcn.00409e50
add esp, 8
test al, al
je 0x418618
push 1
push 0x63ca44
push 0x63ca44
push str.https:__alpha.starplay.game_
jmp 0x418648
lea eax, [ebp - 0x834]
push eax
push str.local
call fcn.00409e50
add esp, 8
push 1
push 0x63ca44
push 0x63ca44
test al, al
je 0x418643
push str.http:__local.starplay.game:9091_
jmp 0x418648
push str.https:__starplay.game_
push 0x63ce18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ecx
lea eax, [ebp - 0x830]
mov ecx, esp
push eax
call fcn.00404b00
lea ecx, [ebp - 0xbe0]
call fcn.0044de60
test al, al
je 0x41869f
push str.starappplayer:__player__id_kakaogame_run_player_
lea ecx, [ebp - 0xbec]
call fcn.00418a00
push dword [eax]
lea eax, [ebp - 0xbe0]
push eax
call fcn.0044deb0
add esp, 8
lea ecx, [ebp - 0xbec]
call fcn.00405250
lea ecx, [ebp - 0x87c]
call fcn.0049021f
lea ecx, [ebp - 0x834]
call fcn.00405250
lea ecx, [ebp - 0x840]
call fcn.00405250
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418716
push ecx
lea eax, [ebp - 0x830]
mov ecx, esp
push eax
call fcn.00404b00
lea ecx, [ebp - 0xbe0]
call fcn.0044de60
test al, al
je 0x418716
mov eax, dword [ebp - 0x834]
lea ecx, [ebp - 0xbec]
push dword [eax + 4]
call fcn.00418a00
push dword [eax]
lea eax, [ebp - 0xbe0]
push eax
call fcn.0044deb0
add esp, 8
lea ecx, [ebp - 0xbec]
call fcn.00405250
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call eax
push edi
call esi
lea ecx, [ebp - 0xbe0]
call fcn.0044de40
jmp 0x4181ab
push 0
push 0
push esi
push 0x417ea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
ret