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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x10125474]
xor eax, esp
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xe4]
mov eax, dword [0x10125f20]
mov dword [esp + 0x5c], eax
push esi
movzx eax, word [ecx + 0x1c8]
mov edx, dword [ecx + 0x160]
mov esi, eax
mov dword [esp + 0x54], eax
movzx eax, word [ecx + 0x1cc]
push edi
xor edi, edi
mov dword [esp + 0xc], esi
mov esi, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edi
cmp dword [edx], edi
je 0x100541f0
push 0x94b
push str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.splitter___Current__0
call fcn.100a20b1
mov ecx, dword [esp + 0x58]
add esp, 0xc
push 4
mov dword [esp + 0x70], edi
lea eax, [esp + 0x8c]
pop edx
and dword [eax - 4], edi
and dword [eax], edi
lea eax, [eax + 0x18]
and dword [eax - 0x14], edi
and dword [eax - 0x10], edi
mov dword [eax - 0xc], edi
mov dword [eax - 8], edi
sub edx, 1
jne 0x100541fe
mov eax, dword [ecx + 0x40]
mov ecx, dword [esp + 0x64]
add ecx, 0x5c3c
lea eax, [eax*2 + 4]
mov dword [esp + 0x3c], eax
add eax, 0x1f
sar eax, 3
and eax, 0xfffffffc
imul esi, eax, 5
mov dword [esp + 0x20], eax
push esi
call fcn.100264b6
mov eax, dword [esp + 0x64]
push esi
push edi
push dword [eax + 0x5c44]
call fcn.1009e0f0
add esp, 0xc
lea edx, [esp + 0x98]
mov ecx, edi
mov edi, dword [esp + 0x64]
push 4
pop esi
mov eax, dword [edi + 0x5c44]
add eax, ecx
add ecx, dword [esp + 0x20]
mov dword [edx], eax
lea edx, [edx + 0x18]
sub esi, 1
jne 0x10054269
mov ecx, dword [esp + 0x20]
mov eax, edi
mov esi, dword [esp + 0x4c]
xor edi, edi
mov eax, dword [eax + 0x5c44]
lea eax, [eax + ecx*4]
mov dword [esp + 0x48], eax
mov eax, edi
mov dword [esp + 0x74], eax
cmp dword [esi + 0x40], edi
jle 0x100549d7
xor edx, edx
mov ecx, eax
and ecx, 0x1f
inc edx
shl edx, cl
mov ecx, eax
mov eax, dword [esi + 0x30]
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x10054515
push dword [esp + 0x74]
lea ecx, [esi + 0x10]
call fcn.1001c4be
mov ecx, eax
mov edx, edi
xor eax, eax
mov dword [esp + 0x68], ecx
cmp word [esp + 0x58], ax
mov dword [esp + 0x7c], edx
setg al
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
add eax, 8
mov dword [esp + 0x34], eax
test edx, edx
jne 0x100542fe
movzx eax, word [ecx + 0x5e]
jmp 0x10054302
movzx eax, word [ecx + 0x60]
mov ecx, dword [esp + 0x34]
movzx eax, ax
push eax
mov dword [esp + 0x54], eax
call fcn.10029523
mov dword [esp + 0x80], eax
cmp dword [eax], edi
jle 0x1005434e
mov ecx, eax
call fcn.10025a55
cmp dword [eax + 0x1c], edi
jne 0x10054347
mov ecx, dword [esp + 0x80]
call fcn.10025a55
cmp dword [eax + 0x20], edi
jne 0x10054347
mov ecx, dword [esp + 0x80]
call fcn.10026245
mov eax, dword [esp + 0x80]
cmp dword [eax], 1
mov ecx, dword [esp + 0x68]
jne 0x100544f9
test dword [ecx], 0x100
mov edx, dword [esp + 0x7c]
jne 0x10054399
cmp word [esp + 0x58], di
jg 0x1005437a
movss xmm0, dword [ecx + 0x48]
maxss xmm0, dword [ecx + 0x44]
jmp 0x1005438f
test edx, edx
jne 0x1005438a
movss xmm0, dword [ecx + 0x48]
maxss xmm0, dword [ecx + 0x40]
jmp 0x1005438f
movss xmm0, dword [ecx + 0x44]
comiss xmm0, dword [ecx + 0x28]
ja 0x100544f9
cmp word [esp + 0x38], di
jle 0x100543b1
movsx eax, word [esi + 0x1cc]
cmp dword [esp + 0x74], eax
jge 0x100543b1
mov ecx, edi
jmp 0x100543b4
xor ecx, ecx
inc ecx
cmp word [esp + 0x58], di
jle 0x100543c3
test edx, edx
jne 0x100543c3
mov eax, edi
jmp 0x100543c6
push 2
pop eax
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp dword [esp + 0x50], ecx
jl 0x100543f1
push 0x983
push str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.channel_no___max_draw_channels
call fcn.100a20b1
mov eax, dword [esp + 0x50]
add esp, 0xc
imul eax, eax, 0x18
mov dword [esp + 0x54], eax
lea ecx, [esp + eax + 0x88]
lea edx, [esp + eax + 0x8c]
mov dword [esp + 0x5c], ecx
lea esi, [esp + eax + 0x90]
mov dword [esp + 0x60], edx
mov dword [esp + 0x78], esi
cmp dword [esp + eax + 0x94], edi
jne 0x10054445
mov dword [esp + eax + 0x84], 0x7f7fffff
mov dword [ecx], 0x7f7fffff
mov ecx, dword [esp + 0x78]
mov dword [edx], 0xff7fffff
mov dword [ecx], 0xff7fffff
jmp 0x10054455
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x60], edx
mov dword [esp + 0x78], ecx
mov edx, dword [esp + eax + 0x98]
mov esi, dword [esp + 0x50]
mov ecx, esi
shr ecx, 5
and esi, 0x1f
push edi
mov eax, dword [edx + ecx*4]
bts eax, esi
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x84]
inc dword [esp + eax + 0x98]
call fcn.1001c581
mov esi, dword [esp + 0x4c]
movss xmm4, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
mov eax, dword [esp + 0x54]
movss xmm0, dword [esp + eax + 0x84]
comiss xmm0, xmm4
jbe 0x100544bb
movss dword [esp + eax + 0x84], xmm4
mov eax, dword [esp + 0x5c]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x100544cc
movss dword [eax], xmm1
mov eax, dword [esp + 0x60]
comiss xmm2, dword [eax]
jbe 0x100544d9
movss dword [eax], xmm2
mov eax, dword [esp + 0x78]
comiss xmm3, dword [eax]
jbe 0x100544e6
movss dword [eax], xmm3
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
bts eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x7c]
inc edx
mov dword [esp + 0x7c], edx
cmp edx, dword [esp + 0x40]
jl 0x100542f4
mov eax, 0xffff
mov word [ecx + 0x5c], ax
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
cmp eax, dword [esi + 0x40]
jl 0x100542a7
cmp dword [esp + 0x6c], edi
je 0x100549d7
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
add ecx, 0x4a44
mov dword [esp + 8], ecx
mov eax, dword [edi + 4]
sub eax, 2
push eax
call fcn.10046eab
push dword [edi + 4]
mov eax, dword [esp + 0x68]
push 2
push dword [esp + 0x50]
mov ecx, dword [eax + 0x4a4c]
mov dword [esp + 0x8c], ecx
call fcn.1005748e
movzx edx, word [esi + 0x1d4]
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
mov eax, dword [eax + ecx*4]
btr eax, edx
cmp word [esp + 0x58], 0
mov edx, dword [esp + 0x48]
mov dword [edx + ecx*4], eax
jle 0x100545bc
xor eax, eax
inc eax
cmp word [esi + 0x1d4], ax
jne 0x100545bc
push 0x9ad
push str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call fcn.100a20b1
add esp, 0xc
mov edx, dword [edi + 4]
xor eax, eax
cmp word [esp + 0x58], ax
lea edi, [esp + 0x24]
setg al
add esi, 0x12c
add eax, 2
sub edx, eax
mov dword [esp + 0x7c], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm2, dword [esp + 0x30]
xor esi, esi
movss xmm3, dword [esp + 0x2c]
mov ecx, esi
movss xmm4, dword [esp + 0x28]
movss xmm1, dword [esp + 0x24]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x40], xmm1
mov dword [esp + 0x78], ecx
imul eax, ecx, 0x18
mov edi, dword [esp + eax + 0x94]
mov dword [esp + 0x50], edi
test edi, edi
je 0x1005490e
lea esi, [esp + 0x84]
add eax, esi
lea edi, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x54], eax
xor eax, eax
inc eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
and esi, eax
je 0x1005465e
cmp word [esp + 0x14], 0
jle 0x1005465e
movss xmm0, dword [esp + 0x24]
jmp 0x10054678
movss xmm0, dword [esp + 0x24]
comiss xmm1, xmm0
movss dword [esp + 0x60], xmm0
ja 0x1005467e
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x60], xmm0
mov eax, ecx
and eax, 2
je 0x10054695
cmp word [esp + 0x58], 0
jle 0x10054695
movss xmm0, dword [esp + 0x28]
jmp 0x100546af
movss xmm0, dword [esp + 0x28]
comiss xmm4, xmm0
movss dword [esp + 0x5c], xmm0
ja 0x100546b5
movaps xmm0, xmm4
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x6c], xmm0
test esi, esi
je 0x100546d9
comiss xmm0, xmm3
jae 0x100546d9
movaps xmm0, xmm3
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x2c], xmm0
test eax, eax
je 0x10054706
mov eax, dword [esp + 0x4c]
test dword [eax + 4], 0x20000
jne 0x10054706
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm2
movss dword [esp + 0x68], xmm0
jae 0x10054712
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm0
jmp 0x1005470c
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x68], xmm0
mov eax, dword [esp + 0x54]
xor esi, esi
mov edi, dword [esp + 0x20]
sar edi, 2
sub edx, dword [eax + 0x10]
mov dword [esp + 0x7c], edx
mov edx, esi
test edi, edi
jle 0x10054748
mov esi, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + edx*4]
not eax
and dword [esi + edx*4], eax
inc edx
cmp edx, edi
jl 0x10054732
mov ecx, dword [esp + 0x78]
xor esi, esi
mov edi, dword [esp + 0x70]
mov edx, esi
mov dword [esp + 0x44], edx
cmp dword [edi + 4], esi
jle 0x100548a1
cmp dword [esp + 0x50], 0
je 0x10054885
mov ecx, dword [esp + 0x54]
mov eax, edx
sar eax, 5
mov dword [esp + 0x10], eax
push 0
mov esi, dword [ecx + 0x14]
mov ecx, edx
and ecx, 0x1f
mov dword [esp + 0x20], esi
mov eax, dword [esi + eax*4]
mov dword [esp + 0x78], eax
xor eax, eax
inc eax
shl eax, cl
pop esi
test dword [esp + 0x74], eax
je 0x10054877
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x1c]
btr eax, ecx
dec dword [esp + 0x50]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push edx
mov dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + 8]
call fcn.10029523
mov edi, eax
xor eax, eax
inc eax
mov dword [esp + 0x1c], edi
cmp dword [edi], eax
jne 0x10054807
push esi
mov ecx, edi
call fcn.1001c581
movss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x60]
movss xmm1, dword [eax + 4]
jb 0x10054807
comiss xmm1, dword [esp + 0x5c]
jb 0x10054807
movss xmm0, dword [esp + 0x6c]
comiss xmm0, dword [eax + 8]
jb 0x10054807
movss xmm0, dword [esp + 0x68]
comiss xmm0, dword [eax + 0xc]
jae 0x1005481e
push 0x9d6
push str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call fcn.100a20b1
add esp, 0xc
push esi
mov ecx, edi
call fcn.1001c581
movss xmm0, dword [esp + 0x60]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 8], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 0xc], xmm0
mov eax, dword [esp + 0x80]
mov edi, eax
push 6
pop ecx
add eax, 0x18
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x70]
xor esi, esi
mov dword [esp + 0x80], eax
inc edx
mov dword [esp + 0x44], edx
cmp edx, dword [edi + 4]
jl 0x1005475b
movss xmm1, dword [esp + 0x40]
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
xor eax, eax
inc eax
cmp ecx, eax
jne 0x10054914
cmp word [esp + 0xc], 0
jle 0x10054914
mov eax, dword [esp + 0x80]
mov edi, eax
mov ecx, dword [esp + 0x70]
add eax, 0x18
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
lea ecx, [ecx + 8]
movzx eax, word [eax + 0x1d4]
push eax
call fcn.10029523
movss xmm1, dword [esp + 0x40]
mov esi, eax
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
inc ecx
xor esi, esi
jmp 0x10054614
mov edi, dword [esp + 0x70]
jmp 0x100548a5
inc ecx
mov dword [esp + 0x78], ecx
cmp ecx, 4
jl 0x10054618
cmp dword [edi + 4], esi
jle 0x10054989
test edx, edx
je 0x10054989
mov ecx, esi
mov edx, eax
and ecx, 0x1f
mov eax, esi
shl edx, cl
mov ecx, dword [esp + 0x48]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x10054978
push esi
lea ecx, [edi + 8]
call fcn.10029523
mov ecx, dword [esp + 0x80]
mov esi, eax
mov edx, dword [esp + 0x7c]
mov edi, ecx
add ecx, 0x18
dec edx
mov dword [esp + 0x80], ecx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x7c], edx
jmp 0x1005497c
mov edx, dword [esp + 0x7c]
inc esi
push 1
mov dword [esp + 0x1c], esi
pop eax
cmp esi, dword [edi + 4]
jl 0x10054927
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x64]
imul eax, dword [eax], 0x18
add eax, dword [esi + 0x4a4c]
cmp dword [esp + 0x80], eax
je 0x100549ba
push 0x9ea
push str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call fcn.100a20b1
add esp, 0xc
imul eax, dword [edi + 4], 0x18
sub eax, 0x30
push eax
mov eax, dword [edi + 0x10]
push dword [esi + 0x4a4c]
add eax, 0x30
push eax
call fcn.1009db70
add esp, 0xc
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
xor ecx, esp
call fcn.1009b3f5
add esp, 0xe0
ret