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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c8
mov eax, dword [0x1003900c]
xor eax, esp
mov dword [esp + 0x1c4], eax
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 + 0x1c], esi
cmp dword [esi + 0x4c], 0
mov dword [esp + 0x34], edi
jg 0x1001df36
push 0x75e
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui_draw.cpp
push str.atlas__ConfigData.Size___0
call edi
add esp, 0xc
cmp dword [esi + 0x58], 0
jge 0x1001dfb1
test byte [esi + 4], 2
lea eax, [esp + 0x88]
lea ecx, [esi + 0x40]
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x88], Ordinal_2
push eax
mov dword [esp + 0x90], 0x1b00d9
je 0x1001dfa5
mov dword [esp + 0x90], 0x20002
call fcn.10021990
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x58], 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.1001d830
mov ecx, dword [esi + 0x4c]
mov eax, 8
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], edx
test ecx, ecx
jle 0x1001e051
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1001e04f
mov ecx, dword [0x100397a0]
test ecx, ecx
je 0x1001e034
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call edx
mov edx, dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x44], eax
mov eax, 8
jmp 0x1001e051
mov eax, ecx
mov esi, dword [esi + 0x34]
mov dword [esp + 0x4c], esi
test esi, esi
jle 0x1001e087
cmp esi, 8
mov ecx, esi
cmovl ecx, eax
test ecx, ecx
jle 0x1001e087
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001e077
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x40], eax
imul ecx, dword [esp + 0x18], 0xc4
push ecx
push 0
push dword [esp + 0x4c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
mov eax, dword [esp + 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
cmp dword [edx + 0x4c], eax
jle 0x1001e2e9
mov esi, dword [esp + 0x44]
add esi, 0xa4
mov dword [esp + 0x2c], eax
mov dword [esp + 8], esi
cmp eax, dword [esp + 0x18]
jl 0x1001e105
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, dword [edx + 0x4c]
jl 0x1001e122
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [edx + 0x54]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x74]
test eax, eax
je 0x1001e13f
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1001e157
cmp eax, edx
je 0x1001e157
push 0x776
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui_draw.cpp
push str.cfg.DstFont____cfg.DstFont__IsLoaded____cfg.DstFont__ContainerAtlas__atlas_
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi - 4], 0xffffffff
xor esi, esi
mov ecx, dword [edx + 0x34]
test ecx, ecx
jle 0x1001e1c5
or eax, 0xffffffff
nop word [eax + eax]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x1001e1be
cmp esi, ecx
jl 0x1001e195
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + esi*4]
mov eax, dword [esp + 8]
jne 0x1001e1af
mov dword [eax - 4], esi
mov eax, esi
jmp 0x1001e1b2
mov eax, dword [eax - 4]
mov ecx, dword [edx + 0x34]
inc esi
mov dword [esp + 0xc], eax
cmp esi, ecx
jl 0x1001e170
cmp dword [esp + 0xc], 0xffffffff
jne 0x1001e1ed
push 0x77d
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui_draw.cpp
push str.src_tmp.DstIndex____1
call edi
mov esi, dword [esp + 0x14]
add esp, 0xc
cmp dword [esi - 4], 0xffffffff
jne 0x1001e1f1
mov byte [esp + 0x2b], 0
jmp 0x1001f574
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
call fcn.1001a840
mov dword [esp + 0x50], eax
test eax, eax
js 0x1001e211
mov edx, dword [esp + 0x20]
jmp 0x1001e22b
push 0x783
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui_draw.cpp
push str.font_offset___0___FontData_is_incorrect__or_FontNo_cannot_be_found._
call edi
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [eax]
push dword [esp + 0x50]
lea ecx, [esi - 0xa4]
call fcn.10014fa0
add esp, 4
test eax, eax
je 0x1001e1e3
mov eax, dword [esi - 4]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x4c]
jl 0x1001e266
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [eax + eax*2]
mov edx, 0x10035f94
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1001e2a6
movzx eax, word [edx + 2]
test ax, ax
je 0x1001e2a2
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1001e287
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
inc dword [eax + ecx*8]
mov eax, dword [eax + edx*8 + 4]
mov ecx, dword [esi]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x40]
add dword [esp + 0x2c], 0x78
add esi, 0xc4
mov dword [esp + 8], esi
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [edx + 0x4c]
jl 0x1001e0e3
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], eax
jle 0x1001e67a
mov esi, dword [esp + 0x44]
add esi, 0xa8
mov dword [esp + 0x10], esi
nop dword [eax + eax]
mov eax, dword [esi - 8]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x4c]
jl 0x1001e335
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [eax + eax*2]
mov eax, dword [esi - 4]
add eax, 0x20
mov dword [esp + 0x3c], ecx
sar eax, 5
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x10], ecx
call fcn.10013890
mov eax, dword [esi + 4]
shl eax, 2
push eax
push 0
push dword [esi + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x40]
lea edx, [eax*8 + 0xc]
add edx, ecx
mov dword [esp + 8], edx
cmp dword [edx], 0
jne 0x1001e3b4
mov eax, dword [ecx + eax*8 + 4]
mov ecx, edx
add eax, 0x20
sar eax, 5
push eax
call fcn.10013890
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ecx*8 + 0xc]
shl eax, 2
push eax
push 0
push dword [edx + ecx*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [esi - 0xc]
mov dword [esp + 0x60], eax
movzx ecx, word [eax]
test cx, cx
je 0x1001e4e4
nop word [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x1001e4dc
movzx edi, cx
cmp edi, eax
ja 0x1001e4c5
mov ecx, edi
mov esi, edi
and ecx, 0x1f
sar esi, 5
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
cmp esi, dword [edx]
jl 0x1001e41b
push 0x4f9
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [esp + 0x40]
mov edx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x5c]
test dword [eax + esi*4], ecx
jne 0x1001e4b4
mov ecx, dword [esp + 0x10]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.10015520
test eax, eax
je 0x1001e4b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
inc dword [eax]
mov eax, dword [esp + 0x3c]
inc dword [ecx + eax*8 + 8]
mov eax, dword [esp + 0xc]
cmp esi, dword [eax]
jl 0x1001e474
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [esp + 0x40]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [eax + 8]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
or dword [eax + esi*4], ecx
cmp esi, dword [edx]
jl 0x1001e4a4
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, dword [esp + 8]
mov eax, dword [edx + 8]
or dword [eax + esi*4], ecx
inc dword [esp + 0x2c]
jmp 0x1001e4b4
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x60]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x1001e3e8
mov eax, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x60], eax
movzx ecx, word [eax]
test cx, cx
jne 0x1001e3d0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
add esi, 0xc4
inc ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x18]
jl 0x1001e310
mov ecx, dword [esp + 0x44]
add ecx, 0xc0
mov dword [esp + 0x30], 0
mov dword [esp + 8], ecx
mov esi, dword [ecx - 0x18]
cmp esi, dword [ecx - 4]
jle 0x1001e584
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001e52e
inc dword [eax + 0x374]
lea eax, [esi*4]
push eax
call dword [esp + 0x70]
mov ecx, dword [esp + 0xc]
add esp, 4
mov edi, eax
mov edx, dword [ecx]
test edx, edx
je 0x1001e57f
mov ecx, dword [ecx - 8]
shl ecx, 2
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x1001e573
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001e573
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [ecx], edi
mov dword [ecx - 4], esi
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 0x14]
mov dword [esp + 0xc], esi
lea eax, [esi + eax*4]
mov dword [esp + 0x84], eax
cmp esi, eax
jae 0x1001e5fc
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [esi]
mov dword [esp + 0x50], eax
test eax, eax
je 0x1001e5e5
xor edi, edi
mov esi, 1
test esi, eax
je 0x1001e5d9
and edx, 0xffffffe0
lea eax, [esp + 0x20]
add edx, edi
add ecx, 0xfffffff8
push eax
mov dword [esp + 0x24], edx
call fcn.10013960
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
inc edi
rol esi, 1
cmp edi, 0x20
jl 0x1001e5b3
mov esi, dword [esp + 0xc]
add esi, 4
add edx, 0x20
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], edx
cmp esi, dword [esp + 0x84]
jb 0x1001e5a2
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x1001e633
mov eax, dword [0x100397a0]
mov dword [ecx - 0x10], 0
mov dword [ecx - 0x14], 0
test eax, eax
je 0x1001e620
dec dword [eax + 0x374]
push edx
call dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [ecx - 0xc], 0
mov eax, dword [ecx - 8]
mov edi, dword [esp + 0x34]
cmp eax, dword [ecx - 0x18]
je 0x1001e657
push 0x7b2
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui_draw.cpp
push str.src_tmp.GlyphsList.Size__src_tmp.GlyphsCount
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [esp + 0x30]
add ecx, 0xc4
inc eax
mov dword [esp + 8], ecx
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x18]
jl 0x1001e517
mov esi, dword [esp + 0x2c]
jmp 0x1001e680
xor esi, esi
mov dword [esp + 0x2c], esi
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x4c], ecx
jle 0x1001e6ef
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
add eax, 0x14
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
nop
mov edx, dword [eax]
test edx, edx
je 0x1001e6d7
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001e6c3
dec dword [eax + 0x374]
push edx
call esi
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [eax], 0
inc ecx
add eax, 0x18
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
cmp ecx, edi
jl 0x1001e6a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1001e717
mov ecx, dword [0x100397a0]
test ecx, ecx
je 0x1001e707
dec dword [ecx + 0x374]
push eax
call dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x40], 0
push esi
lea ecx, [esp + 0xbc]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x50], 0
call fcn.10021830
test esi, esi
jle 0x1001e789
cmp esi, 8
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x1001e789
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001e771
inc dword [eax + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
shl ecx, 4
push ecx
push 0
push eax
mov dword [esp + 0x48], eax
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 + 0x54]
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
xor edx, edx
add esp, 0xc
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x18], ecx
jle 0x1001ec45
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add esi, 0x98
mov dword [esp + 0x14], ecx
mov dword [esp + 8], esi
jmp 0x1001e804
mov edi, dword [esp + 0x34]
cmp dword [esi + 0x10], 0
mov ecx, eax
mov dword [esp + 0x20], ecx
je 0x1001ec1f
mov dword [esp + 0x2c], ecx
cmp edx, dword [esp + 0xb8]
jl 0x1001e841
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov eax, edx
shl eax, 4
add eax, dword [esp + 0x3c]
mov dword [esi - 4], eax
cmp dword [esp + 0x60], ecx
jl 0x1001e867
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
lea eax, [ecx*8]
sub eax, ecx
lea edx, [edx + eax*4]
mov eax, dword [esi + 0x10]
add dword [esp + 0x10], eax
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esi], edx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
cmp eax, dword [esi + 0x4c]
jl 0x1001e8b3
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call edi
mov edi, dword [esp + 0x14]
add esp, 0xc
mov edx, dword [edi]
jmp 0x1001e8b7
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0x54]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov eax, dword [ecx + 0x10]
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], edx
mov al, byte [ecx + 0x14]
mov byte [edi - 8], al
mov al, byte [ecx + 0x18]
mov byte [edi - 7], al
movss xmm1, dword [ecx + 0x10]
comiss xmm1, dword [0x10037258]
jbe 0x1001e950
mov eax, dword [edi - 0x7c]
mov edi, dword [edi - 0x94]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [esp + 8]
movsx esi, dx
mov eax, dword [ecx - 0x7c]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
mov edi, dword [esp + 8]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
mov esi, dword [esp + 0x1c]
jmp 0x1001e976
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
xorps xmm1, xmmword [0x10037690]
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 [esi + 0x10]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x64], eax
divss xmm1, xmm0
movss dword [esp + 0xb4], xmm1
test ecx, ecx
jle 0x1001ec13
mov dword [esp + 0x68], eax
mov esi, dword [esp + 0x34]
cmp eax, ecx
jl 0x1001e9c2
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call esi
mov eax, dword [esp + 0x70]
add esp, 0xc
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.10015520
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1001e9ef
push 0x7e1
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui_draw.cpp
push str.glyph_index_in_font___0
call esi
add esp, 0xc
mov eax, dword [esp + 0x5c]
lea ecx, [edi - 0x98]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], 0
mov dword [esp + 0x84], 0
movd xmm1, dword [eax + 0x14]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [esp + 0xb4]
movss dword [esp + 0x78], xmm1
movd xmm1, dword [eax + 0x18]
lea eax, [esp + 0xc4]
push eax
cvtdq2ps xmm1, xmm1
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x7c]
mulss xmm1, dword [esp + 0xc0]
push eax
movss dword [esp + 0x60], xmm1
call fcn.100159b0
add esp, 0x10
test eax, eax
jne 0x1001ea77
mov dword [esp + 0x70], eax
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
jmp 0x1001eb9a
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, dword [esp + 0x78]
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [0x10037258]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [esp + 0xcc]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [esp + 0x58]
cvttss2si eax, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mov dword [esp + 0x78], eax
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [0x10037258]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x80], xmm0
fld qword [esp + 0x80]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [esp + 0x8c]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [esp + 0x58]
cvttss2si eax, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mov dword [esp + 0x80], eax
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x58], xmm0
fld qword [esp + 0x58]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si esi, xmm0
mov eax, dword [esp + 0x48]
sub esi, dword [esp + 0x20]
movzx edx, ax
mov eax, dword [esp + 0x5c]
add esi, edx
dec si
mov cx, word [eax + 0x14]
sub cx, word [esp + 0x70]
mov eax, dword [edi - 4]
dec cx
add cx, word [esp + 0x78]
mov edi, dword [esp + 0x68]
add cx, dx
mov edx, dword [esp + 0x68]
mov word [edi + eax + 4], cx
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 8]
add si, word [eax + 0x18]
mov eax, dword [edi - 4]
mov word [edx + eax + 6], si
mov eax, dword [edi - 4]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
add dword [esp + 0xc], ecx
mov ecx, dword [edi + 0x20]
cmp eax, ecx
jl 0x1001e9a2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x30]
add esi, 0xc4
add dword [esp + 0x14], 0x78
inc ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 8], esi
cmp ecx, dword [esp + 0x18]
jl 0x1001e800
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test eax, eax
jg 0x1001ecb9
movd xmm0, ecx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1001ec70
sqrtsd xmm0, xmm0
jmp 0x1001ec75
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 [0x1003734c]
jb 0x1001ec95
mov eax, 0x1000
jmp 0x1001ecb9
comiss xmm0, dword [0x10037348]
jb 0x1001eca5
mov eax, 0x800
jmp 0x1001ecb9
comiss xmm0, dword [0x1003733c]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001eced
inc dword [eax + 0x374]
push 0x30
call dword [esp + 0x70]
mov ecx, dword [0x100397a0]
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 4
sub eax, dword [esp + 0x50]
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x1001ed18
inc dword [ecx + 0x374]
shl eax, 3
push eax
call dword [esp + 0x70]
add esp, 4
test esi, esi
je 0x1001eda7
test eax, eax
je 0x1001ed95
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov dword [esp + 0xb8], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0xa4], ecx
push eax
mov ecx, esi
mov dword [esp + 0x98], esi
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 1
mov dword [esp + 0xac], 0
call fcn.10013e60
add esp, 0xc
jmp 0x1001edce
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001eda4
dec dword [eax + 0x374]
push esi
jmp 0x1001edbc
test eax, eax
je 0x1001edc3
mov ecx, dword [0x100397a0]
test ecx, ecx
je 0x1001edbb
dec dword [ecx + 0x374]
push eax
call dword [esp + 0x3c]
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x10], esi
mov edx, esi
mov ecx, edi
call fcn.1001f5e0
cmp dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
jle 0x1001ee66
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
add esi, 0xa8
mov eax, dword [esi]
test eax, eax
je 0x1001ee4b
mov edx, dword [esi - 0x14]
mov ecx, dword [esp + 0x10]
push eax
call fcn.10014440
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1001ee47
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x1001ee3f
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1001ee16
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add esi, 0xc4
inc eax
mov dword [esp + 0x20], eax
cmp eax, ecx
jl 0x1001edf8
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x1001ee94
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
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x100372c0]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x100397a0]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x1001eed8
inc dword [eax + 0x374]
push ecx
call dword [esp + 0x70]
mov ecx, dword [edi + 0x20]
add esp, 4
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x14]
xor edx, edx
add esp, 0xc
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x94], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x18], edx
jle 0x1001f0d3
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], ecx
cmp edx, dword [edi + 0x4c]
jl 0x1001ef4f
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x1001f0ac
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.1001a3a0
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x100372c0]
movss dword [esp + 0x48], xmm1
lahf
test ah, 0x44
jnp 0x1001f096
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10037660]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1002d030
movss xmm1, dword [esp + 0x48]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xc8], dl
inc esi
cmp esi, 0x100
jb 0x1001efa0
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1001f09a
lea ecx, [edx + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x50], ecx
nop dword [eax]
cmp dword [ecx + 8], 0
je 0x1001f07e
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [esp + 0x20], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x1001f072
mov eax, dword [esp + 0x20]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x1001f067
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0xc8]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x1001f050
mov eax, dword [esp + 0x20]
dec edi
add edx, eax
test edi, edi
jg 0x1001f040
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
inc eax
add ecx, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], ecx
cmp eax, dword [edx + 0xa8]
jl 0x1001f010
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x94], 0
inc edx
add eax, 0x78
add ecx, 0xc4
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov dword [esp + 8], ecx
cmp edx, dword [esp + 0x18]
jl 0x1001ef28
mov esi, dword [esp + 0x8c]
cmp dword [esp + 0xb0], 0
je 0x1001f0ec
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f0ec
dec dword [eax + 0x374]
push dword [esp + 0xb0]
call dword [esp + 0x3c]
add esp, 4
test esi, esi
je 0x1001f10d
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f10d
dec dword [eax + 0x374]
push esi
mov esi, dword [esp + 0x3c]
call esi
mov ecx, dword [esp + 0x40]
add esp, 4
test ecx, ecx
je 0x1001f13c
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f12e
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov dword [esp + 0x3c], 0
xor eax, eax
mov dword [esp + 0x68], eax
cmp dword [esp + 0x18], eax
jle 0x1001f52c
mov esi, dword [esp + 0x44]
movss xmm3, dword [0x10037294]
add esi, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], esi
jmp 0x1001f174
mov edi, dword [esp + 0x1c]
cmp dword [esi + 0xa4], 0
je 0x1001f4b8
cmp eax, dword [edi + 0x4c]
jl 0x1001f1a4
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [esp + 0x40]
movss xmm3, dword [0x10037294]
add esp, 0xc
mov eax, dword [edi + 0x54]
add eax, dword [esp + 0x64]
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 0x74]
mov dword [esp + 0xc], eax
mov eax, 0x100
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 5]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 6]
movsx eax, dx
movzx edx, byte [edi + esi + 7]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [edi + 0x10]
imul ecx, eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
add dx, cx
movsx ecx, dx
sub eax, ecx
mov dword [esp + 0x74], ecx
cmp byte [edi + 0x3c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x48], xmm1
jne 0x1001f2bf
mov ecx, esi
call fcn.1001fed0
mov eax, dword [edi + 0x10]
xorps xmm4, xmm4
movd xmm1, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0x3c], edi
movss xmm3, dword [0x10037294]
comiss xmm1, xmm4
mulss xmm1, dword [esp + 0x48]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [esp + 0x74]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm4
mulss xmm1, dword [esp + 0x48]
seta al
cvtdq2ps xmm2, xmm2
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x4c], xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x50], xmm0
jmp 0x1001f2c4
movss xmm2, dword [esi + 0x4c]
inc word [esi + 0x40]
addss xmm2, xmm3
mov esi, dword [esp + 0x50]
movss xmm1, dword [edi + 0x28]
movss dword [esp + 0x20], xmm1
cvttss2si eax, xmm2
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x14], eax
addss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x48], xmm0
cmp dword [esi + 0xa4], eax
jle 0x1001f4b0
xor edx, edx
mov dword [esp + 0x30], edx
nop dword [eax]
cmp eax, dword [esi + 0xb4]
jl 0x1001f340
push 0x4f8
push str.C:UsersMainDesktopLuaCoreImGui_DirectX_9_Kiero_Hook_2imguiimgui.h
push str.i___Size
call dword [esp + 0x40]
movss xmm1, dword [esp + 0x2c]
add esp, 0xc
movss xmm3, dword [0x10037294]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xbc]
movss xmm7, dword [edi + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x94]
mov dword [esp + 0x74], eax
movss xmm0, dword [edx + ecx + 0x10]
comiss xmm7, xmm0
ja 0x1001f370
movss xmm7, dword [edi + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x1001f39c
cmp byte [edi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm3
je 0x1001f398
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [esp + 0x1c]
sub esp, 0x1c
movss xmm3, dword [0x100372c0]
movss xmm2, dword [0x100372c0]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm7
divss xmm3, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [edx + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [edx + ecx + 2]
divss xmm2, xmm0
movd xmm4, eax
movzx eax, word [edx + ecx + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
movzx eax, word [edx + ecx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm2
mulss xmm0, xmm2
movss xmm2, dword [edx + ecx + 8]
mulss xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [esp + 0x64]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [edx + ecx + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [edx + ecx + 0x14]
mov ecx, dword [esp + 0x28]
addss xmm0, xmm4
addss xmm3, dword [esp + 0x64]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [esp + 0x90]
call fcn.100204d0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
inc eax
movss xmm1, dword [esp + 0x20]
add edx, 0x1c
movss xmm3, dword [0x10037294]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
cmp eax, dword [esi + 0xa4]
jl 0x1001f310
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
add dword [esp + 0x64], 0x78
inc eax
add esi, 0xc4
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], esi
cmp eax, ecx
jl 0x1001f170
mov esi, dword [esp + 0x44]
add esi, 0xb4
xor edi, edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1001f4fe
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f4f6
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1001f51b
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f513
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x3c]
add esp, 4
inc edi
add esi, 0xc4
cmp edi, dword [esp + 0x18]
jl 0x1001f4e0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
call fcn.1001fb90
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x2b], 1
test ecx, ecx
je 0x1001f557
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f551
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1001f574
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f56e
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1001f597
mov eax, dword [0x100397a0]
test eax, eax
je 0x1001f58b
dec dword [eax + 0x374]
mov esi, dword [esp + 0x38]
push ecx
call esi
add esp, 4
jmp 0x1001f59b
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1001f5b9
mov ecx, dword [0x100397a0]
test ecx, ecx
je 0x1001f5b3
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x1cc]
mov al, byte [esp + 0x2b]
pop edi
pop esi
xor ecx, esp
call fcn.1002bf1a
mov esp, ebp
pop ebp
ret