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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065781
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e0
mov eax, dword [0x10082450]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x130], edi
cmp dword [edi + 0x4c], 0
jg 0x10021f37
push 0x79f
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str.atlas__ConfigData.Size___0
call fcn.10043d91
add esp, 0xc
cmp dword [edi + 0x58], 0
jge 0x10021fa9
test byte [edi + 4], 2
lea eax, [ebp - 0x198]
mov dword [ebp - 0x190], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x198], Ordinal_2
push eax
mov dword [ebp - 0x194], 0x1b00d9
je 0x10021f9d
mov dword [ebp - 0x194], 0x20002
call fcn.10025c40
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x58], eax
cmp byte [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
je 0x10021ff6
push 0x667
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call fcn.10043d91
add esp, 0xc
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10022006
push eax
call fcn.10013920
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10022016
push eax
call fcn.10013920
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x1ac], ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0x4c]
mov ecx, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x12c], eax
test eax, eax
jle 0x100220b0
cmp eax, ecx
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x100220b0
imul eax, esi, 0xc4
push eax
call fcn.100138f0
mov dword [ebp - 0x14c], eax
add esp, 4
mov dword [ebp - 0x1ac], eax
mov ecx, 8
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1b4], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x148], eax
test eax, eax
jle 0x100220f6
cmp eax, 8
mov esi, eax
cmovl esi, ecx
test esi, esi
jle 0x100220f6
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.100138f0
mov dword [ebp - 0x154], eax
add esp, 4
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x16c], esi
imul ecx, dword [ebp - 0x12c], 0xc4
mov dword [ebp - 0x170], eax
push ecx
push 0
push dword [ebp - 0x14c]
call fcn.1003e700
mov eax, dword [ebp - 0x148]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push dword [ebp - 0x154]
call fcn.1003e700
xor esi, esi
add esp, 0x18
mov dword [ebp - 0x134], esi
cmp dword [edi + 0x4c], esi
jle 0x10022368
mov edi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x130]
add edi, 0xa4
mov dword [ebp - 0x140], esi
nop word [eax + eax]
cmp esi, dword [ebp - 0x12c]
jl 0x10022185
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov edx, dword [ebp - 0x130]
add esp, 0xc
cmp esi, dword [edx + 0x4c]
jl 0x100221a7
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov edx, dword [ebp - 0x130]
add esp, 0xc
mov eax, dword [edx + 0x54]
add eax, dword [ebp - 0x140]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax + 0x74]
test eax, eax
je 0x100221c8
mov eax, dword [eax + 0x38]
test eax, eax
je 0x100221e5
cmp eax, edx
je 0x100221e5
push 0x7b7
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str.cfg.DstFont____cfg.DstFont__IsLoaded____cfg.DstFont__ContainerAtlas__atlas_
call fcn.10043d91
mov edx, dword [ebp - 0x130]
add esp, 0xc
mov dword [edi - 4], 0xffffffff
xor esi, esi
mov eax, dword [edx + 0x34]
test eax, eax
jle 0x10022238
cmp dword [edi - 4], 0xffffffff
jne 0x1002225f
cmp esi, eax
jl 0x1002221c
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov edx, dword [ebp - 0x130]
add esp, 0xc
mov eax, dword [ebp - 0x11c]
mov ecx, dword [edx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + esi*4]
jne 0x10022230
mov dword [edi - 4], esi
mov eax, dword [edx + 0x34]
inc esi
cmp esi, eax
jl 0x100221f5
cmp dword [edi - 4], 0xffffffff
jne 0x1002225f
push 0x7be
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str.src_tmp.DstIndex____1
call fcn.10043d91
add esp, 0xc
cmp dword [edi - 4], 0xffffffff
je 0x10022440
mov esi, dword [ebp - 0x11c]
push dword [esi + 0xc]
push dword [esi]
call fcn.1002c360
add esp, 8
mov dword [ebp - 0x138], eax
test eax, eax
jns 0x10022299
push 0x7c4
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str.font_offset___0___FontData_is_incorrect__or_FontNo_cannot_be_found._
call fcn.10043d91
mov eax, dword [ebp - 0x138]
add esp, 0xc
push eax
push dword [esi]
lea eax, [edi - 0xa4]
push eax
call fcn.10026ba0
add esp, 0xc
test eax, eax
je 0x10022440
mov eax, dword [edi - 4]
mov dword [ebp - 0x138], eax
cmp eax, dword [ebp - 0x148]
jl 0x100222e1
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov eax, dword [ebp - 0x138]
add esp, 0xc
lea ecx, [eax + eax*2]
mov edx, 0x1006e878
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [ebp - 0x11c], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x10022321
movzx eax, word [edx + 2]
test ax, ax
je 0x1002231b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10022300
mov ecx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x11c]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add edi, 0xc4
add dword [ebp - 0x140], 0x78
mov dword [esi + edx*8 + 4], ecx
mov esi, dword [ebp - 0x134]
mov edx, dword [ebp - 0x130]
inc esi
mov dword [ebp - 0x134], esi
cmp esi, dword [edx + 0x4c]
jl 0x10022160
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x12c], ecx
jle 0x100227d3
mov esi, dword [ebp - 0x14c]
add esi, 0xa8
mov dword [ebp - 0x124], esi
mov edi, dword [esi - 8]
cmp edi, dword [ebp - 0x148]
jl 0x100223b6
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
add esp, 0xc
mov eax, dword [esi - 4]
lea ecx, [esi + 4]
add eax, 0x20
mov dword [ebp - 0x138], ecx
sar eax, 5
lea edi, [edi + edi*2]
push eax
mov dword [ebp - 0x140], edi
call fcn.10025ec0
mov eax, dword [esi + 4]
shl eax, 2
push eax
push 0
push dword [esi + 0xc]
call fcn.1003e700
mov ecx, dword [ebp - 0x154]
lea edi, [edi*8 + 0xc]
add edi, ecx
add esp, 0xc
mov dword [ebp - 0x134], edi
cmp dword [edi], 0
lea eax, [edi + 8]
mov dword [ebp - 0x128], eax
jne 0x1002244c
mov eax, dword [ebp - 0x140]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, edi
add eax, 0x20
sar eax, 5
push eax
call fcn.10025ec0
mov eax, dword [edi]
shl eax, 2
push eax
mov eax, dword [ebp - 0x128]
push 0
push dword [eax]
call fcn.1003e700
add esp, 0xc
jmp 0x10022452
mov byte [ebp - 0x141], 0
jmp 0x100236ec
mov dword [ebp - 0x128], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x120], eax
cmp word [eax], 0
je 0x100225ba
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x100225b4
movzx esi, word [eax]
cmp esi, ecx
ja 0x1002259b
mov eax, dword [edi]
shl eax, 5
cmp esi, eax
jl 0x100224a8
push 0x17c
push 0x10066da8
push str.n____Storage.Size____5_
call fcn.10043d91
add esp, 0xc
mov eax, dword [ebp - 0x128]
mov edi, esi
mov ecx, esi
sar edi, 5
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, dword [eax]
mov dword [ebp - 0x11c], edx
test dword [eax + edi*4], edx
jne 0x10022582
mov eax, dword [ebp - 0x124]
add eax, 0xffffff58
push esi
push eax
call fcn.1002c010
add esp, 8
test eax, eax
je 0x10022582
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x154]
inc dword [eax]
mov eax, dword [ebp - 0x140]
inc dword [ecx + eax*8 + 8]
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
shl eax, 5
cmp esi, eax
jl 0x1002252b
push 0x17d
push 0x10066da8
push str.n____Storage.Size____5_
call fcn.10043d91
add esp, 0xc
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x154]
mov eax, dword [eax + 0xc]
or dword [eax + edi*4], ecx
mov eax, dword [ebp - 0x140]
mov eax, dword [edx + eax*8 + 0xc]
shl eax, 5
cmp esi, eax
jl 0x10022571
push 0x17d
push 0x10066da8
push str.n____Storage.Size____5_
call fcn.10043d91
mov ecx, dword [ebp - 0x11c]
add esp, 0xc
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
or dword [eax + edi*4], ecx
inc dword [ebp - 0x15c]
mov eax, dword [ebp - 0x120]
inc esi
mov edi, dword [ebp - 0x134]
movzx eax, word [eax + 2]
cmp esi, eax
jbe 0x10022488
mov eax, dword [ebp - 0x120]
add eax, 4
mov dword [ebp - 0x120], eax
cmp word [eax], 0
jne 0x10022470
mov esi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x13c]
add esi, 0xc4
inc eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x13c], eax
cmp eax, dword [ebp - 0x12c]
jl 0x10022394
mov esi, dword [ebp - 0x14c]
mov dword [ebp - 0x158], 0
add esi, 0xb8
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x1002263e
lea eax, [edi*4]
push eax
call fcn.100138f0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x138], eax
test edx, edx
je 0x10022638
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1003e180
push dword [esi + 8]
call fcn.10013920
mov eax, dword [ebp - 0x138]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x134], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x128], eax
cmp ecx, eax
jae 0x10022769
xor edx, edx
mov dword [ebp - 0x13c], edx
mov eax, dword [ecx]
mov dword [ebp - 0x120], eax
test eax, eax
je 0x1002274b
xor ecx, ecx
mov edi, 1
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], edi
test edi, eax
je 0x1002272d
mov eax, edx
and eax, 0xffffffe0
add eax, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x160], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1002270b
lea edi, [eax + 1]
test ecx, ecx
je 0x100226b6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100226bb
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10022705
lea eax, [edi*4]
push eax
call fcn.100138f0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x138], eax
test edx, edx
je 0x100226ff
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1003e180
push dword [esi + 8]
call fcn.10013920
mov eax, dword [ebp - 0x138]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x140]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x160]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x13c]
inc ecx
rol edi, 1
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x140], edi
cmp ecx, 0x20
jb 0x10022686
mov ecx, dword [ebp - 0x134]
add ecx, 4
add edx, 0x20
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x13c], edx
cmp ecx, dword [ebp - 0x128]
jb 0x10022663
mov eax, dword [esi - 4]
test eax, eax
je 0x1002278e
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.10013920
add esp, 4
mov dword [esi - 4], 0
mov eax, dword [esi]
cmp eax, dword [esi - 0x10]
je 0x100227ac
push 0x7f3
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str.src_tmp.GlyphsList.Size__src_tmp.GlyphsCount
call fcn.10043d91
add esp, 0xc
mov eax, dword [ebp - 0x158]
add esi, 0xc4
inc eax
mov dword [ebp - 0x158], eax
cmp eax, dword [ebp - 0x12c]
jl 0x100225f5
mov edi, dword [ebp - 0x15c]
jmp 0x100227db
xor edi, edi
mov dword [ebp - 0x15c], edi
xor eax, eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x148], eax
jle 0x1002283d
mov esi, dword [ebp - 0x154]
mov edi, dword [ebp - 0x148]
add esi, 0x14
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x10022829
push ecx
mov dword [esi - 4], 0
mov dword [esi - 8], 0
call fcn.10013920
mov eax, dword [ebp - 0x11c]
add esp, 4
mov dword [esi], 0
inc eax
add esi, 0x18
mov dword [ebp - 0x11c], eax
cmp eax, edi
jl 0x10022800
mov edi, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x10022872
push eax
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x170], 0
call fcn.10013920
add esp, 4
xor eax, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x168], eax
xor eax, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 7
mov eax, 8
test edi, edi
jle 0x100228e9
cmp edi, eax
mov esi, edi
cmovl esi, eax
test esi, esi
jle 0x100228e9
mov eax, esi
shl eax, 4
push eax
call fcn.100138f0
mov dword [ebp - 0x148], eax
add esp, 4
mov dword [ebp - 0x174], eax
mov eax, 8
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], edi
test edi, edi
jle 0x10022926
cmp edi, 8
mov esi, edi
cmovl esi, eax
test esi, esi
jle 0x10022926
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
call fcn.100138f0
add esp, 4
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1bc], esi
mov ecx, edi
mov dword [ebp - 0x1c0], edi
shl ecx, 4
push ecx
push 0
push dword [ebp - 0x148]
call fcn.1003e700
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
push 0
push dword [ebp - 0x140]
call fcn.1003e700
xor eax, eax
xor edx, edx
add esp, 0x18
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x12c], eax
jle 0x10022cf9
mov esi, dword [ebp - 0x14c]
add esi, 0xa8
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], esi
xor ecx, ecx
nop
cmp dword [esi], 0
mov eax, edi
mov dword [ebp - 0x138], eax
je 0x10022cc5
mov ecx, eax
mov dword [ebp - 0x15c], ecx
cmp edx, eax
jl 0x100229e2
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov edx, dword [ebp - 0x124]
mov ecx, edi
add esp, 0xc
mov dword [ebp - 0x15c], ecx
mov edi, dword [ebp - 0x160]
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x148]
mov dword [esi - 0x14], eax
cmp edi, ecx
jl 0x10022a17
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov edx, dword [ebp - 0x124]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
lea eax, [edi*8]
add edx, dword [esi]
sub eax, edi
add edi, dword [esi]
mov dword [ebp - 0x160], edi
mov edi, dword [ebp - 0x130]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x124], edx
mov dword [esi - 0x10], eax
mov eax, dword [ebp - 0x134]
cmp eax, dword [edi + 0x4c]
jl 0x10022a64
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
add esp, 0xc
mov ecx, dword [edi + 0x54]
add ecx, dword [ebp - 0x120]
mov dword [ebp - 0x158], ecx
mov eax, dword [ecx + 0x10]
mov dword [esi - 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esi - 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [esi - 0x20], eax
mov eax, dword [esi - 0x10]
mov dword [esi - 0x28], 0
mov dword [esi - 0x1c], eax
mov al, byte [ecx + 0x14]
mov byte [esi - 0x18], al
mov al, byte [ecx + 0x18]
mov byte [esi - 0x17], al
movss xmm1, dword [ecx + 0x10]
comiss xmm1, dword [0x10069bb0]
jbe 0x10022b10
mov edi, dword [esi - 0xa4]
mov eax, dword [esi - 0x8c]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [ebp - 0x128]
movsx esi, dx
mov eax, dword [ecx - 0x8c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
mov edi, dword [ebp - 0x130]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub eax, esi
mov esi, dword [ebp - 0x128]
movd xmm0, eax
jmp 0x10022b36
mov ecx, dword [esi - 0x94]
mov eax, dword [esi - 0xa4]
xorps xmm1, xmmword [0x10069cb0]
movzx edx, byte [ecx + eax + 0x13]
movzx eax, byte [ecx + eax + 0x12]
shl eax, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x10]
xor edi, edi
mov dword [ebp - 0x1a0], eax
mov eax, dword [esi + 0x10]
divss xmm1, xmm0
movss dword [ebp - 0x138], xmm1
test eax, eax
jle 0x10022cb3
mov dword [ebp - 0x13c], edi
cmp edi, eax
jl 0x10022b7c
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
add esp, 0xc
mov eax, dword [esi + 0x18]
lea ecx, [esi - 0xa8]
push dword [eax + edi*4]
push ecx
call fcn.1002c010
add esp, 8
mov dword [ebp - 0x19c], eax
test eax, eax
jne 0x10022bb2
push 0x822
push str.D:MGRDW_6_SDK_srcimguiimgui_draw.cpp
push str.glyph_index_in_font___0
call fcn.10043d91
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0x158]
sub esp, 0x10
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mulss xmm0, dword [ebp - 0x138]
movss dword [esp + 4], xmm0
movd xmm0, dword [eax + 0x14]
lea eax, [esi - 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x138]
movss dword [esp], xmm0
push dword [ebp - 0x19c]
push eax
call fcn.1002c3f0
mov eax, dword [ebp - 0x1a0]
inc edi
mov ecx, dword [ebp - 0x1a4]
add esp, 0x28
sub ecx, dword [ebp - 0x1a8]
movzx edx, ax
dec cx
mov eax, dword [ebp - 0x158]
add cx, word [eax + 0x14]
mov eax, dword [esi - 0x14]
add cx, dx
mov esi, dword [ebp - 0x13c]
dec dx
mov word [esi + eax + 4], cx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x128]
add cx, word [eax + 0x18]
add cx, dx
mov edx, dword [ebp - 0x13c]
mov eax, dword [esi - 0x14]
mov word [edx + eax + 6], cx
mov eax, dword [esi - 0x14]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x13c], edx
add dword [ebp - 0x11c], ecx
cmp edi, eax
jl 0x10022b7c
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x134]
add esi, 0xc4
inc eax
mov dword [ebp - 0x128], esi
add ecx, 0x78
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x120], ecx
cmp eax, dword [ebp - 0x12c]
jl 0x100229a0
mov eax, dword [ebp - 0x11c]
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10022d12
sqrtsd xmm0, xmm0
jmp 0x10022d17
call fcn.1004dda0
mov esi, dword [ebp - 0x130]
cvtsd2ss xmm0, xmm0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x20], 0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x10022d6f
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1006ea98]
jb 0x10022d4b
mov eax, 0x1000
jmp 0x10022d6f
comiss xmm0, dword [0x1006ea94]
jb 0x10022d5b
mov eax, 0x800
jmp 0x10022d6f
comiss xmm0, dword [0x1006ea90]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1ec]
push 0
push eax
call fcn.1003e700
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x1c]
push 0x30
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x150], esi
call fcn.100138f0
sub esi, dword [ebp - 0x138]
mov edi, eax
mov dword [ebp - 0x124], edi
lea ecx, [esi*8]
push ecx
call fcn.100138f0
add esp, 0x14
test edi, edi
je 0x10022e22
test eax, eax
je 0x10022e1f
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x150]
push esi
push eax
mov dword [ebp - 0x1c4], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x1e4], edx
push eax
push esi
push edi
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x1d4], 0
call fcn.1002bc60
add esp, 0x14
jmp 0x10022e3b
push edi
jmp 0x10022e27
test eax, eax
je 0x10022e2f
push eax
call fcn.10013920
add esp, 4
mov edi, dword [ebp - 0x1e8]
mov dword [ebp - 0x124], edi
mov esi, dword [ebp - 0x130]
push edi
push esi
call fcn.100219a0
mov ecx, dword [ebp - 0x12c]
xor eax, eax
add esp, 8
mov dword [ebp - 0x120], eax
test ecx, ecx
jle 0x10022f07
mov esi, dword [ebp - 0x14c]
add esi, 0xa8
cmp eax, ecx
jl 0x10022e8e
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov eax, dword [ebp - 0x120]
add esp, 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x10022eea
push ecx
push dword [esi - 0x14]
push edi
call fcn.1002be20
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x10022ede
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x10022ed6
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x130]
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 0x10022eb0
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x12c]
inc eax
add esi, 0xc4
mov dword [ebp - 0x120], eax
cmp eax, ecx
jl 0x10022e8e
mov esi, dword [ebp - 0x130]
test byte [esi + 4], 1
mov eax, dword [esi + 0x20]
jne 0x10022f35
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 [0x10069c00]
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
push ecx
movss dword [esi + 0x24], xmm2
movss dword [esi + 0x28], xmm1
call fcn.100138f0
mov ecx, dword [esi + 0x1c]
imul ecx, dword [esi + 0x20]
mov dword [esi + 0x14], eax
push ecx
push 0
push eax
call fcn.1003e700
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 0x1c8], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x1e0], eax
xor eax, eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x12c], eax
jle 0x100231e4
mov edi, dword [ebp - 0x14c]
xor ecx, ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x158], edi
jmp 0x10022fd6
mov esi, dword [ebp - 0x130]
cmp eax, dword [esi + 0x4c]
jl 0x10023004
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov eax, dword [ebp - 0x120]
add esp, 0xc
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
mov esi, dword [esi + 0x54]
add esi, ecx
cmp eax, edx
jl 0x10023036
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov eax, dword [ebp - 0x120]
add esp, 0xc
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
cmp dword [edi + 0xa8], 0
je 0x100231ba
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
push 1
push eax
lea eax, [ebp - 0x1ec]
push edi
push eax
call fcn.1002c970
movss xmm1, dword [esi + 0x44]
add esp, 0x14
ucomiss xmm1, dword [0x10069c00]
movss dword [ebp - 0x150], xmm1
lahf
test ah, 0x44
jnp 0x1002319e
xor esi, esi
nop
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10069c90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1003ccd0
movss xmm1, dword [ebp - 0x150]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x10023080
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [ebp - 0x134], eax
cmp dword [edi + 0xa8], eax
jle 0x1002319e
add ecx, 6
mov dword [ebp - 0x13c], ecx
nop dword [eax + eax]
cmp dword [ecx + 6], 0
je 0x10023182
mov eax, dword [ebp - 0x130]
movzx edx, word [ecx + 4]
movzx edi, word [ecx]
movzx esi, word [ecx - 2]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x11c], eax
movzx eax, word [ecx + 2]
imul edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x130]
add edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x13c]
add edx, eax
test edi, edi
je 0x10023176
mov eax, dword [ebp - 0x11c]
nop word [eax + eax]
xor ecx, ecx
test esi, esi
je 0x10023169
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x118]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x10023150
mov eax, dword [ebp - 0x11c]
dec edi
add edx, eax
test edi, edi
jg 0x10023140
mov ecx, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x134]
inc eax
add ecx, 0x10
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], ecx
cmp eax, dword [edi + 0xa8]
jl 0x100230f0
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
mov dword [edi + 0x94], 0
inc eax
add ecx, 0x78
add edi, 0xc4
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x158], edi
cmp eax, edx
jl 0x10022fd0
mov edi, dword [ebp - 0x1e8]
push dword [ebp - 0x1c4]
call fcn.10013920
push edi
call fcn.10013920
mov ecx, dword [ebp - 0x148]
add esp, 8
test ecx, ecx
je 0x1002322d
push ecx
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0
call fcn.10013920
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x128], eax
test edx, edx
jle 0x10023640
mov esi, dword [ebp - 0x14c]
xor ecx, ecx
add esi, 0x1c
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x160], esi
cmp eax, edx
jl 0x10023287
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
mov eax, dword [ebp - 0x128]
add esp, 0xc
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x12c]
cmp dword [esi + 0x8c], 0
je 0x1002361c
mov edi, dword [ebp - 0x130]
cmp eax, dword [edi + 0x4c]
jl 0x100232b6
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
add esp, 0xc
mov eax, dword [edi + 0x54]
xorps xmm4, xmm4
add eax, dword [ebp - 0x124]
mov edi, dword [esi - 0x18]
mov esi, dword [esi]
mov dword [ebp - 0x120], eax
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x11c], eax
mov eax, 0x100
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
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 dword [ebp - 0x150], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx ecx, dx
mov edx, dword [ebp - 0x150]
mov eax, ecx
sub eax, edx
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mov eax, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [eax + 0x10]
xor eax, eax
divss xmm3, xmm0
comiss xmm2, xmm4
movaps xmm0, xmm3
mulss xmm0, xmm2
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si esi, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0x11c]
lea ecx, [edx + 0x4c]
comiss xmm1, xmm4
mov dword [ebp - 0x150], ecx
mulss xmm3, xmm1
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
mov eax, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
cmp byte [eax + 0x3c], 0
addss xmm0, xmm3
cvttss2si edi, xmm0
jne 0x100233e6
mov ecx, edx
call fcn.10021420
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x150]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x130]
mov dword [edx + 0x38], eax
movss dword [ecx], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x50], xmm0
movss xmm0, dword [ecx]
movss xmm2, dword [0x10069bd8]
mov edi, dword [ebp - 0x120]
addss xmm0, xmm2
inc word [edx + 0x40]
mov esi, dword [ebp - 0x160]
movss xmm1, dword [edi + 0x28]
cvttss2si eax, xmm0
movss dword [ebp - 0x138], xmm1
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x134], eax
addss xmm0, dword [edi + 0x2c]
movss dword [ebp - 0x150], xmm0
cmp dword [esi + 0x8c], eax
jle 0x1002360a
xor edx, edx
mov dword [ebp - 0x13c], edx
cmp eax, dword [esi + 0x9c]
jl 0x1002347c
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
movss xmm1, dword [ebp - 0x138]
add esp, 0xc
movss xmm2, dword [0x10069bd8]
mov edx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x134]
mov eax, dword [esi + 0xa4]
movss xmm7, dword [edi + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x164], eax
movss xmm0, dword [ecx + edx + 0x10]
comiss xmm7, xmm0
ja 0x100234ad
movss xmm7, dword [edi + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x100234d9
cmp byte [edi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x100234d5
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [ebp - 0x130]
sub esp, 0x24
movss xmm2, dword [0x10069c00]
movss xmm3, dword [0x10069c00]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm7
divss xmm2, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [ecx + edx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + edx + 2]
divss xmm3, xmm0
movd xmm4, eax
movzx eax, word [ecx + edx + 4]
cvtdq2ps xmm5, xmm5
movd xmm1, eax
movzx eax, word [ecx + edx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
xorps xmm2, xmm2
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ecx + edx + 0x18]
addss xmm0, xmm2
movss dword [esp + 0x18], xmm1
cvtdq2ps xmm4, xmm4
addss xmm0, dword [ebp - 0x150]
mulss xmm4, xmm3
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x10], xmm5
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx + edx + 0x14]
addss xmm0, xmm2
addss xmm0, xmm6
movss dword [esp + 8], xmm0
movss xmm0, dword [ecx + edx + 0xc]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x150]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + edx + 8]
mov ecx, dword [ebp - 0x11c]
addss xmm0, xmm2
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [ebp - 0x164]
call fcn.1001f410
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x13c]
inc eax
movss xmm1, dword [ebp - 0x138]
add edx, 0x1c
movss xmm2, dword [0x10069bd8]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], edx
cmp eax, dword [esi + 0x8c]
jl 0x10023447
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
inc eax
add esi, 0xc4
add ecx, 0x78
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x124], ecx
cmp eax, edx
jl 0x10023287
xor esi, esi
test edx, edx
jle 0x100236a9
mov edi, dword [ebp - 0x14c]
add edi, 0xb4
cmp esi, edx
jl 0x1002366d
push 0x523
push str.D:MGRDW_6_SDK_srcimguiimgui.h
push str.i___Size
call fcn.10043d91
add esp, 0xc
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 8
test eax, eax
je 0x10023681
push eax
call fcn.10013920
add esp, 4
mov eax, dword [edi]
mov byte [ebp - 4], 9
test eax, eax
je 0x10023694
push eax
call fcn.10013920
add esp, 4
mov edx, dword [ebp - 0x12c]
inc esi
add edi, 0xc4
mov byte [ebp - 4], 7
cmp esi, edx
jl 0x1002366d
push dword [ebp - 0x130]
call fcn.10021710
add esp, 4
mov byte [ebp - 0x141], 1
mov eax, dword [ebp - 0x140]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x100236d5
push eax
call fcn.10013920
add esp, 4
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100236ec
push eax
call fcn.10013920
add esp, 4
mov eax, dword [ebp - 0x154]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x10023703
push eax
call fcn.10013920
add esp, 4
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 4], 0xd
test eax, eax
je 0x1002371d
push eax
call fcn.10013920
add esp, 4
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003cad0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret