Function at 0x10032ef0
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 0x10033472
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10032fca
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 0x10032fc3
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea ecx, [ecx - 5]
lea ecx, [eax + ecx*8]
test ecx, ecx
je 0x10032fc3
cmp dword [ecx + 0x1c], 0
lea edx, [edi + 0x60]
jne 0x10032fa9
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
jmp 0x10032fca
mov esi, 0x14
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10032fc3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10032fb0
jmp 0x10032fca
mov ecx, edi
call fcn.10029860
push ebp
mov ecx, edi
call fcn.10032ea0
mov eax, dword [edi + 0x7c]
xor ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x1003300b
cmp dword [edi], ebx
jle 0x1003300b
mov ecx, edi
call fcn.10028290
mov esi, eax
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x10], esi
test esi, esi
je 0x1003300f
mov ebp, dword [esi + 0x1c]
add ebp, dword [esi + 0x18]
mov dword [esp + 0x10], esi
jmp 0x10033011
mov dword [esp + 0x10], ebx
xor ebp, ebp
mov ecx, 1
mov dword [esp + 0x20], ecx
cmp eax, ecx
jle 0x100331f4
mov esi, 0x18
mov dword [esp + 0x24], esi
nop dword [eax + eax]
mov dword [esp + 0x2c], ebx
test ecx, ecx
js 0x10033040
cmp ecx, dword [edi + 0x80]
jl 0x10033058
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 0x10033087
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10033087
lea ecx, [esi + esi*4]
cmp dword [eax + ecx*8 - 8], 0
jne 0x10033087
dec dword [ebx]
mov esi, dword [ebx]
mov edx, esi
mov eax, esi
test esi, esi
jle 0x10033186
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10033186
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 0x100330c7
add ecx, 4
add edx, 4
sub dword [esp + 0x1c], 4
jae 0x100330b0
xor ecx, ecx
jmp 0x100330ec
cmp al, byte [edx]
jne 0x100330e7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100330e7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100330e7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100330e7
xor ecx, ecx
jmp 0x100330ec
sbb ecx, ecx
or ecx, 1
mov edx, dword [ebx]
mov eax, esi
test ecx, ecx
jne 0x10033186
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x20], 0
jne 0x10033186
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x20], 0
jne 0x10033186
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 0x10033148
push 0x746
push str.D:Projectm2extLibrariesimguiimgui.h
push 0x10079204
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 0x100332d2
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 0x100331d3
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 0x100331c0
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 0x10033030
mov eax, dword [edi]
mov ecx, edi
add eax, dword [esp + 0x18]
push eax
call fcn.100339b0
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
add eax, ebx
mov ecx, esi
push eax
call fcn.100338b0
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 0x100332fe
mov esi, 0x18
mov dword [esp + 0x10], esi
nop word [eax + eax]
test ebp, ebp
js 0x1003325c
cmp ebp, dword [edi + 0x80]
jl 0x10033278
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 0x100332a7
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 0x100332e6
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 0x100332ea
mov ebx, dword [ebx + 0xc]
add dword [esp + 0x18], eax
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
jmp 0x100331d7
mov ebx, dword [esp + 0x14]
inc ebp
add esi, 0x18
mov dword [esp + 0x10], esi
cmp ebp, dword [edi + 0x7c]
jl 0x10033250
lea esi, [edi + 0xc]
mov eax, dword [edi]
mov dword [edi + 0x38], ebx
pop ebp
test eax, eax
je 0x10033331
jg 0x10033322
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 0x100333a8
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 0x10033384
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [esp + 0x30]
jae 0x1003339c
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.100335f0
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 0x100333d5
movups xmm0, xmmword [ebx + 0x60]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebx + 0x70]
movq qword [ecx + 0x10], xmm0
jmp 0x1003346b
lea edx, [ebx + 0x60]
mov esi, 0x14
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100333f3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100333e0
jmp 0x1003346b
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 0x10033447
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [esp + 0x30]
jae 0x1003345f
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.100335f0
mov dword [edi + 0x7c], 1
push 0
mov ecx, edi
call fcn.100339b0
push 0
lea ecx, [edi + 0xc]
call fcn.100338b0
push 0
lea ecx, [edi + 0x18]
call fcn.10033a40
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 0x1003350a
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 0x1003350a
mov eax, esi
shl eax, 4
push eax
call fcn.10018210
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x44]
test eax, eax
je 0x10033504
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.10018240
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 0x10033564
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 0x10033564
lea eax, [esi*4]
push eax
call fcn.10018210
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1003355e
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.10018240
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.10005c90
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.100335f0
mov dword [edi + 0x8c], 0x3f800000
pop edi
pop esi
pop ebx
add esp, 0x48
ret