Function at 0x40d100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [0x4b9298]
mov dword [esp + 0x10], esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test esi, esi
jne 0x40d13d
push 0xc4e
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call edi
mov esi, dword [0x4b9298]
add esp, 0xc
mov dword [esp + 0x14], esi
cmp byte [esi], 0
jne 0x40d156
push 0xc57
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.Initialized
call edi
add esp, 0xc
movss xmm0, dword [esi + 0x18]
xorps xmm1, xmm1
comiss xmm0, xmm1
jae 0x40d17a
push 0xc58
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.IO.DeltaTime___0.0f___Need_a_positive_DeltaTime__zero_is_tolerated_but_will_cause_some_timing_issues__
call edi
add esp, 0xc
xorps xmm1, xmm1
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm1
jb 0x40d18e
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm1
jae 0x40d1a2
push 0xc59
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.IO.DisplaySize.x___0.0f__g.IO.DisplaySize.y___0.0f___Invalid_DisplaySize_value_
call edi
add esp, 0xc
mov eax, dword [esi + 0x94]
mov dword [esp + 0x18], eax
cmp dword [eax + 0x34], 0
jg 0x40d1ee
push 0xc5a
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.IO.Fonts__Fonts.Size___0___Font_Atlas_not_built._Did_you_call_io.Fonts__GetTexDataAsRGBA32_____GetTexDataAsAlpha8_____
call edi
mov eax, dword [esi + 0x94]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp dword [eax + 0x34], 0
jg 0x40d1ee
push 0x5c4
push str.H:_repoCminecraft_clickersuserskirxoimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
jne 0x40d20d
push 0xc5b
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.IO.Fonts__Fonts_0___IsLoaded_____Font_Atlas_not_built._Did_you_call_io.Fonts__GetTexDataAsRGBA32_____GetTexDataAsAlpha8_____
call edi
add esp, 0xc
movss xmm0, dword [esi + 0x15c4]
comiss xmm0, dword [0x4b2ce0]
ja 0x40d232
push 0xc5c
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.Style.CurveTessellationTol___0.0f___Invalid_style_setting_
call edi
add esp, 0xc
movss xmm0, dword [esi + 0x1528]
comiss xmm0, dword [0x4b2ce0]
jb 0x40d250
movss xmm1, dword [0x4b2d64]
comiss xmm1, xmm0
jae 0x40d264
push 0xc5d
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.Style.Alpha___0.0f__g.Style.Alpha___1.0f___Invalid_style_setting._Alpha_cannot_be_negative__allows_us_to_avoid_a_few_clamps_in_color_computations__
call edi
add esp, 0xc
mov eax, dword [esi + 0x1960]
test eax, eax
je 0x40d28a
cmp dword [esi + 0x1964], eax
je 0x40d28a
push 0xc5e
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str._g.FrameCount__0__g.FrameCountEnded__g.FrameCount____Forgot_to_call_Render___or_EndFrame___at_the_end_of_the_previous_frame__
call edi
add esp, 0xc
lea eax, [esi + 0x34]
mov edx, 0x15
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
nop word [eax + eax]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jl 0x40d2af
cmp ecx, 0x200
jl 0x40d2cb
push 0xc60
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.IO.KeyMap_n_____1__g.IO.KeyMap_n______int__sizeof_g.IO.KeysDown__sizeof_g.IO.KeysDown______io.KeyMap___contains_an_out_of_bound_value__need_to_be_0..512__or__1_for_unmapped_key__
call edi
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x1c]
add eax, 4
sub edx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jne 0x40d2a0
test byte [esi + 8], 1
je 0x40d2fb
cmp dword [esi + 0x64], 0xffffffff
jne 0x40d2fb
push 0xc64
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.IO.KeyMap_ImGuiKey_Space_____1___ImGuiKey_Space_is_not_mapped__required_for_keyboard_navigation._
call edi
add esp, 0xc
cmp byte [esi + 0xbf], 0
je 0x40d311
test byte [esi + 0xc], 2
jne 0x40d311
mov byte [esi + 0xbf], 0
cmp byte [esi + 0x2c38], 0
jne 0x40d38b
cmp dword [esi + 0x2c58], 0
je 0x40d337
push 0xc6d
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.SettingsWindows.empty__
call edi
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40d384
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call fcn.0040a2a0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x40d384
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.00419740
mov ecx, dword [0x4b9298]
test ecx, ecx
je 0x40d377
dec dword [ecx + 0x3a0]
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x2c38], 1
movss xmm0, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
inc dword [esi + 0x1960]
cvtps2pd xmm0, xmm0
mov byte [esi + 1], 1
mov dword [esi + 0x2c18], 0
mov dword [esi + 0x19a8], 0
addsd xmm0, qword [esi + 0x1958]
movsd qword [esi + 0x1958], xmm0
mov byte [eax], 1
mov eax, dword [0x4b9298]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x40d407
mov eax, dword [eax + 0x94]
add eax, 0x34
mov dword [esp + 0x1c], eax
cmp dword [eax], ecx
jg 0x40d402
push 0x5c4
push str.H:_repoCminecraft_clickersuserskirxoimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call fcn.00414450
mov eax, dword [esi + 0x18c8]
cmp dword [eax + 0x44], 0
jne 0x40d42c
push 0xc8a
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.Font__IsLoaded__
call edi
add esp, 0xc
movss xmm0, dword [esi + 0x10]
lea ecx, [esi + 0x1bf4]
mov eax, dword [esi + 0x15c4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
mov dword [esi + 0x18e4], eax
movups xmmword [esi + 0x18e8], xmm0
call fcn.00421c00
mov eax, dword [esi + 0x94]
lea ecx, [esi + 0x1c3c]
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
cmp edx, edi
jne 0x40d4c4
lea ecx, [edx + 1]
test edi, edi
je 0x40d4a3
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40d4a8
mov eax, 8
cmp eax, ecx
lea edi, [esi + 0x1bf4]
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x48]
call fcn.0041a320
mov edx, dword [edi + 0x48]
lea ecx, [edi + 0x48]
jmp 0x40d4ca
lea edi, [esi + 0x1bf4]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x1c]
mov dword [eax + edx*4], esi
inc dword [ecx]
mov ecx, edi
call fcn.004221c0
mov eax, dword [edi + 0x28]
mov esi, dword [esp + 0x14]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x20]
movss xmm1, dword [eax + 0x18]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm3
jb 0x40d51b
movss dword [esp + 0x28], xmm2
comiss xmm1, xmm3
jb 0x40d526
movss dword [esp + 0x2c], xmm1
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jne 0x40d560
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x40d54a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x40d54f
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.004284e0
mov eax, dword [edi + 0x3c]
movups xmm0, xmmword [esp + 0x20]
shl eax, 4
lea ecx, [esi + 0x1bf4]
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
call fcn.004220a0
mov edx, dword [0x4b9298]
xor ecx, ecx
cmp byte [esi + 0x15c1], cl
mov eax, 2
mov byte [esi + 0x1bb4], 0
cmovne ecx, eax
mov dword [esi + 0x1bb8], 0
xor eax, eax
mov dword [esi + 0x1bc0], 0
cmp byte [esi + 0x15c0], al
mov dword [esi + 0x1bc4], 0
setne al
mov dword [esi + 0x1bbc], 0
or ecx, eax
mov dword [esi + 0x1c18], ecx
mov dword [esi + 0x1bd0], 0
mov eax, dword [esi + 0x1bd0]
mov dword [esi + 0x1bd4], 0
mov dword [esi + 0x1bc8], eax
mov eax, dword [esi + 0x1bd4]
mov dword [esi + 0x1bcc], eax
cmp byte [esi + 0x1c6c], 0
je 0x40d634
mov eax, dword [esi + 0x1c84]
cmp eax, dword [esi + 0x19cc]
jne 0x40d634
cmp dword [edx + 0x19cc], eax
jne 0x40d625
mov dword [edx + 0x19d4], eax
cmp dword [edx + 0x19d0], eax
jne 0x40d634
mov byte [edx + 0x19df], 1
cmp dword [esi + 0x19c0], 0
mov eax, dword [esi + 0x19b8]
jne 0x40d64f
mov dword [esi + 0x19c4], 0
jmp 0x40d65d
mov ecx, eax
test eax, eax
je 0x40d669
cmp dword [esi + 0x19cc], eax
jne 0x40d669
mov dword [esi + 0x19c8], 0
mov ecx, eax
movss xmm2, dword [esi + 0x18]
mov eax, dword [esi + 0x19cc]
test ecx, ecx
je 0x40d6a2
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x19c4]
movss dword [esi + 0x19c4], xmm0
cmp eax, ecx
je 0x40d6a2
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x19c8]
movss dword [esi + 0x19c8], xmm0
movaps xmm1, xmm2
mov dword [esi + 0x19c0], ecx
mov ecx, eax
mov dword [esi + 0x19b8], 0
mov byte [esi + 0x19bc], 0
cmp dword [esi + 0x19d4], eax
je 0x40d728
cmp dword [esi + 0x19d0], eax
jne 0x40d728
test eax, eax
je 0x40d728
mov ecx, dword [edx + 0x19cc]
test ecx, ecx
setne al
mov byte [edx + 0x19dc], al
test ecx, ecx
je 0x40d6f8
mov dword [edx + 0x19d8], 0
mov byte [edx + 0x19de], 0
mov dword [edx + 0x19cc], 0
mov dword [edx + 0x19e4], 0
mov byte [edx + 0x19dd], 0
mov dword [edx + 0x19f0], 0
mov ecx, dword [esi + 0x19cc]
movss xmm1, dword [esi + 0x18]
test ecx, ecx
je 0x40d73f
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x19d8]
movss dword [esi + 0x19d8], xmm0
mov eax, dword [esi + 0x19f0]
addss xmm1, dword [esi + 0x1a00]
mov dword [esi + 0x19f4], eax
mov al, byte [esi + 0x19de]
mov byte [esi + 0x19e0], al
mov eax, dword [esi + 0x2bec]
movss dword [esi + 0x1a00], xmm1
mov dword [esi + 0x19d0], ecx
mov dword [esi + 0x19d4], 0
mov byte [esi + 0x19df], 0
mov byte [esi + 0x19dc], 0
test eax, eax
je 0x40d79d
cmp ecx, eax
je 0x40d79d
mov dword [esi + 0x2bec], 0
mov eax, dword [esi + 0x1cd0]
lea edi, [esi + 0xc80]
movss xmm2, dword [0x4b2e6c]
mov ecx, 0x200
mov dword [esi + 0x1cd4], eax
lea eax, [esi + 0x480]
mov dword [esi + 0x1cd0], 0
mov dword [esi + 0x1ccc], 0x7f7fffff
mov byte [esi + 0x1c6d], 0
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
xor ecx, ecx
nop word [eax + eax]
cmp byte [esi + ecx + 0x10c], 0
je 0x40d812
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x40d80b
xorps xmm0, xmm0
jmp 0x40d815
addss xmm0, dword [esi + 0x18]
jmp 0x40d815
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x40d7f0
call fcn.004165a0
call fcn.0040c930
mov eax, dword [esi + 0x2e60]
mov ecx, 0x78
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [esi + eax*4 + 0x2c80]
addss xmm0, dword [esi + 0x2e64]
movss dword [esi + 0x2e64], xmm0
movss dword [esi + eax*4 + 0x2c80], xmm1
mov eax, dword [esi + 0x2e60]
inc eax
movss xmm0, dword [esi + 0x2e64]
cdq
idiv ecx
comiss xmm0, dword [0x4b2ce0]
mov dword [esi + 0x2e60], edx
jbe 0x40d89b
divss xmm0, dword [0x4b2df8]
movss xmm1, dword [0x4b2d64]
divss xmm1, xmm0
jmp 0x40d8a3
movss xmm1, dword [0x4b2e4c]
movss dword [esi + 0x38c], xmm1
call fcn.0040c680
call fcn.0040cf40
mov edi, dword [0x4b9298]
mov edx, dword [edi + 0x1a34]
sub edx, 1
js 0x40d8ec
mov eax, dword [edi + 0x1a3c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x40d8e4
test dword [ecx + 8], 0x8000000
jne 0x40d906
sub eax, 0x24
sub edx, 1
jns 0x40d8d5
cmp dword [esi + 0x1af4], 0
je 0x40d925
movss xmm0, dword [esi + 0x1b04]
comiss xmm0, dword [0x4b2ce0]
jbe 0x40d925
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x4b2dc0]
addss xmm1, dword [esi + 0x1bf0]
minss xmm1, dword [0x4b2d64]
jmp 0x40d946
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x4b2dcc]
movss xmm1, dword [esi + 0x1bf0]
subss xmm1, xmm0
maxss xmm1, dword [0x4b2ce0]
movss dword [esi + 0x1bf0], xmm1
mov dword [esi + 0x1c68], 0
mov dword [esi + 0x2e70], 0xffffffff
mov dword [esi + 0x2e6c], 0xffffffff
mov dword [esi + 0x2e68], 0xffffffff
mov dword [esi + 0x2c28], 0x3f800000
mov dword [esi + 0x2c2c], 0x3f800000
call fcn.0040cd00
cmp dword [esi + 0x19cc], 0
jne 0x40da14
mov eax, dword [esi + 0x1ab8]
test eax, eax
je 0x40da14
cmp byte [eax + 0x76], 0
je 0x40da14
test dword [eax + 8], 0x40000
jne 0x40da14
cmp byte [esi + 0x108], 0
jne 0x40da14
mov ecx, dword [edi + 0x34]
test ecx, ecx
js 0x40da14
xor dl, dl
call fcn.0040f3f0
mov ecx, dword [esi + 0x1ab8]
test al, al
je 0x40da14
cmp dword [esi + 0x1abc], 0
je 0x40da03
mov eax, dword [esi + 0x1b10]
cmp eax, 0x7fffffff
je 0x40da03
xor edi, edi
mov edx, 2
cmp byte [esi + 0x109], 0
cmovne edx, edi
add edx, eax
mov dword [ecx + 0x338], edx
jmp 0x40da14
movzx eax, byte [esi + 0x109]
neg eax
sbb eax, eax
mov dword [ecx + 0x338], eax
mov eax, dword [esi + 0x196c]
mov dword [esi + 0x1b10], 0x7fffffff
cmp dword [esi + 0x1978], eax
je 0x40da4a
push 0xce7
push str.H:_repoCminecraft_clickersuserskirxoimgui.cpp
push str.g.WindowsFocusOrder.Size__g.Windows.Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esi + 0x196c]
add esp, 0xc
xor edi, edi
test eax, eax
je 0x40da8e
cmp edi, eax
jl 0x40da6c
push 0x5c4
push str.H:_repoCminecraft_clickersuserskirxoimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x1974]
mov ecx, dword [eax + edi*4]
inc edi
mov al, byte [ecx + 0x76]
mov byte [ecx + 0x77], al
mov byte [ecx + 0x76], 0
mov byte [ecx + 0x78], 0
mov eax, dword [esi + 0x196c]
cmp edi, eax
jne 0x40da52
mov eax, dword [esi + 0x1ab8]
test eax, eax
je 0x40daa3
cmp byte [eax + 0x77], 0
jne 0x40daa3
call fcn.00414320
mov ecx, dword [esi + 0x1994]
test ecx, ecx
jns 0x40dac9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x1990]
call fcn.0041a320
mov dword [esi + 0x1990], 0
mov ecx, dword [esi + 0x1a44]
test ecx, ecx
jns 0x40daf9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x1a40]
call fcn.0041a6b0
mov dword [esi + 0x1a40], 0
mov ecx, dword [esi + 0x1ab8]
call fcn.00415010
mov eax, dword [0x4b9298]
xor edx, edx
push 0
mov ecx, str.DebugDefault
mov dword [eax + 0x1a78], 0x43c80000
mov dword [eax + 0x1a7c], 0x43c80000
mov dword [eax + 0x1a50], 4
call fcn.00410d90
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret