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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0xc], esi
cmp dword [esi + 0x4c], 0
mov dword [esp + 0x28], edi
jg 0x41f8a8
push 0x81a
push str.C:UserskaragDesktopmunuguiimgui_draw.cpp
push str.atlas__ConfigData.Size___0
call edi
add esp, 0xc
cmp dword [esi + 0x458], 0
jge 0x41f910
mov ecx, esi
mov dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x64]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
test byte [ecx + 4], 2
lea ecx, [esi + 0x40]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
push eax
mov dword [esp + 0x68], 0x1b00d9
je 0x41f901
mov dword [esp + 0x68], 0x20002
call fcn.00423620
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x458], eax
cmp dword [esi + 0x45c], 0
jge 0x41f975
test byte [esi + 4], 4
jne 0x41f975
lea eax, [esp + 0x64]
mov dword [esp + 0x68], 0xffffffff
push eax
lea ecx, [esi + 0x40]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x68], 0x400041
call fcn.00423620
mov eax, dword [esi + 0x40]
mov esi, dword [esp + 0xc]
dec eax
mov dword [esi + 0x45c], eax
mov ecx, esi
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0041f070
mov ecx, dword [esi + 0x4c]
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], edx
test ecx, ecx
jle 0x41fa07
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x41fa07
mov ecx, dword [0x6ab9c0]
test ecx, ecx
je 0x41f9f3
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call edx
mov edx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x41fa42
cmp eax, 8
mov ecx, eax
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x41fa42
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x41fa32
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x34], eax
imul ecx, dword [esp + 0x18], 0xc4
push ecx
push 0
push dword [esp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x48]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push dword [esp + 0x3c]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x4c], eax
jle 0x41fc90
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
add esi, 0xa4
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], esi
cmp eax, dword [esp + 0x18]
jl 0x41fac3
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x4c]
jl 0x41fae0
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ecx + 0x54]
add eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x74]
test eax, eax
je 0x41fafd
mov eax, dword [eax + 0x38]
test eax, eax
je 0x41fb15
cmp eax, ecx
je 0x41fb15
push 0x832
push str.C:UserskaragDesktopmunuguiimgui_draw.cpp
push str.cfg.DstFont____cfg.DstFont__IsLoaded____cfg.DstFont__ContainerAtlas__atlas_
call edi
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esi - 4], 0xffffffff
xor esi, esi
mov eax, dword [ecx + 0x34]
test eax, eax
jle 0x41fb7f
or edx, 0xffffffff
mov ecx, edx
cmp edx, 0xffffffff
jne 0x41fb7a
or edx, edx
cmp esi, eax
jl 0x41fb50
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [eax - 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + esi*4]
jne 0x41fb6c
mov eax, dword [esp + 0x2c]
mov edx, esi
mov dword [eax - 4], esi
mov eax, dword [esp + 0xc]
inc esi
mov ecx, edx
mov eax, dword [eax + 0x34]
cmp esi, eax
jl 0x41fb28
cmp ecx, 0xffffffff
jne 0x41fb93
push 0x839
push str.C:UserskaragDesktopmunuguiimgui_draw.cpp
push str.src_tmp.DstIndex____1
call edi
add esp, 0xc
mov esi, dword [esp + 0x2c]
cmp dword [esi - 4], 0xffffffff
je 0x41fd03
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
call fcn.004160b0
mov dword [esp + 8], eax
test eax, eax
jns 0x41fbcf
push 0x83f
push str.C:UserskaragDesktopmunuguiimgui_draw.cpp
push str.font_offset___0___FontData_is_incorrect__or_FontNo_cannot_be_found._
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi - 0xa4]
mov edx, dword [eax]
call fcn.00416390
add esp, 4
test eax, eax
je 0x41fd03
mov eax, dword [esi - 4]
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x3c]
jl 0x41fc11
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [eax + eax*2]
mov edx, 0x491f44
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x41fc51
movzx eax, word [edx + 2]
test ax, ax
je 0x41fc4d
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x41fc32
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
inc dword [eax + ecx*8]
mov ecx, dword [esi]
cmp dword [eax + edx*8 + 4], ecx
cmovge ecx, dword [eax + edx*8 + 4]
add esi, 0xc4
add dword [esp + 0x40], 0x78
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], esi
cmp eax, dword [ecx + 0x4c]
jl 0x41faa1
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x18], eax
jle 0x4200d2
mov esi, dword [esp + 0x48]
add esi, 0xa8
mov dword [esp + 0x40], esi
mov eax, dword [esi - 8]
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x3c]
jl 0x41fcd7
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [esi - 4]
lea eax, [eax + eax*2]
mov edi, dword [esi + 8]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
cmp ecx, edi
jle 0x41fd2e
test edi, edi
je 0x41fd0d
mov eax, edi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, edi
jmp 0x41fd12
mov byte [esp + 0x27], 0
jmp 0x420e29
mov edx, 8
cmp edx, ecx
lea edi, [esi + 4]
mov eax, ecx
mov dword [esp + 0x44], edi
cmovg eax, edx
mov ecx, edi
push eax
call fcn.00414760
mov ecx, dword [esp + 8]
jmp 0x41fd35
lea edi, [esi + 4]
mov dword [esp + 0x44], edi
lea eax, [ecx*4]
mov dword [edi], ecx
push eax
push 0
push dword [esi + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x34]
lea edi, [eax*8 + 0xc]
add edi, ecx
mov dword [esp + 0x1c], edi
cmp dword [edi], 0
jne 0x41fdba
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 8], ecx
cmp ecx, eax
jle 0x41fda3
test eax, eax
je 0x41fd8b
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [edi + 4]
jmp 0x41fd90
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, edi
cmovg eax, edx
push eax
call fcn.00414760
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [edi], ecx
push eax
push 0
push dword [edi + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esi - 0xc]
mov dword [esp + 0x50], eax
cmp word [eax], 0
je 0x41ff07
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x41ff03
movzx esi, word [eax]
cmp esi, ecx
ja 0x41feee
mov eax, dword [edi]
shl eax, 5
cmp esi, eax
jl 0x41fe07
push 0x1d9
push str.C:UserskaragDesktopmunuguiimgui_internal.h
push str.n____Storage.Size____5_
call dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edi, esi
mov edx, dword [esp + 0x34]
mov ecx, esi
and ecx, 0x1f
sar edi, 5
mov dword [esp + 0x14], ecx
mov edx, dword [edx + eax*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + edi*4], eax
jne 0x41fed9
mov ecx, dword [esp + 0x40]
mov edx, esi
lea ecx, [ecx - 0xa8]
call fcn.00416910
test eax, eax
je 0x41fed9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc dword [eax]
mov eax, dword [esp + 0x10]
inc dword [ecx + eax*8 + 8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
shl eax, 5
cmp esi, eax
jl 0x41fe7f
push 0x1da
push str.C:UserskaragDesktopmunuguiimgui_internal.h
push str.n____Storage.Size____5_
call dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edi*4]
bts eax, edx
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*8 + 0xc]
shl eax, 5
cmp esi, eax
jl 0x41fec4
push 0x1da
push str.C:UserskaragDesktopmunuguiimgui_internal.h
push str.n____Storage.Size____5_
call dword [esp + 0x34]
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + eax*8 + 0x14]
mov eax, dword [ecx + edi*4]
bts eax, edx
inc dword [esp + 0x2c]
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 0x50]
inc esi
mov edi, dword [esp + 0x1c]
movzx eax, word [eax + 2]
cmp esi, eax
jbe 0x41fde8
mov eax, dword [esp + 0x50]
add eax, 4
mov dword [esp + 0x50], eax
cmp word [eax], 0
jne 0x41fdd0
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add esi, 0xc4
mov edi, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], esi
cmp ecx, dword [esp + 0x18]
jl 0x41fcb2
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], 0
add esi, 0xb8
nop word [eax + eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x41ffa9
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x41ff57
inc dword [eax + 0x374]
lea eax, [edi*4]
push eax
call dword [esp + 0x5c]
mov edx, dword [esi + 8]
add esp, 4
mov dword [esp + 8], eax
test edx, edx
je 0x41ffa3
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x41ff97
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x41ff97
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [esp + 0x1c], edx
lea eax, [edx + eax*4]
mov dword [esp + 0x50], eax
cmp edx, eax
jae 0x420065
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [edx]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x42004d
xor edx, edx
mov edi, 1
mov dword [esp + 0x14], edx
test edi, eax
je 0x42003d
mov eax, dword [esi]
and ecx, 0xffffffe0
add ecx, edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x420023
lea edx, [eax + 1]
mov dword [esp + 8], edx
test ecx, ecx
je 0x420011
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 8]
sar eax, 1
add eax, ecx
jmp 0x420016
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00414760
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
inc edx
rol edi, 1
mov dword [esp + 0x14], edx
cmp edx, 0x20
jb 0x41ffe1
mov edx, dword [esp + 0x1c]
add edx, 4
add ecx, 0x20
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
cmp edx, dword [esp + 0x50]
jb 0x41ffc8
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x420098
mov eax, dword [0x6ab9c0]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x420089
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
add esp, 4
mov dword [esi - 4], 0
mov eax, dword [esi]
mov edi, dword [esp + 0x28]
cmp eax, dword [esi - 0x10]
je 0x4200b7
push 0x86e
push str.C:UserskaragDesktopmunuguiimgui_draw.cpp
push str.src_tmp.GlyphsList.Size__src_tmp.GlyphsCount
call edi
add esp, 0xc
mov eax, dword [esp + 0x30]
add esi, 0xc4
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x18]
jl 0x41ff40
jmp 0x4200d8
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], eax
jle 0x420135
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
add esi, 0x14
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x420125
mov eax, dword [0x6ab9c0]
mov dword [esi - 4], 0
mov dword [esi - 8], 0
test eax, eax
je 0x420113
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esi], 0
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, edi
jl 0x4200f0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x42015c
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x42014c
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x34], 0
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
test esi, esi
jle 0x4201db
cmp esi, 8
mov eax, esi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x4201e3
mov ecx, dword [0x6ab9c0]
test ecx, ecx
je 0x420195
inc dword [ecx + 0x374]
shl eax, 4
push eax
call dword [esp + 0x5c]
mov edx, dword [0x6ab9c0]
add esp, 4
cmp esi, 8
mov dword [esp + 0x3c], eax
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test edx, edx
je 0x4201c1
inc dword [edx + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x44], eax
jmp 0x4201e3
mov dword [esp + 0x3c], 0
mov eax, esi
shl eax, 4
push eax
push 0
push dword [esp + 0x44]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [esp + 0x4c]
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x18], ecx
jle 0x420558
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
add esi, 0xa8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
jmp 0x420254
mov edi, dword [esp + 0x28]
cmp dword [esi], 0
mov edx, eax
mov dword [esp + 8], edx
je 0x420534
mov ecx, edx
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x40], edx
jl 0x42028b
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x40]
mov eax, edx
shl eax, 4
add eax, dword [esp + 0x3c]
mov dword [esi - 0x14], eax
cmp dword [esp + 0x50], ecx
jl 0x4202b9
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
add edx, dword [esi]
mov dword [esp + 0x40], edx
lea eax, [ecx*8]
sub eax, ecx
add ecx, dword [esi]
mov dword [esp + 0x50], ecx
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x28]
mov dword [esi - 0x10], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 0x4c]
jl 0x420301
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call edi
add esp, 0xc
mov ecx, dword [esi + 0x54]
mov edi, dword [esp + 0x10]
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov esi, dword [edi + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [edi - 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [edi - 0x24], eax
mov eax, dword [edi - 0x10]
mov dword [edi - 0x28], 0
mov dword [edi - 0x20], esi
mov dword [edi - 0x1c], eax
mov al, byte [ecx + 0x14]
mov byte [edi - 0x18], al
mov al, byte [ecx + 0x18]
mov byte [edi - 0x17], al
movss xmm1, dword [ecx + 0x10]
comiss xmm1, dword [0x4926d8]
mov dword [esp + 8], esi
jbe 0x4203a5
mov esi, dword [esp + 0x10]
mov eax, 0x100
mov edi, dword [edi - 0x8c]
cwde
mov esi, dword [esi - 0xa4]
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
add cx, ax
mov eax, 0x100
movsx edx, cx
movzx ecx, byte [edi + esi + 4]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 8]
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x4203cb
mov edx, dword [edi - 0x94]
mov eax, dword [edi - 0xa4]
xorps xmm1, xmmword [0x492d90]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
divss xmm1, xmm0
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x30], eax
movss dword [esp + 0x5c], xmm1
test esi, esi
jle 0x420528
mov dword [esp + 8], eax
cmp eax, esi
mov esi, dword [esp + 0x28]
jl 0x420418
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call esi
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [edi + 0x18]
lea ecx, [edi - 0xa8]
mov edx, dword [edx + eax*4]
call fcn.00416910
mov dword [esp + 0x90], eax
test eax, eax
jne 0x42044f
push 0x89d
push str.C:UserskaragDesktopmunuguiimgui_draw.cpp
push str.glyph_index_in_font___0
call esi
mov eax, dword [esp + 0x9c]
add esp, 0xc
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0xa0]
mov edx, eax
push ecx
movd xmm3, dword [esi + 0x18]
lea ecx, [esp + 0x68]
movd xmm2, dword [esi + 0x14]
push ecx
cvtdq2ps xmm3, xmm3
lea ecx, [esp + 0xa4]
push ecx
sub esp, 8
lea ecx, [edi - 0xa8]
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0
mov dword [esp], 0
mulss xmm3, dword [esp + 0x74]
mulss xmm2, dword [esp + 0x74]
call fcn.00418fc0
movzx ecx, word [esi + 0x14]
add esp, 0x18
sub cx, word [esp + 0x98]
mov esi, dword [esp + 8]
dec cx
add cx, word [esp + 0x9c]
mov eax, dword [esp + 0x94]
movzx edx, ax
mov eax, dword [edi - 0x14]
add cx, dx
mov word [eax + esi + 4], cx
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi - 0x14]
movzx ecx, word [ecx + 0x18]
sub cx, word [esp + 0x60]
dec cx
add cx, word [esp + 0x54]
add cx, dx
mov word [eax + esi + 6], cx
mov eax, dword [edi - 0x14]
movzx ecx, word [eax + esi + 6]
movzx eax, word [eax + esi + 4]
add esi, 0x10
imul ecx, eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 8], esi
mov esi, dword [edi + 0x10]
mov dword [esp + 0x30], eax
add dword [esp + 0x14], ecx
cmp eax, esi
jl 0x4203fa
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add esi, 0xc4
add dword [esp + 0x1c], 0x78
inc edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
cmp edx, ecx
jl 0x420250
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x20], 0
test eax, eax
jg 0x4205cc
movd xmm0, ecx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x420583
sqrtsd xmm0, xmm0
jmp 0x420588
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x492884]
jb 0x4205a8
mov eax, 0x1000
jmp 0x4205cc
comiss xmm0, dword [0x49287c]
jb 0x4205b8
mov eax, 0x800
jmp 0x4205cc
comiss xmm0, dword [0x492858]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0xc
mov esi, dword [esi + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [0x6ab9c0]
mov dword [esp + 0x54], esi
test eax, eax
je 0x4205fd
inc dword [eax + 0x374]
push 0x30
call dword [esp + 0x5c]
sub esi, dword [esp + 0xc]
mov edi, eax
mov eax, dword [0x6ab9c0]
add esp, 4
mov dword [esp + 0x10], edi
test eax, eax
je 0x42061f
inc dword [eax + 0x374]
lea eax, [esi*8]
push eax
call dword [esp + 0x5c]
add esp, 4
test edi, edi
je 0x4206a3
test eax, eax
je 0x420691
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
push esi
push eax
mov dword [esp + 0x94], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], ecx
mov ecx, edi
mov dword [esp + 0x7c], edx
mov edx, esi
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], 0
call fcn.00415100
add esp, 0xc
jmp 0x4206c7
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x4206a0
dec dword [eax + 0x374]
push edi
jmp 0x4206b8
test eax, eax
je 0x4206bf
mov ecx, dword [0x6ab9c0]
test ecx, ecx
je 0x4206b7
dec dword [ecx + 0x374]
push eax
call dword [esp + 0x3c]
add esp, 4
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0xc]
mov edx, edi
mov ecx, esi
call fcn.00420e80
cmp dword [esp + 0x18], 0
mov dword [esp + 8], 0
jle 0x42075c
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add esi, 0xa8
mov eax, dword [esi]
test eax, eax
je 0x420745
mov edx, dword [esi - 0x14]
mov ecx, edi
push eax
call fcn.00415710
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x42073d
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x420735
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x420711
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 8]
add esi, 0xc4
inc eax
mov dword [esp + 8], eax
cmp eax, ecx
jl 0x4206f5
mov esi, dword [esp + 0xc]
test byte [esi + 4], 1
mov eax, dword [esi + 0x20]
jne 0x42078a
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x492774]
lea ecx, [eax + 1]
mov eax, dword [esi + 0x1c]
movaps xmm2, xmm1
mov dword [esi + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
mov eax, dword [0x6ab9c0]
movss dword [esi + 0x24], xmm2
movss dword [esi + 0x28], xmm1
test eax, eax
je 0x4207d0
inc dword [eax + 0x374]
push ecx
call dword [esp + 0x5c]
mov ecx, dword [esi + 0x1c]
add esp, 4
imul ecx, dword [esi + 0x20]
mov dword [esi + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x14]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x70], eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x18], ecx
jle 0x4209a8
mov edi, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
jmp 0x420824
mov esi, dword [esp + 0xc]
cmp ecx, dword [esi + 0x4c]
jl 0x420847
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + 0x54]
add esi, eax
cmp dword [edi + 0xa8], 0
je 0x420980
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
mov edx, edi
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.0041b630
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x492774]
movss dword [esp + 0x54], xmm1
lahf
test ah, 0x44
jnp 0x42096e
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x492d60]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.0042e370
movss xmm1, dword [esp + 0x54]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xa0], dl
inc esi
cmp esi, 0x100
jb 0x420890
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edi + 0xa8], eax
jle 0x42096e
add ecx, 4
mov dword [esp + 0x4c], ecx
cmp dword [ecx + 8], 0
je 0x42095a
mov edi, dword [esp + 0xc]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
mov eax, dword [edi + 0x1c]
imul edx, eax
mov dword [esp + 8], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x420952
mov eax, dword [esp + 8]
xor ecx, ecx
test esi, esi
je 0x420947
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0xa0]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x420930
mov eax, dword [esp + 8]
dec edi
add edx, eax
test edi, edi
jg 0x420925
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
inc eax
add ecx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], ecx
cmp eax, dword [edi + 0xa8]
jl 0x4208f5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x94], 0
mov esi, dword [esp + 0x18]
inc ecx
add eax, 0x78
mov dword [esp + 0x1c], ecx
add edi, 0xc4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
cmp ecx, esi
jl 0x420820
mov edi, dword [esp + 0x68]
jmp 0x4209ac
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x8c], 0
je 0x4209c5
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x4209c5
dec dword [eax + 0x374]
push dword [esp + 0x8c]
call dword [esp + 0x3c]
add esp, 4
test edi, edi
je 0x4209e6
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x4209e6
dec dword [eax + 0x374]
push edi
mov edi, dword [esp + 0x3c]
call edi
mov ecx, dword [esp + 0x40]
add esp, 4
test ecx, ecx
je 0x420a15
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x420a07
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esp + 0x3c], 0
xor eax, eax
mov dword [esp + 0x20], eax
test esi, esi
jle 0x420de1
mov esi, dword [esp + 0x48]
xor edi, edi
mov ecx, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
cmp dword [esi + 0xa4], 0
je 0x420d6b
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x4c]
jl 0x420a6c
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x54]
add eax, edi
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov dword [esp + 0x14], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx eax, dx
movzx edx, byte [edi + esi + 5]
mov esi, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [esi + 0x10]
imul ecx, eax
add dx, cx
movsx eax, dx
mov dword [esp + 0x54], eax
sub eax, dword [esp + 8]
cmp byte [esi + 0x3c], 0
mov edx, dword [esp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea edi, [edx + 0x40]
divss xmm1, xmm0
movss dword [esp + 0x60], xmm1
jne 0x420bc8
mov ecx, edx
call fcn.00421ae0
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esi + 0x10]
xorps xmm5, xmm5
mov dword [edx + 0x10], eax
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0xc]
mov dword [edx + 0x38], eax
xor eax, eax
movd xmm0, ecx
mov ecx, dword [esp + 8]
mov dword [edx + 0x3c], esi
movd xmm3, eax
mov eax, dword [esp + 0x54]
movd xmm1, ecx
punpckldq xmm1, xmm3
mov dword [esp + 0x54], 0
movd xmm2, eax
punpckldq xmm2, xmm0
movd xmm0, ecx
xor ecx, ecx
cvtdq2ps xmm0, xmm0
movd xmm3, dword [esp + 0x54]
comiss xmm0, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
seta cl
xor eax, eax
punpckldq xmm2, xmm1
lea ecx, [ecx*2 - 1]
comiss xmm0, xmm5
cvtdq2ps xmm4, xmm2
seta al
movss xmm2, dword [esp + 0x60]
movaps xmm1, xmm2
mov dword [esp + 0x60], 0
movd xmm0, dword [esp + 0x60]
lea eax, [eax*2 - 1]
unpcklps xmm2, xmm1
mulps xmm4, xmm2
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
cvtdq2ps xmm0, xmm2
addps xmm4, xmm0
cvttps2dq xmm0, xmm4
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x4c], xmm0
shufps xmm0, xmm0, 0x55
movss dword [edx + 0x50], xmm0
movss xmm0, dword [edx + 0x4c]
addss xmm0, dword [0x492730]
inc word [edi]
xor edi, edi
movss xmm7, dword [esi + 0x28]
movss dword [esp + 0x5c], xmm7
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [esi + 0x2c]
mov esi, dword [esp + 0x1c]
movss dword [esp + 8], xmm6
cmp dword [esi + 0xa4], edi
jle 0x420d5f
xor edx, edx
mov dword [esp + 0x1c], edx
cmp edi, dword [esi + 0xb4]
jl 0x420c3f
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [esp + 0x34]
movss xmm6, dword [esp + 0x14]
add esp, 0xc
movss xmm7, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
sub esp, 0x20
mov ecx, dword [esi + 0x94]
movss xmm1, dword [0x492774]
movss xmm3, dword [0x492774]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [edx + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [edx + ecx + 2]
divss xmm3, xmm0
movss xmm0, dword [edx + ecx + 0x10]
movd xmm4, eax
movzx eax, word [edx + ecx + 4]
cvtdq2ps xmm5, xmm5
movd xmm2, eax
movzx eax, word [edx + ecx + 6]
cvtdq2ps xmm2, xmm2
mulss xmm5, xmm1
mulss xmm2, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [esi + 0xbc]
cvtdq2ps xmm4, xmm4
movzx eax, word [eax + edi*4]
mulss xmm1, xmm3
mulss xmm4, xmm3
movss dword [esp + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, xmm1
movss xmm3, dword [edx + ecx + 8]
movss dword [esp + 0x14], xmm2
addss xmm3, xmm1
movss dword [esp + 0x10], xmm4
movss dword [esp + 0xc], xmm5
addss xmm0, xmm6
addss xmm3, xmm7
movss dword [esp + 8], xmm0
movss xmm0, dword [edx + ecx + 0x14]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 4], xmm0
movss xmm0, dword [edx + ecx + 0xc]
mov ecx, dword [esp + 0x34]
addss xmm0, xmm1
addss xmm0, xmm6
movss dword [esp], xmm0
push eax
push dword [esp + 0x70]
call fcn.00422110
mov edx, dword [esp + 0x1c]
inc edi
movss xmm6, dword [esp + 8]
add edx, 0x1c
movss xmm7, dword [esp + 0x5c]
mov dword [esp + 0x1c], edx
cmp edi, dword [esi + 0xa4]
jl 0x420c11
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
inc eax
add esi, 0xc4
add edi, 0x78
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edi
cmp eax, ecx
jl 0x420a40
mov esi, dword [esp + 0x48]
xor edi, edi
add esi, 0xb4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x420db3
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x420dab
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x420dd0
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x420dc8
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
add esp, 4
inc edi
add esi, 0xc4
cmp edi, dword [esp + 0x18]
jl 0x420d95
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
call fcn.00421600
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x27], 1
test ecx, ecx
je 0x420e0c
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x420e06
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x420e29
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x420e23
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x420e4c
mov eax, dword [0x6ab9c0]
test eax, eax
je 0x420e40
dec dword [eax + 0x374]
mov esi, dword [esp + 0x38]
push ecx
call esi
add esp, 4
jmp 0x420e50
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x420e6e
mov ecx, dword [0x6ab9c0]
test ecx, ecx
je 0x420e68
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov al, byte [esp + 0x27]
pop edi
pop esi
mov esp, ebp
pop ebp
ret