Function at 0x40ecb0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470de6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push 0xc
mov dword [ebp - 0x54], 0
call fcn.004511c8
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [eax + 4], str.PreloadInstaller
push 0
push 0
push eax
push 0x4191d0
push 0
push 0
mov dword [eax], vtable.Util::SimpleThreadAdapter.0
mov dword [eax + 8], 0x4081a0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4d332b], 0
je 0x40ed54
call fcn.0040ad00
test al, al
je 0x40ed4d
xor ecx, ecx
call fcn.00408cb0
xor eax, eax
jmp 0x40f466
mov eax, dword [str.Roobert_TW]
xorps xmm0, xmm0
mov edx, dword [0x49fa58]
push 1
push ecx
push 0x8066
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x54], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00449190
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
mov esi, dword [ebp - 0x34]
add esp, 0xc
sub eax, esi
push ecx
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
test esi, esi
je 0x40edd2
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x40edc8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f484
push ecx
push esi
call fcn.00451449
add esp, 8
mov ecx, dword [0x4d3310]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x18], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
movups xmm0, xmmword [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x20], 1
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], str.background
push eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x58], 0
call fcn.00428a10
mov eax, dword [ebp - 0x58]
add esp, 0x18
mov dword [ebp - 0x54], 1
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 0xff17141f
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x58], 0xff17141f
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x5c], 0xff17141f
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x60], 0xff17141f
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.004283c0
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40eeb7
mov ecx, esi
call fcn.00427000
push 0xc0
push esi
call fcn.00451449
add esp, 8
mov eax, dword [0x4d3310]
mov esi, dword [0x49fd88]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0xe6
movups xmm0, xmmword [ebp - 0x38]
lea eax, [ecx - 0xc8]
mov byte [ebp - 0x20], 0
cdq
sub eax, edx
mov byte [ebp - 0x1c], 0
mov edi, eax
mov byte [ebp - 0x18], 1
sar edi, 1
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], str.logo
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x58]
call fcn.00428a10
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x38]
push 0x18a
mov edx, esi
mov dword [ebp - 0x54], 3
mov dword [eax + 0x50], 2
mov eax, dword [ebp - 0x58]
movups xmmword [eax + 0x1c], xmm0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x34], 1
call fcn.00426110
mov ecx, dword [ebp - 0x58]
add esp, 0x1c
lea edx, [ecx + 0x68]
cmp edx, eax
je 0x40efb0
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [edx]
mov dword [edx], ecx
test eax, eax
je 0x40efad
push eax
call fcn.004289a0
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40efc0
push eax
call fcn.004289a0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xa8], 0
jne 0x40efdb
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ecx + 0xa8], eax
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xac], 0
jne 0x40eff3
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0xac], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004283c0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40f01f
mov ecx, esi
call fcn.00427000
push 0xc0
push esi
call fcn.00451449
add esp, 8
mov ecx, dword [0x4d2ea0]
test ecx, ecx
je 0x40f057
mov esi, dword [ecx + 0x34]
mov eax, 0x2aaaaaab
mov ecx, dword [ecx + 0x38]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x27
jb 0x40f057
add esi, 0x390
cmp dword [esi + 0x14], 8
jb 0x40f05c
mov esi, dword [esi]
jmp 0x40f05c
mov esi, 0x47c32c
mov eax, dword [0x4d3310]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], 0xaa
mov dword [ebp - 0x2c], 0xba
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
movups xmm0, xmmword [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], 0
push eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x54], str.progress.text
mov dword [ebp - 0x58], 0
call fcn.00428a10
mov eax, dword [ebp - 0x58]
add esp, 0x14
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x50], 3
call fcn.00426330
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [ecx + 0x70], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x70]
mov dword [eax + 0x74], ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x78], esi
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x58], 0xfffaf9fa
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x60], 0xfffaf9fa
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x98], 0
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x99], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
call fcn.004283c0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40f157
mov ecx, esi
call fcn.00427000
push 0xc0
push esi
call fcn.00451449
add esp, 8
mov eax, dword [0x4d3310]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x38], edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], 0xc6
mov dword [ebp - 0x2c], 0xc9
mov eax, dword [eax + 4]
sub eax, edi
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
movups xmm0, xmmword [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], str.progress.total
push eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x58], 0
call fcn.00428a10
mov eax, dword [ebp - 0x58]
add esp, 0x18
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 0x32ffffff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x58], 0x32ffffff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x5c], 0x32ffffff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x60], 0x32ffffff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], 0xf
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push eax
call fcn.004283c0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40f23a
mov ecx, esi
call fcn.00427000
push 0xc0
push esi
call fcn.00451449
add esp, 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], edi
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], 0xc6
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0xc9
movups xmm0, xmmword [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 0x1c], 0
push eax
lea edx, [ebp - 0x50]
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x50], str.progress.currentIn
mov dword [ebp - 0x58], 0
call fcn.00428a10
mov eax, dword [ebp - 0x58]
add esp, 0x18
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 0xff9147ff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x58], 0xff9147ff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x5c], 0xff9147ff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x60], 0xff9147ff
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], 0xf
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 4
push eax
call fcn.004283c0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x40f313
mov ecx, esi
call fcn.00427000
push 0xc0
push esi
call fcn.00451449
add esp, 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], edi
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], 0xc6
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0xc9
movups xmm0, xmmword [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 0x1c], 0
push eax
lea edx, [ebp - 0x50]
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x50], str.progress.currentOut
mov dword [ebp - 0x4c], 0
call fcn.00428a10
mov eax, dword [ebp - 0x4c]
add esp, 0x18
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x54], 0xff9147ff
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x58], 0xff9147ff
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x5c], 0xff9147ff
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x60], 0xff9147ff
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x6c], 0xf
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 5
push eax
call fcn.004283c0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x40f3ec
mov ecx, esi
call fcn.00427000
push 0xc0
push esi
call fcn.00451449
add esp, 8
cmp byte [0x4d31f9], 0
je 0x40f417
cmp dword [0x4d1b50], 8
mov ecx, 0x4d1b3c
cmovae ecx, dword [0x4d1b3c]
xor edx, edx
call fcn.0041d760
test al, al
jne 0x40f417
mov al, 1
jmp 0x40f419
xor al, al
mov byte [0x4d3331], al
call fcn.0041e170
sub esp, 0x18
mov edi, eax
mov ecx, esp
mov esi, edx
push 0x12
push str.launcherWindowShow
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00411c40
push esi
push edi
xor ecx, ecx
call fcn.00402f90
add esp, 0x18
push dword [ebx + 0xc]
sub esp, 8
push dword [ebp - 0x5c]
call fcn.00428460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00460976
int3