Function at 0x40b1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x508
mov eax, dword [0x4fd43c]
xor eax, esp
mov dword [esp + 0x504], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
call fcn.00436c40
lea eax, [esp + 0x130]
push eax
call fcn.0043aec0
add esp, 4
lea ecx, [esp + 0x130]
push 4
push str.log_
call fcn.00403ef0
lea eax, [esp + 0x130]
push eax
call fcn.0043aa50
add esp, 4
test al, al
jne 0x40b256
lea eax, [esp + 0x130]
push eax
call fcn.0043aa70
add esp, 4
push 0xd
push str.LDPlayerX.log
lea ecx, [esp + 0x138]
call fcn.00403ef0
sub esp, 0x18
lea eax, [esp + 0x148]
mov ecx, esp
push eax
call fcn.0040bee0
call fcn.00436c70
push str._r_n_r_n_LDPlayerX_start_
push 0x6d
push str.wWinMain
call fcn.00436bb0
add esp, 0x24
push edi
push str.cmd:_s
push 0x6e
push str.wWinMain
call fcn.00436bb0
lea eax, [esp + 0xd0]
push eax
call fcn.0043aec0
add esp, 0x14
lea ecx, [esp + 0xc0]
push 0xf
push str.crashreport.dll
call fcn.00403ef0
cmp dword [esp + 0xd4], 8
lea eax, [esp + 0xc0]
cmovae eax, dword [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40b3c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitBugReport
push edi
call esi
test eax, eax
je 0x40b3c9
push str.LDPlayerX
push str.1.9.0
push str.LDPlayerX
call eax
add esp, 0xc
push str.SetShowReportUI
push edi
call esi
test eax, eax
je 0x40b3c9
push 0
call eax
add esp, 4
push str.SetCrashCallback
push edi
call esi
test eax, eax
je 0x40b348
push 0x40b1c0
call eax
add esp, 4
push str.SetRestartExePath
push edi
call esi
mov esi, eax
test esi, esi
je 0x40b3c9
push 0x20a
lea eax, [esp + 0x14c]
push 0
push eax
call fcn.004a3c10
add esp, 0xc
lea eax, [esp + 0x148]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x148]
push eax
call esi
mov edx, dword [esp + 0xd8]
add esp, 4
cmp edx, 8
jb 0x40b40b
mov ecx, dword [esp + 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b401
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb13
jmp 0x40b401
mov edx, dword [esp + 0xd4]
cmp edx, 8
jb 0x40b40b
mov ecx, dword [esp + 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b401
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb13
push edx
push ecx
call fcn.004a1afe
add esp, 8
push 3
call dword [sym.imp.libcurl.dll_curl_global_init]
mov esi, dword [esp + 0x1c]
add esp, 4
mov ecx, 0x504450
push esi
call fcn.00418040
mov edx, 0x504664
mov ecx, 0x504560
call fcn.00402d80
push esi
push dword [esp + 0x18]
mov ecx, 0x4fe1b8
call fcn.0040db20
test al, al
jne 0x40b46b
push str.process_exist_
push 0x7a
push str.wWinMain
call fcn.00436bb0
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40babd
lea eax, [esp + 0x20]
push eax
call fcn.0043aec0
add esp, 4
mov ecx, eax
push 7
push str._fonts_
call fcn.00403ef0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [esp + 0x34]
movq qword [esp + 0xd0], xmm0
cmp edx, 8
jb 0x40b4ee
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b4e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb18
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ecx, dword [0x5046d4]
test ecx, ecx
jne 0x40b567
push ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xf4], ecx
lea ecx, [esp + 0xe4]
push 0x4e2908
mov dword [esp + 0xfc], 7
call fcn.00403dd0
mov edx, dword [esp + 0xd4]
cmp edx, 8
jb 0x40b5aa
mov ecx, dword [esp + 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b55b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb27
push edx
push ecx
call fcn.004a1afe
add esp, 8
jmp 0x40b5aa
cmp dword [0x5046d8], 8
mov eax, 0x5046c4
push ecx
cmovae eax, dword [0x5046c4]
lea ecx, [esp + 0xc4]
push eax
call fcn.00403ef0
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0xe0], xmm0
movq xmm0, qword [esp + 0xd0]
movq qword [esp + 0xf0], xmm0
cmp dword [esp + 0xf0], 0
je 0x40b5f7
cmp dword [esp + 0xf4], 8
lea eax, [esp + 0xe0]
push 0
cmovae eax, dword [esp + 0xe4]
push 0x10
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.load_Noto_Sans_fonts_ret:_d__error:_d
push 0x83
push str.wWinMain
call fcn.00436bb0
add esp, 0x14
push 0x50467c
lea ecx, [esp + 0x11c]
call fcn.00404840
cmp dword [esp + 0x12c], 8
lea eax, [esp + 0x118]
cmovae eax, dword [esp + 0x118]
push eax
push str.language:_s
push 0x88
push str.wWinMain
call fcn.00436bb0
add esp, 0x10
lea edi, [esp + 0x118]
cmp dword [esp + 0x12c], 8
jb 0x40b653
mov esi, dword [esp + 0x118]
mov edi, esi
jmp 0x40b65a
lea esi, [esp + 0x118]
push dword [esp + 0x14]
call fcn.0045b1b0
add esp, 4
push edi
push esi
call fcn.0045b240
lea eax, [esp + 0x150]
push eax
call fcn.00456710
add esp, 0xc
lea ecx, [esp + 0x38]
push str.skin
push ecx
mov ecx, eax
call fcn.0045ce10
mov ecx, eax
call fcn.0040bfc0
push eax
call fcn.0045b640
add esp, 4
lea ecx, [esp + 0x38]
call fcn.0045ccc0
lea ecx, [esp + 0x148]
call fcn.0045ccc0
push str.multi_language.tsv
push 0x81
call fcn.00456d70
add esp, 8
cmp byte [0x50457e], 0
je 0x40b6e7
push str.run_from_service
push 0x8e
push str.wWinMain
call fcn.00436bb0
add esp, 0xc
jmp 0x40b758
push str.not_run_from_service
push 0x91
push str.wWinMain
call fcn.00436bb0
add esp, 0xc
mov ecx, 0x4fe1b8
call fcn.0040dd80
push str.create_frame
push 0x95
push str.wWinMain
call fcn.00436bb0
mov ecx, dword [0x4fe1c4]
add esp, 0xc
call fcn.0045d3f0
push ecx
push dword [0x4fe1bc]
mov ecx, 0x504450
call fcn.0041e7a0
push 8
call fcn.004a187d
add esp, 4
mov ecx, 0x50432c
mov dword [eax], vtable.FunctionRunable_class__lambda_04ead70df41e29a905091ff684e44772__.0
push eax
push 0x64
call fcn.00436d60
call fcn.00459a90
mov ecx, 0x50432c
call fcn.00436db0
cmp dword [esp + 0xf0], 0
je 0x40b78f
cmp dword [esp + 0xf4], 8
lea eax, [esp + 0xe0]
cmovae eax, dword [esp + 0xe0]
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
call fcn.00434070
mov al, byte [eax + 0x180]
mov byte [esp + 0x13], al
call fcn.00434070
add eax, 0x168
lea ecx, [esp + 0x100]
push eax
call fcn.00404840
cmp dword [esp + 0x114], 8
lea eax, [esp + 0x100]
cmovae eax, dword [esp + 0x100]
push eax
movzx eax, byte [esp + 0x17]
push eax
push str.It_is_needUpdate_:__d__path__s
push 0xaf
push str.wWinMain
call fcn.00436bb0
add esp, 0x14
cmp dword [0x4fe538], 0
je 0x40b83d
mov ecx, 0x4fe540
call fcn.00436db0
lea eax, [esp + 0x148]
mov ecx, 0x4fe4e0
push eax
call fcn.00433860
lea eax, [esp + 0x148]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x4fe538]
push 1
call fcn.0045dd30
mov dword [0x4fe538], 0
mov byte [0x4fe53c], 0
mov ecx, dword [0x5043cc]
test ecx, ecx
je 0x40b84e
push 1
call fcn.0045dd30
push 0x64
mov ecx, 0x504398
call fcn.0043bbd0
call dword [sym.imp.libcurl.dll_curl_global_cleanup]
call fcn.00436c60
cmp byte [esp + 0x13], 0
je 0x40b997
cmp dword [esp + 0x110], 0
jbe 0x40b997
push 0x11
push str.fromupdatepath
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 7
call fcn.00403dd0
lea eax, [esp + 0x20]
push eax
call fcn.0043aec0
add esp, 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40b8ca
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0xc8]
call fcn.00403ef0
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x40b914
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b90a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb1d
push edx
push ecx
call fcn.004a1afe
add esp, 8
cmp dword [esp + 0xd4], 8
lea ecx, [esp + 0xc0]
push 0
cmovae ecx, dword [esp + 0xc4]
lea eax, [esp + 0x104]
cmp dword [esp + 0x118], 8
push 0
cmovae eax, dword [esp + 0x108]
push ecx
push eax
push 0x4e3a78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [esp + 0xd4]
cmp edx, 8
jb 0x40b997
mov ecx, dword [esp + 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b98d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb22
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov edx, dword [esp + 0x114]
cmp edx, 8
jb 0x40b9d9
mov ecx, dword [esp + 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b9cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb27
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov edx, dword [esp + 0x12c]
xor eax, eax
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 7
mov word [esp + 0x100], ax
cmp edx, 8
jb 0x40ba3b
mov ecx, dword [esp + 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb27
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov edx, dword [esp + 0xf4]
xor eax, eax
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 7
mov word [esp + 0x118], ax
cmp edx, 8
jb 0x40ba9d
mov ecx, dword [esp + 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb27
push edx
push ecx
call fcn.004a1afe
add esp, 8
xor eax, eax
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 7
mov word [esp + 0xe0], ax
mov edx, dword [esp + 0x144]
cmp edx, 8
jb 0x40bafb
mov ecx, dword [esp + 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40baf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb27
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ecx, dword [esp + 0x50c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 0x10
call fcn.004a670d
call fcn.004a670d
call fcn.004a670d
call fcn.004a670d
call fcn.004a670d
int3