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

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x7c], 1
jle 0x10032762
mov eax, dword [edi + 0x78]
test eax, eax
je 0x100322ba
mov ecx, dword [edi + 0x88]
lea edx, [eax + eax*2]
movq xmm0, qword [edi]
movq qword [ecx + edx*8], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + edx*8 + 8], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
movq xmm0, qword [edi + 0xc]
lea edx, [eax + eax*2]
movq qword [ecx + edx*8 + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [ecx + edx*8 + 0x14], eax
mov ecx, dword [edi + 0x88]
mov dword [edi + 0x78], 0
movq xmm0, qword [ecx]
movq qword [edi], xmm0
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
movq xmm0, qword [ecx + 0xc]
movq qword [edi + 0xc], xmm0
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov ecx, dword [edi + 0xc]
lea eax, [eax + ecx*2]
mov dword [edi + 0x38], eax
mov eax, dword [edi]
test eax, eax
je 0x100322b3
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea ecx, [ecx - 5]
lea ecx, [eax + ecx*8]
test ecx, ecx
je 0x100322b3
cmp dword [ecx + 0x1c], 0
lea edx, [edi + 0x60]
jne 0x10032299
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
jmp 0x100322ba
mov esi, 0x14
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100322b3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100322a0
jmp 0x100322ba
mov ecx, edi
call fcn.10028b20
push ebp
mov ecx, edi
call fcn.10032190
mov eax, dword [edi + 0x7c]
xor ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x100322fb
cmp dword [edi], ebx
jle 0x100322fb
mov ecx, edi
call fcn.10027550
mov esi, eax
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x10], esi
test esi, esi
je 0x100322ff
mov ebp, dword [esi + 0x1c]
add ebp, dword [esi + 0x18]
mov dword [esp + 0x10], esi
jmp 0x10032301
mov dword [esp + 0x10], ebx
xor ebp, ebp
mov ecx, 1
mov dword [esp + 0x20], ecx
cmp eax, ecx
jle 0x100324e4
mov esi, 0x18
mov dword [esp + 0x24], esi
nop dword [eax + eax]
mov dword [esp + 0x2c], ebx
test ecx, ecx
js 0x10032330
cmp ecx, dword [edi + 0x80]
jl 0x10032348
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ebx, dword [edi + 0x88]
add ebx, esi
mov eax, dword [ebx]
mov esi, eax
mov edx, eax
test eax, eax
jle 0x10032377
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10032377
lea ecx, [esi + esi*4]
cmp dword [eax + ecx*8 - 8], 0
jne 0x10032377
dec dword [ebx]
mov esi, dword [ebx]
mov edx, esi
mov eax, esi
test esi, esi
jle 0x10032476
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10032476
mov eax, dword [ebx + 8]
mov edx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0x14
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100323b7
add ecx, 4
add edx, 4
sub dword [esp + 0x1c], 4
jae 0x100323a0
xor ecx, ecx
jmp 0x100323dc
cmp al, byte [edx]
jne 0x100323d7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100323d7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100323d7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100323d7
xor ecx, ecx
jmp 0x100323dc
sbb ecx, ecx
or ecx, 1
mov edx, dword [ebx]
mov eax, esi
test ecx, ecx
jne 0x10032476
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x20], 0
jne 0x10032476
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x20], 0
jne 0x10032476
mov eax, dword [esi + 0x1c]
add dword [ecx + 0x1c], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
add ebp, dword [esi + 0x1c]
mov dword [esp + 0x28], ecx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
cmp ecx, eax
jb 0x10032438
push 0x746
push str.D:Projectm2extLibrariesimguiimgui.h
push 0x100791ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov esi, dword [ebx + 8]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*8]
mov eax, dword [ebx]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*8 - 0x28]
push eax
lea eax, [edx + 0x28]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec dword [ebx]
mov eax, dword [ebx]
mov edx, eax
test eax, eax
jle 0x100325c2
mov eax, dword [ebx + 8]
lea ecx, [edx - 1]
add dword [esp + 0x18], edx
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x14]
add eax, dword [ebx + 0xc]
xor ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test edx, edx
jle 0x100324c3
mov edx, dword [ebx + 8]
xor eax, eax
mov dword [esp + 0x10], esi
nop dword [eax]
mov dword [eax + edx + 0x18], ebp
lea eax, [eax + 0x28]
mov edx, dword [ebx + 8]
inc ecx
add ebp, dword [eax + edx - 0xc]
cmp ecx, dword [ebx]
jl 0x100324b0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
inc ecx
add esi, 0x18
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
cmp ecx, dword [edi + 0x7c]
jl 0x10032320
mov eax, dword [edi]
mov ecx, edi
add eax, dword [esp + 0x18]
push eax
call fcn.10032ca0
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
add eax, ebx
mov ecx, esi
push eax
call fcn.10032ba0
mov eax, dword [edi]
mov ebp, 1
sub eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea edx, [eax + ecx*8]
mov ecx, dword [esi]
mov eax, dword [edi + 0x14]
sub ecx, ebx
mov dword [esp + 0x18], edx
lea ebx, [eax + ecx*2]
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x7c], ebp
jle 0x100325ee
mov esi, 0x18
mov dword [esp + 0x10], esi
nop word [eax + eax]
test ebp, ebp
js 0x1003254c
cmp ebp, dword [edi + 0x80]
jl 0x10032568
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ebx, dword [edi + 0x88]
add ebx, esi
mov eax, dword [ebx]
test eax, eax
je 0x10032597
lea esi, [eax + eax*4]
shl esi, 3
push esi
push dword [ebx + 8]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x24]
add esp, 0xc
add edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100325d6
lea esi, [eax + eax]
push esi
push dword [ebx + 0x14]
mov ebx, dword [esp + 0x1c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x24]
add esp, 0xc
add ebx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
jmp 0x100325da
mov ebx, dword [ebx + 0xc]
add dword [esp + 0x18], eax
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
jmp 0x100324c7
mov ebx, dword [esp + 0x14]
inc ebp
add esi, 0x18
mov dword [esp + 0x10], esi
cmp ebp, dword [edi + 0x7c]
jl 0x10032540
lea esi, [edi + 0xc]
mov eax, dword [edi]
mov dword [edi + 0x38], ebx
pop ebp
test eax, eax
je 0x10032621
jg 0x10032612
push 0x737
push str.D:Projectm2extLibrariesimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
cmp dword [eax + ecx*8 - 8], 0
je 0x10032698
movups xmm1, xmmword [edi + 0x60]
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x74]
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x48], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm0, xmm1
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], eax
movups xmmword [esp + 0x2c], xmm1
jb 0x10032674
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [esp + 0x30]
jae 0x1003268c
push 0x1bc
push str.D:Projectm2extLibrariesimguiimgui_draw.cpp
push str.draw_cmd.ClipRect.x___draw_cmd.ClipRect.z__draw_cmd.ClipRect.y___draw_cmd.ClipRect.w
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.100328e0
mov eax, dword [edi]
mov ebx, edi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea ecx, [ecx - 5]
cmp dword [eax + ecx*8 + 0x1c], 0
lea ecx, [eax + ecx*8]
jne 0x100326c5
movups xmm0, xmmword [ebx + 0x60]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebx + 0x70]
movq qword [ecx + 0x10], xmm0
jmp 0x1003275b
lea edx, [ebx + 0x60]
mov esi, 0x14
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100326e3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100326d0
jmp 0x1003275b
movups xmm1, xmmword [ebx + 0x60]
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x74]
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x48], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm0, xmm1
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], eax
movups xmmword [esp + 0x2c], xmm1
jb 0x10032737
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [esp + 0x30]
jae 0x1003274f
push 0x1bc
push str.D:Projectm2extLibrariesimguiimgui_draw.cpp
push str.draw_cmd.ClipRect.x___draw_cmd.ClipRect.z__draw_cmd.ClipRect.y___draw_cmd.ClipRect.w
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.100328e0
mov dword [edi + 0x7c], 1
push 0
mov ecx, edi
call fcn.10032ca0
push 0
lea ecx, [edi + 0xc]
call fcn.10032ba0
push 0
lea ecx, [edi + 0x18]
call fcn.10032d30
mov eax, dword [edi + 0x2c]
xorps xmm0, xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x24], eax
movups xmmword [edi + 0x60], xmm0
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [edi + 0x40]
test ecx, ecx
jns 0x100327fa
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x100327fa
mov eax, esi
shl eax, 4
push eax
call fcn.100174d0
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x44]
test eax, eax
je 0x100327f4
mov ecx, dword [edi + 0x3c]
shl ecx, 4
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x44]
call fcn.10017500
add esp, 0x10
mov dword [edi + 0x44], ebx
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], 0
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jns 0x10032854
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x10032854
lea eax, [esi*4]
push eax
call fcn.100174d0
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1003284e
mov ecx, dword [edi + 0x48]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x50]
call fcn.10017500
add esp, 0x10
mov dword [edi + 0x50], ebx
mov dword [edi + 0x4c], esi
push 0
lea ecx, [edi + 0x54]
mov dword [edi + 0x48], 0
call fcn.100051d0
xorps xmm0, xmm0
mov dword [edi + 0x78], 0
lea eax, [esp + 0x2c]
mov dword [edi + 0x7c], 1
push eax
mov ecx, edi
movq qword [esp + 0x50], xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x40], xmm0
call fcn.100328e0
mov dword [edi + 0x8c], 0x3f800000
pop edi
pop esi
pop ebx
add esp, 0x48
ret