Function at 0x4755e0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1f11
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 0x98], 0x30
mov dword [ebp - 0x94], 0x40
mov dword [ebp - 0x90], 0x4765d0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x84], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x70], 0x4c3644
push eax
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x84]
push 0
push 0
push 0x2bc
push 0x258
push 0xc8
push 0xc8
push 0xcf0000
push 0x4c3644
push dword [ebp - 0x70]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.00476090
test al, al
jne 0x4756e6
call fcn.00476390
push dword [ebp - 0x84]
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047680f
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0xa
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [0x4cf0c0]
test esi, esi
je 0x475717
inc dword [esi + 0xb8]
push 0x5d88
call fcn.0048683b
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x21]
add esp, 4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x475746
push 0
mov ecx, eax
call fcn.00401720
jmp 0x475748
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4cf0c0], eax
call fcn.004069e0
mov edi, dword [0x4cf0c0]
test esi, esi
cmovne edi, esi
mov dword [ebp - 0x34], edi
mov dword [0x4cf0c0], edi
test edi, edi
jne 0x475791
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov edi, dword [0x4cf0c0]
add esp, 0xc
mov dword [ebp - 0x34], edi
or dword [edi + 8], 0x441
xor ecx, ecx
call fcn.00438600
mov eax, dword [0x4cf0c0]
test eax, eax
jne 0x4757c4
push 0xba3
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov eax, dword [0x4cf0c0]
add esp, 0xc
test dword [edi + 8], 0x400
je 0x4757e1
mov dword [eax + 0x384c], 0
mov dword [eax + 0x3944], 0x3f800000
mov ecx, dword [ebp - 0x38]
call fcn.00466bf0
mov eax, dword [0x4d047c]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea edx, [ebp - 0x9c]
push edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4d047c]
mov dword [ebp - 0x28], ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [eax]
mov eax, dword [0x4d047c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4d04a0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4cf0c0]
test eax, eax
jne 0x47584f
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov eax, dword [0x4cf0c0]
add esp, 0xc
cmp dword [eax + 0x80], 0
lea ecx, [eax + 8]
mov dword [ebp - 0x3c], ecx
je 0x47587a
push 0x308
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimgui_backendsimgui_impl_dx12.cpp
push str.io.BackendRendererUserData__nullptr___Already_initialized_a_renderer_backend__
call fcn.004867ba
mov eax, dword [0x4cf0c0]
add esp, 0xc
test eax, eax
je 0x475884
inc dword [eax + 0xb8]
push 0x28
call fcn.0048683b
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4758a8
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
jmp 0x4758aa
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x4cf0c0]
or dword [eax + 4], 0x1008
test dword [eax], 0x400
mov dword [eax + 0x78], edi
mov dword [eax + 0x70], str.imgui_impl_dx12
je 0x47591f
test ecx, ecx
jne 0x4758ed
push 0x1043
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call fcn.004867ba
mov ecx, dword [0x4cf0c0]
add esp, 0xc
mov dword [ecx + 0x37f8], 0x4660f0
mov dword [ecx + 0x37fc], 0x466650
mov dword [ecx + 0x3800], 0x4667b0
mov dword [ecx + 0x3804], 0x4668b0
mov dword [ecx + 0x3808], 0x466a40
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x14], esi
lea esi, [ecx + 0x48a8]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xc], 0x1c
mov dword [edi + 0x24], 3
mov dword [edi + 0x20], eax
cmp dword [esi], 0
jg 0x47596f
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
mov ecx, dword [0x4cf0c0]
add esp, 0xc
mov eax, dword [esi + 8]
mov esi, dword [eax]
test ecx, ecx
je 0x47597e
inc dword [ecx + 0xb8]
push 0x38
call fcn.0048683b
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x21]
add esp, 4
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4759ab
push dword [edi + 0x24]
mov ecx, eax
call fcn.00464d10
jmp 0x4759ad
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0
mov dword [esi + 0x34], eax
call fcn.0048711e
push eax
call fcn.00487060
lea eax, [ebp - 0x38]
push 1
mov dword [0x4cf0d0], eax
call fcn.00477019
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x4766d0
push 0
push 0
call fcn.00488a88
add esp, 0x24
mov dword [ebp - 0x50], eax
test eax, eax
je 0x47606a
xor al, al
mov dword [ebp - 4], 3
mov dword [ebp - 0x28], eax
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xb8]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x475a7b
nop dword [eax]
lea eax, [ebp - 0xb8]
push eax
call edi
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x28]
mov ecx, 1
cmp dword [ebp - 0xb4], 0x12
push ecx
movzx eax, al
push 0
cmove eax, ecx
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xb8]
push 0
push eax
call esi
test eax, eax
jne 0x475a30
cmp byte [ebp - 0x28], al
jne 0x475dfa
mov esi, dword [0x4cf0c0]
test esi, esi
je 0x475a91
mov esi, dword [esi + 0x80]
test esi, esi
jne 0x475aaa
jmp 0x475a93
xor esi, esi
push 0x33f
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimgui_backendsimgui_impl_dx12.cpp
push str.bd___nullptr___Did_you_call_ImGui_ImplDX12_Init____
call fcn.004867ba
add esp, 0xc
cmp dword [esi + 8], 0
jne 0x475ab5
call fcn.00465ad0
call fcn.00467f00
call fcn.00409600
call fcn.0046ed70
call fcn.0040bcc0
mov edi, dword [0x4d0480]
mov ecx, 1
mov eax, dword [0x4d04a8]
inc edi
mov dword [ebp - 0x48], eax
mov eax, 0xaaaaaaab
mul edi
mov dword [0x4d0480], edi
shr edx, 1
mov dword [ebp - 0x44], 0
lea eax, [edx + edx*2]
sub edi, eax
shl edi, 4
add edi, 0x4d04b0
mov dword [ebp - 0x40], edi
mov edx, dword [edi + 8]
mov eax, edx
mov esi, dword [edi + 0xc]
or eax, esi
je 0x475b3e
mov eax, dword [0x4d04ac]
push dword [0x4d049c]
mov dword [edi + 8], 0
push esi
mov dword [edi + 0xc], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [0x4d049c]
mov ecx, 2
mov dword [ebp - 0x44], eax
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [0x4d0494]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov ecx, dword [edi]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, dword [esi*4 + 0x4d04e8]
mov dword [ebp - 0x60], eax
mov eax, dword [0x4d04a4]
push 0
push dword [edi]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [0x4d04a4]
lea edx, [ebp - 0x68]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [0x4d04a4]
lea edx, [ebp - 0x20]
movaps xmm0, xmmword [0x4c4190]
lea esi, [esi*4 + 0x4d0484]
push 0
push 0
push edx
push dword [esi]
movups xmmword [ebp - 0x20], xmm0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc0]
mov eax, dword [0x4d04a4]
push 0
push 0
push esi
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xb8]
mov eax, dword [0x4d04a4]
push 0x4d047c
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, dword [0x4cf0c0]
cmp dword [esi + 0x48a8], 0
jg 0x475c29
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
add esp, 0xc
mov eax, dword [esi + 0x48b0]
xor ecx, ecx
mov edx, dword [0x4d04a4]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00464fc0
mov eax, dword [0x4d04a4]
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x54], 0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x68]
mov eax, dword [0x4d04a4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x4d0490]
push 0x4d04a4
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x34]
test dword [eax + 8], 0x400
je 0x475dac
call fcn.00421560
mov esi, dword [0x4cf0c0]
mov eax, dword [0x4d04a4]
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x475cc6
push 0x1043
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov eax, dword [esi + 0x3818]
mov edi, 1
cmp eax, edi
jle 0x475d3c
test edi, edi
js 0x475cdd
cmp edi, eax
jl 0x475cf4
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
add esp, 0xc
mov eax, dword [esi + 0x3820]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x2c], eax
test dword [eax + 4], 0x400
jne 0x475d31
mov ecx, dword [esi + 0x37e4]
test ecx, ecx
je 0x475d1e
push 0
push eax
call ecx
mov eax, dword [ebp - 0x2c]
add esp, 8
mov ecx, dword [esi + 0x3804]
test ecx, ecx
je 0x475d31
push dword [ebp - 0x30]
push eax
call ecx
add esp, 8
mov eax, dword [esi + 0x3818]
inc edi
cmp edi, eax
jl 0x475cd5
mov edi, 1
cmp eax, edi
jle 0x475dac
test edi, edi
js 0x475d4d
cmp edi, eax
jl 0x475d64
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
add esp, 0xc
mov eax, dword [esi + 0x3820]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x2c], eax
test dword [eax + 4], 0x400
jne 0x475da1
mov ecx, dword [esi + 0x37e8]
test ecx, ecx
je 0x475d8e
push 0
push eax
call ecx
mov eax, dword [ebp - 0x2c]
add esp, 8
mov ecx, dword [esi + 0x3808]
test ecx, ecx
je 0x475da1
push dword [ebp - 0x30]
push eax
call ecx
add esp, 8
mov eax, dword [esi + 0x3818]
inc edi
cmp edi, eax
jl 0x475d45
mov eax, dword [0x4d0494]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, dword [0x4d04e0]
mov esi, dword [0x4d04e4]
add edi, 1
mov eax, dword [0x4d0490]
adc esi, 0
push esi
push edi
push dword [0x4d04ac]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x40]
mov dword [0x4d04e0], edi
mov dword [0x4d04e4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
jmp 0x475a0c
call fcn.00476540
mov esi, dword [0x4cf0c0]
mov dword [ebp - 0x30], esi
test esi, esi
je 0x475e1b
mov edi, dword [esi + 0x80]
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x475e40
jmp 0x475e20
xor edi, edi
mov dword [ebp - 0x34], edi
push 0x325
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimgui_backendsimgui_impl_dx12.cpp
push str.bd___nullptr___No_renderer_backend_to_shutdown__or_already_shutdown__
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov dword [ebp - 0x30], esi
test esi, esi
jne 0x475e64
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
mov dword [ebp - 0x30], esi
cmp dword [esi + 0x48a8], 0
jg 0x475e84
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
add esp, 0xc
mov eax, dword [esi + 0x48b0]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x475f0c
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x24], eax
jbe 0x475efd
xor edi, edi
mov esi, dword [ecx + 0x30]
mov ecx, dword [esi + edi]
add esi, edi
test ecx, ecx
je 0x475eba
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x475ed0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [esi + 4], 0
add edi, 0x10
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
cmp eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
jb 0x475ea5
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
call fcn.00466a90
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x34], 0
call fcn.00421c00
call fcn.00466070
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
test edi, edi
je 0x475f43
mov eax, dword [0x4cf0c0]
test eax, eax
je 0x475f3a
dec dword [eax + 0xb8]
push edi
call fcn.004814c2
add esp, 4
mov esi, dword [0x4cf0c0]
test esi, esi
je 0x475f56
mov edi, dword [esi + 0x7c]
test edi, edi
jne 0x475f75
jmp 0x475f58
xor edi, edi
push 0xb6
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimgui_backendsimgui_impl_win32.cpp
push str.bd___nullptr___No_platform_backend_to_shutdown__or_already_shutdown__
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
test esi, esi
jne 0x475f96
push 0x103d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.004867ba
mov esi, dword [0x4cf0c0]
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.00421c00
mov eax, dword [edi + 0x28]
test eax, eax
je 0x475fbd
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4cf0c0]
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
test eax, eax
je 0x475fda
dec dword [eax + 0xb8]
push edi
call fcn.004814c2
mov esi, dword [0x4cf0c0]
add esp, 4
call fcn.00406d90
mov dword [0x4cf0c0], 0
test esi, esi
je 0x47601b
mov ecx, esi
call fcn.0042f2e0
mov eax, dword [0x4cf0c0]
test eax, eax
je 0x476012
dec dword [eax + 0xb8]
push esi
call fcn.004814c2
add esp, 4
call fcn.00476390
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0x84]
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov al, 1
mov ecx, 0x4cf0be
xchg byte [ecx], al
cmp dword [ebp - 0x4c], 0
je 0x476078
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
je 0x47607f
push 0
push ecx
push dword [ebp - 0x50]
call fcn.00478522
add esp, 0xc
test eax, eax
jne 0x476086
jmp 0x4756cb
push 6
mov dword [ebp - 0x4c], 0
call fcn.00478436
push 1
call fcn.00478436
push 5
call fcn.00478436
push 2
call fcn.00478436
int3