Function at 0x14003d800
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4d0
cmp qword [rsp + 0x4e8], 0
jne 0x14003d822
jmp 0x14003e7ce
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x1401181b8]
call fcn.1400601b0
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x60], al
lea rax, [0x1401181b8]
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x68], al
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x74], reloc.WS2_32.dll_recv
cmp dword [rsp + 0x74], 0
jbe 0x14003d8e4
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b8], rax
lea rcx, [rsp + 0x68]
call fcn.1400404f0
mov byte [rsp + 0x70], al
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x368], rax
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x368]
call fcn.14005f940
mov eax, dword [rsp + 0x74]
dec eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
ja 0x14003d893
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x4a8], rax
mov dword [rsp + 0x390], 0
lea rax, [0x14001e8b0]
mov qword [rsp + 0x398], rax
mov dword [rsp + 0x3a0], 0
mov dword [rsp + 0x3a4], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x3a8], rax
mov qword [rsp + 0x3b0], 0
mov qword [rsp + 0x3b8], 0
mov qword [rsp + 0x3c0], 0
mov qword [rsp + 0x3c8], 0
lea rcx, [0x1401181b8]
call fcn.14004bd50
mov qword [rsp + 0x3d0], rax
lea rcx, [rsp + 0x390]
call qword [sym.imp.USER32.dll_RegisterClassA]
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x4e8]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x14003d9b9
jmp 0x14003e7ce
lea rcx, [0x1401181b8]
call fcn.14004bd50
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov ecx, dword [rsp + 0x144]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x140]
mov dword [rsp + 0x20], ecx
mov r9d, 0x90000000
lea r8, [0x1400ec110]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140118c98], rax
cmp qword [0x140118c98], 0
jne 0x14003da3d
jmp 0x14003e7ce
lea rdx, [0x1400eb3f8]
mov rcx, qword [0x140118c98]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140118c98]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x140118c98]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140118c98]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [rsp + 0x144]
mov ecx, dword [rsp + 0x14c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x88], xmm0
mov eax, dword [rsp + 0x140]
mov ecx, dword [rsp + 0x148]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0xac], xmm0
lea rax, [0x140118eb8]
movss xmm0, dword [rsp + 0xa8]
movss dword [rax], xmm0
lea rax, [0x140118eb8]
movss xmm0, dword [rsp + 0xac]
movss dword [rax + 4], xmm0
movss xmm0, dword [0x140118ebc]
divss xmm0, dword [0x1400ee120]
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [0x140118eb8]
divss xmm0, dword [0x1400ee120]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0xb4], xmm0
lea rax, [0x140118ec8]
movss xmm0, dword [rsp + 0xb0]
movss dword [rax], xmm0
lea rax, [0x140118ec8]
movss xmm0, dword [rsp + 0xb4]
movss dword [rax + 4], xmm0
lea rax, [0x140118ed8]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.140041e20
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_32
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call sub.d3d11.dll_D3D11CreateDevice
test eax, eax
je 0x14003dc14
jmp 0x14003e7ce
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0xb8], rax
lea rax, [0x140118ed8]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x218], rax
lea rax, [0x1401192b8]
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x208]
call fcn.140022300
mov qword [rsp + 0x210], rax
mov r8, qword [rsp + 0x210]
lea rdx, [0x1400ec230]
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0x218]
test eax, eax
je 0x14003dc97
jmp 0x14003e7ce
cvttss2si rax, dword [0x140118eb8]
mov dword [rsp + 0x1d0], eax
cvttss2si rax, dword [0x140118ebc]
mov dword [rsp + 0x1d4], eax
mov dword [rsp + 0x1d8], 0x57
mov dword [rsp + 0x1dc], 0
mov dword [rsp + 0x1e0], 1
mov dword [rsp + 0x1e4], 0
mov dword [rsp + 0x1e8], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x1ec], 2
mov dword [rsp + 0x1f0], 0
mov dword [rsp + 0x1f4], 3
mov dword [rsp + 0x1f8], 1
mov dword [rsp + 0x1fc], 0
lea rax, [0x140118f40]
mov qword [rsp + 0x220], rax
mov rcx, qword [rsp + 0x220]
call fcn.140022300
mov r8, rax
lea rdx, [0x1400ec240]
xor ecx, ecx
call sub.dxgi.dll_CreateDXGIFactory2
mov rax, qword [rsp + 0x4b8]
mov qword [rsp + 0xc0], rax
lea rax, [0x140118f40]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x238], rax
lea rax, [0x140118f30]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.140041e20
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x450]
mov qword [rsp + 0x160], rax
lea rax, [0x140118ed8]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x1d0]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x238]
lea rax, [0x140118fa8]
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x240]
call fcn.14003ff40
mov rdx, rax
mov ecx, 1
call fcn.140020d10
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0xc8], rax
lea rax, [0x140118fa8]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x258], rax
lea rax, [0x140118f48]
mov qword [rsp + 0x248], rax
lea rcx, [rsp + 0x248]
call fcn.14003ff40
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x168], rax
lea rax, [0x1401192b8]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x258]
mov rax, qword [rsp + 0x3f0]
mov qword [rsp + 0xd0], rax
lea rax, [0x140118f48]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x270], rax
lea rax, [0x140118ed0]
mov qword [rsp + 0x260], rax
lea rcx, [rsp + 0x260]
call fcn.14003ff40
mov qword [rsp + 0x268], rax
mov r8, qword [rsp + 0x268]
mov edx, 1
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0x270]
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0xd8], rax
lea rax, [0x140118f30]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x288], rax
lea rax, [0x140118fb0]
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x278]
call fcn.140022300
mov qword [rsp + 0x280], rax
mov r9, qword [rsp + 0x280]
lea r8, [0x1400ec250]
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x288]
mov dword [rsp + 0x370], 0x57
mov dword [rsp + 0x374], 1
xorps xmm0, xmm0
movss dword [rsp + 0x378], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x37c], xmm0
mov eax, 1
or eax, 2
mov dword [rsp + 0x380], eax
mov qword [rsp + 0x388], 0
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0xe0], rax
lea rax, [0x140118ed0]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
lea rax, [0x140118ec0]
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x290]
call fcn.14003ff40
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0x170], rax
lea rax, [0x140118fb0]
mov rax, qword [rax]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1f0]
mov qword [rsp + 0x2a0], rax
mov r9, qword [rsp + 0x298]
lea r8, [rsp + 0x370]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0x2a0]
test eax, eax
je 0x14003e0d6
jmp 0x14003e7ce
mov rax, qword [rsp + 0x410]
mov qword [rsp + 0xe8], rax
lea rax, [0x140118ed0]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov rax, qword [rax + 0x250]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x178], rax
lea rax, [0x140118ec0]
mov rax, qword [rax]
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0xe8]
call qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0xf0], rax
lea rax, [0x140118ed0]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rax, qword [rax + 0x100]
mov qword [rsp + 0x2b0], rax
mov edx, 1
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0x2b0]
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0xf8], rax
lea rax, [0x140118ed0]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
xor eax, eax
and eax, 0xff0000
shr eax, 0x10
mov eax, eax
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400ee1d0]
movss dword [rsp + 0x1c0], xmm0
xor eax, eax
and eax, 0xff00
shr eax, 8
mov eax, eax
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400ee1d0]
movss dword [rsp + 0x1c4], xmm0
xor eax, eax
and eax, 0xff
mov eax, eax
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400ee1d0]
movss dword [rsp + 0x1c8], xmm0
movss xmm0, dword [0x1400ee104]
movss dword [rsp + 0x1cc], xmm0
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x2c0], rax
lea r9, [0x140118e70]
xor r8d, r8d
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0xf8]
call qword [rsp + 0x2c0]
test eax, eax
je 0x14003e282
jmp 0x14003e7ce
lea rax, [0x140118f28]
mov r8, rax
lea rdx, [0x1400ec260]
xor ecx, ecx
call qword [sym.imp.DWrite.dll_DWriteCreateFactory]
test eax, eax
je 0x14003e2a4
jmp 0x14003e7ce
lea rax, [0x140118eb0]
mov qword [rsp + 0x2c8], rax
mov rcx, qword [rsp + 0x2c8]
call fcn.140022300
mov qword [rsp + 0x20], rax
lea r9, [0x1400ec270]
mov r8d, 1
xor edx, edx
lea rcx, [0x1400fbd88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x100], rax
lea rax, [0x140118f28]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x2e0], rax
lea rax, [0x140118ff8]
mov qword [rsp + 0x2d0], rax
lea rcx, [rsp + 0x2d0]
call fcn.14003ff40
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x40], rax
lea rax, str.en_us
mov qword [rsp + 0x38], rax
movss xmm0, dword [0x1400ee178]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
mov r9d, 0x190
xor r8d, r8d
lea rdx, str.Consolas
mov rcx, qword [rsp + 0x100]
call qword [rsp + 0x2e0]
test eax, eax
je 0x14003e39d
jmp 0x14003e7ce
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x108], rax
lea rax, [0x140118f28]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x2f8], rax
lea rax, [0x140118f50]
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0x2e8]
call fcn.14003ff40
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x40], rax
lea rax, str.en_us
mov qword [rsp + 0x38], rax
movss xmm0, dword [0x1400ee178]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
mov r9d, 0x2bc
xor r8d, r8d
lea rdx, str.Consolas
mov rcx, qword [rsp + 0x108]
call qword [rsp + 0x2f8]
test eax, eax
je 0x14003e459
jmp 0x14003e7ce
lea rax, [0x140118fa0]
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x300]
call fcn.140022300
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x180], rax
lea rax, [0x1401192b8]
mov rax, qword [rax]
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x308]
lea rdx, [0x1400ec280]
mov rcx, qword [rsp + 0x180]
call sub.dcomp.dll_DCompositionCreateDevice
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0x110], rax
lea rax, [0x140118fa0]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x328], rax
lea rax, [0x140118f38]
mov qword [rsp + 0x310], rax
lea rcx, [rsp + 0x310]
call fcn.14003ff40
mov qword [rsp + 0x318], rax
mov rax, qword [0x140118c98]
mov qword [rsp + 0x320], rax
mov r9, qword [rsp + 0x318]
mov r8d, 1
mov rdx, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x328]
mov rax, qword [rsp + 0x4c0]
mov qword [rsp + 0x118], rax
lea rax, [0x140118fa0]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x340], rax
lea rax, [0x140118ea8]
mov qword [rsp + 0x330], rax
lea rcx, [rsp + 0x330]
call fcn.14003ff40
mov qword [rsp + 0x338], rax
mov rdx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x118]
call qword [rsp + 0x340]
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x120], rax
lea rax, [0x140118ea8]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x188], rax
lea rax, [0x140118f30]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0x348]
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x128], rax
lea rax, [0x140118f38]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x190], rax
lea rax, [0x140118ea8]
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x128]
call qword [rsp + 0x350]
mov rax, qword [rsp + 0x478]
mov qword [rsp + 0x130], rax
lea rax, [0x140118fa0]
mov rax, qword [rax]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + Ordinal_26]
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x138], rax
lea rax, [0x140118fa0]
mov rax, qword [rax]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x138]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rax, qword [rsp + 0x488]
mov qword [rsp + 0x198], rax
lea rax, [0x140118ed0]
mov rax, qword [rax]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x1a0], rax
lea rax, [0x140118eb0]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x1a8], rax
lea rax, [0x140118f28]
mov rax, qword [rax]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x1b0], rax
lea rax, [0x140118fa8]
mov rax, qword [rax]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x4e8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x198]
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400706a0
mov rax, qword [rsp + 0x4e0]
add rsp, 0x4d0
pop rdi
ret