Function at 0x473360
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e11
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4a5014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
xor edi, edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28c], edi
movq xmm0, qword [0x4862e4]
mov ax, word [0x4862ec]
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x294], edx
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0xa
movq qword [ebp - 0x5c], xmm0
mov word [ebp - 0x54], ax
mov byte [ebp - 0x52], 0
mov dword [ebp - 4], edi
cmp ecx, 1
jl 0x4735c8
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x473400
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402490
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, esi
or edi, 0xffffffff
mov byte [ebp - 4], 1
test eax, eax
je 0x473454
dec eax
mov ecx, edi
cmp eax, edi
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x47344a
nop dword [eax]
cmp ecx, edx
je 0x473451
dec ecx
cmp byte [ecx], 0x2f
jne 0x473440
sub ecx, edx
cmp ecx, 0xffffffff
jne 0x47348f
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
cmovae edx, esi
test eax, eax
je 0x473589
dec eax
mov ecx, edi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x473484
cmp ecx, edx
je 0x473589
dec ecx
cmp byte [ecx], 0x5c
jne 0x473476
sub ecx, edx
cmp ecx, 0xffffffff
je 0x473589
mov eax, dword [ebp - 0x1c]
inc ecx
cmp ecx, eax
jae 0x473589
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
ja 0x474924
sub eax, ecx
cmp eax, 0xffffffff
cmovb edi, eax
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, esi
add eax, ecx
mov dword [ebp - 0x2a8], eax
cmp edi, 0xf
ja 0x4734e6
push edi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], edi
push eax
call sub.VCRUNTIME140.dll_memmove
mov byte [ebp + edi - 0x44], 0
jmp 0x47356a
cmp edi, 0x7fffffff
ja 0x474929
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x473514
mov eax, 0x80000000
mov esi, 0x7fffffff
push eax
call fcn.00401960
add esp, 4
jmp 0x473544
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x473533
push eax
call fcn.00401960
add esp, 4
jmp 0x473544
test eax, eax
je 0x473542
push eax
call fcn.00401dd0
add esp, 4
jmp 0x473544
xor eax, eax
push edi
push dword [ebp - 0x2a8]
mov dword [ebp - 0x290], eax
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x44], eax
mov byte [eax + edi], 0
movups xmm0, xmmword [ebp - 0x44]
mov esi, dword [ebp - 0x2c]
add esp, 0xc
mov edi, 1
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x4c], xmm0
jmp 0x47358f
mov edi, dword [ebp - 0x278]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x4735c8
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4735be
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4735be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00401690
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00402ea0
push dword [ebp - 0x294]
lea eax, [ebp - 0x9c]
push dword [ebp - 0x27c]
push eax
call fcn.00401460
add esp, 0x24
cmp byte [ebp - 0x9c], 0
mov byte [ebp - 4], 2
je 0x47400f
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x10c], eax
movzx eax, byte [ebp - 0x90]
mov byte [ebp - 0x108], al
movzx eax, byte [ebp - 0x8f]
mov byte [ebp - 0x107], al
movzx eax, byte [ebp - 0x8e]
mov byte [ebp - 0x106], al
movzx eax, byte [ebp - 0x8d]
mov byte [ebp - 0x105], al
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.00402ea0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xec]
call fcn.00402ea0
push 3
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_abort_behavior]
add esp, 8
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.00424260
test eax, eax
je 0x473696
call fcn.004241b0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
push 0
push 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 5
push str.user32.dll
mov dword [0x4a5780], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x2c8], eax
test eax, eax
je 0x4748d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AdjustWindowRect
push eax
call esi
mov dword [ebp - 0x2c4], eax
test eax, eax
jne 0x473745
push str.AdjustWindowRect
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push str.Failed_to_load_function:__s_n
push 2
call esi
add esp, 4
push eax
call fcn.00403200
add esp, 0xc
jmp 0x4748de
push str.CreateWindowExA
push dword [ebp - 0x2c8]
call esi
mov dword [ebp - 0x2c0], eax
test eax, eax
jne 0x473763
push str.CreateWindowExA
jmp 0x473725
push str.DefWindowProcA
push dword [ebp - 0x2c8]
call esi
mov dword [ebp - 0x2bc], eax
test eax, eax
jne 0x473781
push str.DefWindowProcA
jmp 0x473725
push str.DestroyWindow
push dword [ebp - 0x2c8]
call esi
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x47379f
push str.DestroyWindow
jmp 0x473725
push str.LoadIconA
push dword [ebp - 0x2c8]
call esi
mov dword [ebp - 0x2b4], eax
test eax, eax
jne 0x4737c0
push str.LoadIconA
jmp 0x473725
push str.RegisterClassExA
push dword [ebp - 0x2c8]
call esi
mov dword [ebp - 0x2b0], eax
test eax, eax
jne 0x4737e1
push str.RegisterClassExA
jmp 0x473725
xor esi, esi
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x284], esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 1
push esi
mov byte [ebp - 4], 6
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push dword [eax + ecx + 0x38]
lea ecx, [ebp - 0x3d4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x384], 0x498bc8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push esi
push esi
lea eax, [ebp - 0x380]
mov byte [ebp - 4], 8
or edi, 2
lea ecx, [ebp - 0x384]
push eax
mov dword [ebp - 0x28c], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x384]
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x384]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x388], eax
lea eax, [ebp - 0x380]
mov ecx, eax
mov dword [ebp - 0x274], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 0xa
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x338], 0
mov byte [ebp - 0x343], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4a5794]
mov ecx, dword [0x4a5798]
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 0x348], esi
lea eax, [ebp - 0x3d4]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x294], eax
call fcn.00402690
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xd
push eax
call fcn.00403c20
add esp, 4
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x38]
push str.vkEnumeratePhysicalDevices
push eax
call fcn.00401e80
add esp, 0x10
xor edi, edi
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x298], edi
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x280], esi
cmp esi, dword [ebp - 0x274]
je 0x473b98
lea eax, [ebp - 0x270]
mov dword [ebp - 0x278], esi
push eax
mov eax, dword [esi + 0x18]
call eax
add esp, 4
lea eax, [ebp - 0x270]
push eax
mov eax, dword [esi + 0x1c]
call eax
mov dword [esi + 0x28], eax
add esp, 4
mov dword [esi + 0x2c], edx
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x288], esi
cmp esi, eax
je 0x473b8a
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 0x10
push eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x2cc], 0
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
push dword [esi]
call dword [ebp - 0x1c8]
test eax, eax
jne 0x473aee
cmp dword [ebp - 0x2cc], eax
je 0x473aee
push 0x118
call fcn.00401dd0
add esp, 4
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x473a82
mov eax, dword [ebp - 0x278]
sub esp, 0x38
mov ecx, esp
mov dword [ebp - 0x2a4], ecx
push eax
call fcn.00402ea0
mov ecx, dword [ebp - 0x278]
mov edx, dword [ebp - 0x2a4]
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x2a4]
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0x278]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0x2a4]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 0x270]
push dword [esi]
mov ecx, dword [ebp - 0x28c]
push eax
call fcn.004020b0
jmp 0x473a84
xor eax, eax
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 0x12
cmp edi, dword [ebp - 0x298]
je 0x473ab6
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x27c]
add esi, 4
mov dword [ebp - 0x29c], edi
mov dword [ebp - 4], 0xf
jmp 0x4739a3
lea eax, [ebp - 0x28c]
push eax
push edi
lea ecx, [ebp - 0x2a0]
call fcn.004029a0
mov esi, dword [ebp - 0x28c]
test esi, esi
je 0x473b69
mov ecx, esi
call fcn.00402e70
push 0x118
push esi
call fcn.00401690
add esp, 8
jmp 0x473b69
mov eax, dword [ebp - 0x27c]
add esi, 4
mov byte [ebp - 4], 0xf
jmp 0x4739a3
mov esi, dword [ebp - 0x288]
mov edi, dword [ebp - 0x29c]
add esi, 4
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 4], 0xf
jmp 0x4739a3
mov esi, dword [ebp - 0x280]
add esi, 0x38
jmp 0x47395b
xor eax, eax
xor esi, esi
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x280], eax
cmp eax, ecx
je 0x473c99
push 0x10e8
call fcn.00401dd0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x473c1a
mov edx, dword [ebp - 0x27c]
mov eax, edx
inc edx
mov dword [ebp - 0x27c], edx
mov edx, dword [ebp - 0x280]
push dword [edx]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00403060
mov ecx, eax
jmp 0x473c1c
xor ecx, ecx
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 4], 0x16
cmp esi, dword [ebp - 0x288]
je 0x473c3d
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x473c65
lea eax, [ebp - 0x28c]
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.004016a0
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28c]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0x14
test esi, esi
je 0x473c82
mov ecx, esi
call fcn.004016c0
push 0x10e8
push esi
call fcn.00401690
add esp, 8
mov eax, dword [ebp - 0x280]
mov esi, dword [ebp - 0x1c]
add eax, 4
mov ecx, dword [ebp - 0x274]
jmp 0x473bc7
mov eax, dword [ebp - 0x278]
mov ecx, esi
mov edx, dword [ebp - 0x10c]
sub ecx, eax
mov dword [ebp - 0x274], ecx
sar ecx, 2
mov dword [ebp - 0x280], ecx
cmp ecx, edx
ja 0x474418
cmp byte [ebp - 0x108], 0
je 0x4743e2
push str.The_selected_gpu__
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004027e0
add esp, 8
mov ecx, eax
push dword [ebp - 0x10c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push str.__is_not_a_valid_GPU_index.
push eax
call fcn.004027e0
add esp, 8
cmp dword [ebp - 0x274], 4
jae 0x47406f
push str.vulkaninfo_could_not_find_any_GPUs._n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004027e0
mov ecx, dword [ebp - 0x278]
add esp, 8
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x473db7
mov eax, ecx
mov dword [ebp - 0x27c], ecx
cmp eax, esi
je 0x473d7d
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x274], ecx
test ecx, ecx
je 0x473d6a
call fcn.004016c0
push 0x10e8
push dword [ebp - 0x274]
call fcn.00401690
mov eax, dword [ebp - 0x27c]
add esp, 8
add eax, 4
mov dword [ebp - 0x27c], eax
cmp eax, esi
jne 0x473d40
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x288]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x473dad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push edx
push ecx
call fcn.00401690
add esp, 8
mov esi, dword [ebp - 0x2a0]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x473e3d
cmp esi, edi
je 0x473dfd
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x274], eax
test eax, eax
je 0x473df6
mov ecx, eax
call fcn.00402e70
push 0x118
push dword [ebp - 0x274]
call fcn.00401690
add esp, 8
add esi, 4
cmp esi, edi
jne 0x473dd0
mov eax, dword [ebp - 0x298]
mov esi, dword [ebp - 0x2a0]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x473e33
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push ecx
push esi
call fcn.00401690
add esp, 8
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x473e94
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x473e75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push edx
push ecx
call fcn.00401690
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x1d8]
mov eax, ecx
mov edx, dword [ebp - 0x1d4]
or eax, edx
mov byte [ebp - 4], 0x17
je 0x473eba
push 0
push edx
push ecx
push dword [ebp - 0x1ec]
call dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x473ece
push 0
push dword [ebp - 0x1ec]
call eax
push dword [ebp - 0x1f0]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x1f0], 0
call fcn.00402620
lea ecx, [ebp - 0x16c]
call fcn.00401360
lea ecx, [ebp - 0x178]
call fcn.00402c00
lea ecx, [ebp - 0x184]
call fcn.00402d50
lea ecx, [ebp - 0x384]
call fcn.004012b0
lea ecx, [ebp - 0x3d4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov esi, dword [ebp - 0x290]
mov byte [ebp - 4], 5
test esi, esi
je 0x473ff7
mov eax, dword [esi]
mov byte [ebp - 4], 0x18
sub eax, 1
je 0x473f62
sub eax, 1
je 0x473f50
sub eax, 1
jne 0x473f8c
push 0x4879a8
push dword [esi + 4]
call fcn.004027e0
add esp, 8
jmp 0x473f8c
push str._t_t__div__n
push dword [esi + 4]
call fcn.004027e0
push str._t__body__n
push dword [esi + 4]
call fcn.004027e0
push str.__html__n
push dword [esi + 4]
call fcn.004027e0
add esp, 0x18
add dword [esi + 0x18], 0xffffffff
lea eax, [esi + 8]
jne 0x473f9c
mov dword [esi + 0x14], 0
mov edx, dword [esi + 0x30]
cmp edx, 0x10
jb 0x473fd3
mov eax, dword [esi + 0x1c]
inc edx
cmp edx, 0x1000
jb 0x473fc6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
mov eax, ecx
push edx
push eax
call fcn.00401690
add esp, 8
lea eax, [esi + 8]
mov ecx, eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
call fcn.00401330
push 0x34
push esi
call fcn.00401690
add esp, 8
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x474004
push eax
call edi
lea ecx, [ebp - 0x110]
call fcn.00403ea0
lea ecx, [ebp - 0x98]
call fcn.00403ea0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x47404e
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push edx
push ecx
call fcn.00401690
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004024e0
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x280], 1
jne 0x474085
push str.The_only_available_GPU_selection_is_0._n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x4740b0
push str.The_available_GPUs_are_in_the_range_of_0_to
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004027e0
mov ecx, dword [ebp - 0x280]
add esp, 8
dec ecx
mov edx, eax
push ecx
mov ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push 0x498cd0
push eax
call fcn.004027e0
mov ecx, dword [ebp - 0x278]
add esp, 8
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x47414d
mov eax, ecx
mov dword [ebp - 0x27c], ecx
cmp eax, esi
je 0x474113
mov ecx, dword [eax]
mov dword [ebp - 0x274], ecx
test ecx, ecx
je 0x474100
call fcn.004016c0
push 0x10e8
push dword [ebp - 0x274]
call fcn.00401690
mov eax, dword [ebp - 0x27c]
add esp, 8
add eax, 4
mov dword [ebp - 0x27c], eax
cmp eax, esi
jne 0x4740d6
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x288]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x474143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push edx
push ecx
call fcn.00401690
add esp, 8
mov esi, dword [ebp - 0x2a0]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x4741cd
cmp esi, edi
je 0x47418d
nop
mov eax, dword [esi]
mov dword [ebp - 0x274], eax
test eax, eax
je 0x474186
mov ecx, eax
call fcn.00402e70
push 0x118
push dword [ebp - 0x274]
call fcn.00401690
add esp, 8
add esi, 4
cmp esi, edi
jne 0x474160
mov eax, dword [ebp - 0x298]
mov esi, dword [ebp - 0x2a0]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x4741c3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push ecx
push esi
call fcn.00401690
add esp, 8
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x474224
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x474205
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push edx
push ecx
call fcn.00401690
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x1d8]
mov eax, ecx
mov edx, dword [ebp - 0x1d4]
or eax, edx
mov byte [ebp - 4], 0x19
je 0x47424a
push 0
push edx
push ecx
push dword [ebp - 0x1ec]
call dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x47425e
push 0
push dword [ebp - 0x1ec]
call eax
push dword [ebp - 0x1f0]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x1f0], 0
call fcn.00402620
lea ecx, [ebp - 0x16c]
call fcn.00401360
lea ecx, [ebp - 0x178]
call fcn.00402c00
lea ecx, [ebp - 0x184]
call fcn.00402d50
lea ecx, [ebp - 0x384]
call fcn.004012b0
lea ecx, [ebp - 0x3d4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov esi, dword [ebp - 0x290]
mov byte [ebp - 4], 5
test esi, esi
je 0x474387
mov eax, dword [esi]
mov byte [ebp - 4], 0x1a
sub eax, 1
je 0x4742f2
sub eax, 1
je 0x4742e0
sub eax, 1
jne 0x47431c
push 0x4879a8
push dword [esi + 4]
call fcn.004027e0
add esp, 8
jmp 0x47431c
push str._t_t__div__n
push dword [esi + 4]
call fcn.004027e0
push str._t__body__n
push dword [esi + 4]
call fcn.004027e0
push str.__html__n
push dword [esi + 4]
call fcn.004027e0
add esp, 0x18
add dword [esi + 0x18], 0xffffffff
lea eax, [esi + 8]
jne 0x47432c
mov dword [esi + 0x14], 0
mov edx, dword [esi + 0x30]
cmp edx, 0x10
jb 0x474363
mov eax, dword [esi + 0x1c]
inc edx
cmp edx, 0x1000
jb 0x474356
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
mov eax, ecx
push edx
push eax
call fcn.00401690
add esp, 8
lea eax, [esi + 8]
mov ecx, eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
call fcn.00401330
push 0x34
push esi
call fcn.00401690
add esp, 8
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x474394
push eax
call edi
lea ecx, [ebp - 0x110]
call fcn.00403ea0
lea ecx, [ebp - 0x98]
call fcn.00403ea0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x47404e
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x474044
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [ebp - 0x110], 2
jne 0x474410
push str.vulkaninfo_could_not_find_any_GPUs._n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004027e0
mov eax, dword [ebp - 0x278]
add esp, 8
mov ecx, dword [ebp - 0x280]
mov edx, dword [ebp - 0x10c]
cmp ecx, edx
jbe 0x47492e
lea ecx, [ebp - 0x5c]
push ecx
push dword [eax + edx*4]
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.004030f0
add esp, 0x14
cmp byte [ebp - 0xd0], 0
mov byte [ebp - 4], 0x1b
je 0x474546
cmp dword [ebp - 0xb8], 0x10
lea eax, [ebp - 0xcc]
push 1
cmovae eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0x484]
push 0x40
push 2
push eax
call fcn.00403a50
mov eax, dword [ebp - 0x484]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x488], eax
cmp dword [ebp - 0x334], 0
mov byte [ebp - 4], 0x1c
je 0x4744c1
lea ecx, [ebp - 0x380]
call fcn.00402ae0
push dword [ebp - 0x334]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x380]
mov byte [ebp - 0x338], 0
mov byte [ebp - 0x343], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4a5794]
mov ecx, dword [0x4a5798]
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x484]
mov dword [ebp - 0x33c], ecx
lea ecx, [ebp - 0x384]
push eax
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x348], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::swap_class_std::basic_ostream_char__struct_std::char_traits_char____]
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x380]
call fcn.00402bb0
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0x1b
call fcn.004012b0
lea eax, [ebp - 0x384]
mov dword [ebp - 0x294], eax
push 0x34
call fcn.00401dd0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0x1d
test ecx, ecx
je 0x474590
movq xmm0, qword [ebp - 0x1e4]
sub esp, 0xc
mov eax, dword [ebp - 0x1dc]
mov edx, esp
push dword [ebp - 0x294]
movq qword [edx], xmm0
mov dword [edx + 8], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00401980
mov edi, eax
jmp 0x474592
xor edi, edi
mov esi, dword [ebp - 0x290]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x284], edi
test esi, esi
je 0x4745b2
push esi
lea ecx, [ebp - 0x284]
call fcn.00403da0
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x270]
push eax
sub esp, 0x3c
lea eax, [ebp - 0x110]
mov ecx, esp
push eax
call fcn.00403ed0
push edi
call fcn.00403b10
xor esi, esi
add esp, 0x4c
mov dword [ebp - 0x284], esi
test edi, edi
je 0x4745f6
push edi
lea ecx, [ebp - 0x284]
call fcn.00403da0
mov eax, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x160]
mov dword [ebp - 0x274], eax
cmp edi, eax
je 0x47463b
push dword [edi + 0x2c]
lea eax, [ebp - 0x270]
push dword [edi + 0x28]
push eax
call fcn.004236c0
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
mov eax, dword [edi + 0x20]
call eax
mov eax, dword [ebp - 0x274]
add esp, 4
add edi, 0x38
jmp 0x474608
lea ecx, [ebp - 0xd4]
call fcn.00402f10
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x294], ecx
test ecx, ecx
je 0x4746a6
mov edi, ecx
cmp edi, dword [ebp - 0x1c]
je 0x474694
nop word [eax + eax]
mov eax, dword [edi]
mov dword [ebp - 0x274], eax
test eax, eax
je 0x474686
mov ecx, eax
call fcn.004016c0
push 0x10e8
push dword [ebp - 0x274]
call fcn.00401690
add esp, 8
add edi, 4
cmp edi, dword [ebp - 0x1c]
jne 0x474660
mov ecx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.004013e0
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x294], ecx
test ecx, ecx
je 0x47470f
mov edi, ecx
cmp edi, dword [ebp - 0x29c]
je 0x4746f7
mov eax, dword [edi]
mov dword [ebp - 0x274], eax
test eax, eax
je 0x4746e6
mov ecx, eax
call fcn.00402e70
push 0x118
push dword [ebp - 0x274]
call fcn.00401690
add esp, 8
add edi, 4
cmp edi, dword [ebp - 0x29c]
jne 0x4746c0
mov ecx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.00404760
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x474731
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.004033f0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x1d8]
mov eax, ecx
mov edx, dword [ebp - 0x1d4]
or eax, edx
mov byte [ebp - 4], 0x1e
je 0x474757
push 0
push edx
push ecx
push dword [ebp - 0x1ec]
call dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x47476b
push 0
push dword [ebp - 0x1ec]
call eax
push dword [ebp - 0x1f0]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x1f0], 0
call fcn.00402620
lea ecx, [ebp - 0x16c]
call fcn.00401360
lea ecx, [ebp - 0x178]
call fcn.00402c00
lea ecx, [ebp - 0x184]
call fcn.00402d50
jmp 0x474838
cmp dword [ebp - 0x110], 0
jne 0x47484f
cmp byte [ebp - 0x105], 0
jne 0x47484f
call fcn.004015e0
lea ecx, [ebp - 0x384]
call fcn.004012b0
lea ecx, [ebp - 0x3d4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::vbase_dtor_void_]
test esi, esi
je 0x474876
push esi
lea ecx, [ebp - 0x284]
call fcn.00403da0
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x474883
push eax
call edi
lea ecx, [ebp - 0x110]
call fcn.00403ea0
lea ecx, [ebp - 0x98]
call fcn.00403ea0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4748cd
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4748c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743dc
push edx
push ecx
call fcn.00401690
add esp, 8
mov eax, dword [ebp - 0x2a8]
jmp 0x474053
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push str.Failed_to_load_user32.dll_library__n
push 2
call esi
add esp, 4
push eax
call fcn.00403200
add esp, 8
cmp dword [ebp - 0x110], 0
jne 0x47490a
cmp byte [ebp - 0x105], 0
jne 0x47490a
call fcn.004015e0
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x474394
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x474394
call fcn.004044e0
call fcn.00402b20
call fcn.00402190
int3