Function at 0x10049950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e000
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10071f70
mov edi, dword [0x101ded4c]
mov esi, eax
push str.SETUPDATA
push 0xd7
push edi
mov ecx, dword [esi]
push esi
call dword [ecx + 0x18]
test eax, eax
jne 0x10049a76
push str.InitPackInfo_failed__exit
call fcn.1004d370
add esp, 4
push 1
push 0
push 0
push 4
push 0x1018bbac
push 0
call fcn.1006f540
cmp eax, 6
jne 0x100499db
push 1
push 0
push 0
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_ludashisetup2020.exe
push 0x101879bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10049ba1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
push eax
call fcn.1000b130
add esp, 0x10
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 1
call fcn.100349e0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.10030b90
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10049a63
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.1004d370
mov eax, dword [esi]
add esp, 4
push str.lds.ldsprj
push str.SETUPCONFIG
push 0xd5
push edi
push esi
call dword [eax + 0x14]
test eax, eax
jne 0x10049b7e
push str.InitConfig_failed__exit
call fcn.1004d370
add esp, 4
push 1
push 0
push 0
push 4
push 0x1018bbac
push 0
call fcn.1006f540
cmp eax, 6
jne 0x10049adf
push 1
push 0
push 0
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_ludashisetup2020.exe
push 0x101879bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10049bab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push str._sInitConfig:_d
push eax
call fcn.1000b130
add esp, 0x10
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 3
call fcn.100349e0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10030b90
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10049a63
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InitConfig_success
call fcn.1004d370
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ae00
push 0x80004005
call fcn.1000ae00
int3