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

Disassembly:
sub esp, 0xe8
mov eax, dword [0x10124480]
xor eax, esp
mov dword [esp + 0xe4], eax
mov edx, dword [esp + 0xec]
mov eax, dword [0x10124fa4]
mov dword [esp + 0x5c], eax
push esi
movzx eax, word [edx + 0x1c8]
mov ecx, dword [edx + 0x160]
mov esi, eax
mov dword [esp + 0x68], eax
movzx eax, word [edx + 0x1cc]
push edi
xor edi, edi
mov dword [esp + 0x28], esi
mov esi, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
cmp dword [ecx], edi
je 0x10053c6c
push 0x94b
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.splitter___Current__0
call fcn.100a16e1
mov edx, dword [esp + 0x74]
add esp, 0xc
push 4
mov dword [esp + 0x74], edi
lea eax, [esp + 0x94]
pop ecx
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 ecx, 1
jne 0x10053c7a
mov eax, dword [edx + 0x40]
mov ecx, dword [esp + 0x64]
add ecx, 0x5c3c
lea eax, [eax*2 + 4]
mov dword [esp + 0x34], eax
add eax, 0x1f
sar eax, 5
shl eax, 2
imul esi, eax, 5
mov dword [esp + 0x44], eax
push esi
call fcn.100261c2
mov eax, dword [esp + 0x64]
push esi
push edi
push dword [eax + 0x5c44]
call fcn.1009d710
add esp, 0xc
lea edx, [esp + 0xa0]
mov ecx, edi
mov edi, dword [esp + 0x64]
push 4
pop esi
mov eax, dword [edi + 0x5c44]
add eax, ecx
add ecx, dword [esp + 0x44]
mov dword [edx], eax
lea edx, [edx + 0x18]
sub esi, 1
jne 0x10053ce5
mov ecx, dword [esp + 0x44]
mov eax, edi
mov esi, dword [esp + 0x68]
xor edi, edi
mov eax, dword [eax + 0x5c44]
lea eax, [eax + ecx*4]
mov dword [esp + 0x60], eax
mov eax, edi
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x40], edi
jle 0x100543b8
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 0x10053f68
push dword [esp + 0x7c]
lea ecx, [esi + 0x10]
call fcn.1001c339
mov ecx, eax
mov edx, edi
xor eax, eax
mov dword [esp + 0x74], ecx
cmp word [esp + 0x6c], ax
mov dword [esp + 0x84], edx
setg al
inc eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
add eax, 8
mov dword [esp + 0x58], eax
test edx, edx
jne 0x10053d7d
movzx eax, word [ecx + 0x5e]
jmp 0x10053d81
movzx eax, word [ecx + 0x60]
mov ecx, dword [esp + 0x58]
movzx eax, ax
push eax
mov dword [esp + 0x84], eax
call fcn.10029281
mov dword [esp + 0x88], eax
cmp dword [eax], edi
jle 0x10053dd0
mov ecx, eax
call fcn.1002572f
cmp dword [eax + 0x1c], edi
jne 0x10053dc9
mov ecx, dword [esp + 0x88]
call fcn.1002572f
cmp dword [eax + 0x20], edi
jne 0x10053dc9
mov ecx, dword [esp + 0x88]
call fcn.10025f51
mov eax, dword [esp + 0x88]
cmp dword [eax], 1
mov ecx, dword [esp + 0x74]
jne 0x10053f46
test dword [ecx], 0x100
mov edx, dword [esp + 0x84]
jne 0x10053e1f
cmp word [esp + 0x6c], 0
jg 0x10053e00
movss xmm0, dword [ecx + 0x48]
maxss xmm0, dword [ecx + 0x44]
jmp 0x10053e15
test edx, edx
jne 0x10053e10
movss xmm0, dword [ecx + 0x48]
maxss xmm0, dword [ecx + 0x40]
jmp 0x10053e15
movss xmm0, dword [ecx + 0x44]
comiss xmm0, dword [ecx + 0x28]
ja 0x10053f46
cmp word [esp + 0x38], 0
jle 0x10053e38
movsx eax, word [esi + 0x1cc]
cmp dword [esp + 0x7c], eax
jge 0x10053e38
mov ecx, edi
jmp 0x10053e3b
xor ecx, ecx
inc ecx
cmp word [esp + 0x6c], 0
jle 0x10053e4b
test edx, edx
jne 0x10053e4b
mov eax, edi
jmp 0x10053e4e
push 2
pop eax
lea esi, [eax + ecx]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], esi
cmp dword [esp + 0x80], eax
jl 0x10053e79
push 0x983
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.channel_no___max_draw_channels
call fcn.100a16e1
add esp, 0xc
imul eax, esi, 0x18
lea esi, [esp + 0x8c]
add esi, eax
mov dword [esp + 0x30], esi
cmp dword [esi + 0x10], edi
jne 0x10053eaf
movaps xmm0, xmmword [0x100cbb60]
lea edi, [esp + 0x8c]
add edi, eax
lea esi, [esp + 0x18]
movups xmmword [esp + 0x18], xmm0
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, dword [esp + 0x30]
mov eax, dword [esp + 0x80]
mov ecx, eax
mov edx, dword [esi + 0x14]
and eax, 0x1f
shr ecx, 5
mov dword [esp + 0x80], eax
mov edi, dword [esp + 0x80]
mov eax, dword [edx + ecx*4]
bts eax, edi
xor edi, edi
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x88]
inc dword [esi + 0x10]
push edi
call fcn.1001c3fc
movss xmm0, dword [esi]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x10053f0a
movss dword [esi], xmm4
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jbe 0x10053f19
movss dword [esi + 4], xmm1
comiss xmm2, dword [esi + 8]
jbe 0x10053f24
movss dword [esi + 8], xmm2
comiss xmm3, dword [esi + 0xc]
jbe 0x10053f2f
movss dword [esi + 0xc], xmm3
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x40]
bts ecx, eax
mov esi, dword [esp + 0x68]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
inc edx
mov dword [esp + 0x84], edx
cmp edx, dword [esp + 0x5c]
jl 0x10053d73
mov eax, 0xffff
mov word [ecx + 0x5c], ax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x7c], eax
cmp eax, dword [esi + 0x40]
jl 0x10053d23
cmp dword [esp + 0x70], 0
je 0x100543b8
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x64]
mov eax, dword [esi + 4]
sub eax, 2
lea ecx, [edi + 0x4a44]
push eax
call fcn.100468a6
push dword [esi + 4]
mov ecx, dword [edi + 0x4a4c]
push 2
push dword [esp + 0x68]
mov dword [esp + 0x94], ecx
call fcn.10056ed9
mov edi, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [esp + 0x60]
movzx edx, word [edi + 0x1d4]
mov ecx, edx
and edx, 0x1f
shr ecx, 5
mov eax, dword [eax + ecx*4]
btr eax, edx
cmp word [esp + 0x6c], 0
mov edx, dword [esp + 0x60]
mov dword [edx + ecx*4], eax
jle 0x1005400c
xor eax, eax
inc eax
cmp word [edi + 0x1d4], ax
jne 0x1005400c
push 0x9ad
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call fcn.100a16e1
add esp, 0xc
mov edx, dword [esi + 4]
xor eax, eax
cmp word [esp + 0x6c], ax
lea esi, [edi + 0x12c]
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
setg al
add eax, 2
sub edx, eax
mov dword [esp + 0x84], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov ecx, esi
mov dword [esp + 0x80], esi
imul eax, ecx, 0x18
mov edi, dword [esp + eax + 0x9c]
mov dword [esp + 0x74], edi
test edi, edi
je 0x100542e3
lea esi, [esp + 0x8c]
add eax, esi
lea edi, [esp + 0x48]
mov esi, eax
mov dword [esp + 0x70], 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 0x1005407c
cmp word [esp + 0x2c], 0
jg 0x1005408e
movss xmm0, dword [esp + 0x48]
minss xmm0, dword [esp + 8]
movss dword [esp + 0x48], xmm0
mov eax, ecx
and eax, 2
je 0x1005409d
cmp word [esp + 0x6c], 0
jg 0x100540af
movss xmm0, dword [esp + 0x4c]
minss xmm0, dword [esp + 0xc]
movss dword [esp + 0x4c], xmm0
test esi, esi
je 0x100540c5
movss xmm0, dword [esp + 0x50]
maxss xmm0, dword [esp + 0x10]
movss dword [esp + 0x50], xmm0
test eax, eax
je 0x100540e8
mov eax, dword [esp + 0x68]
test dword [eax + 4], 0x20000
jne 0x100540e8
movss xmm0, dword [esp + 0x54]
maxss xmm0, dword [esp + 0x14]
movss dword [esp + 0x54], xmm0
mov eax, dword [esp + 0x70]
xor esi, esi
mov edi, dword [esp + 0x44]
sar edi, 2
sub edx, dword [eax + 0x10]
mov dword [esp + 0x84], edx
mov edx, esi
test edi, edi
jle 0x10054124
mov esi, dword [esp + 0x60]
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 0x1005410b
mov ecx, dword [esp + 0x80]
xor esi, esi
mov edi, dword [esp + 0x78]
mov edx, esi
mov dword [esp + 0x58], edx
cmp dword [edi + 4], esi
jle 0x1005427e
cmp dword [esp + 0x74], 0
je 0x10054277
mov ecx, dword [esp + 0x70]
mov eax, edx
sar eax, 5
mov dword [esp + 0x5c], eax
push 0
mov esi, dword [ecx + 0x14]
mov ecx, edx
and ecx, 0x1f
mov dword [esp + 0x44], esi
mov eax, dword [esi + eax*4]
mov dword [esp + 0x80], eax
xor eax, eax
inc eax
shl eax, cl
pop esi
test dword [esp + 0x7c], eax
je 0x10054269
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x40]
btr eax, ecx
dec dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
push edx
mov dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x7c]
lea ecx, [ecx + 8]
call fcn.10029281
mov edi, eax
xor eax, eax
inc eax
mov dword [esp + 0x5c], edi
cmp dword [edi], eax
jne 0x100541ea
push esi
mov ecx, edi
call fcn.1001c3fc
movss xmm1, dword [esp + 0x48]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100541ea
comiss xmm2, dword [esp + 0x4c]
jb 0x100541ea
movss xmm0, dword [esp + 0x50]
comiss xmm0, dword [eax + 8]
jb 0x100541ea
movss xmm0, dword [esp + 0x54]
comiss xmm0, dword [eax + 0xc]
jae 0x1005420d
push 0x9d6
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call fcn.100a16e1
movss xmm0, dword [esp + 0x60]
add esp, 0xc
movss xmm1, dword [esp + 0x48]
movss dword [esp + 0x18], xmm1
mov ecx, edi
movss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esp + 0x50]
push esi
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
call fcn.1001c3fc
mov edx, dword [esp + 0x58]
lea esi, [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x88]
push 6
pop ecx
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, dword [esp + 0x5c]
mov edi, eax
add eax, 0x18
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x78]
xor esi, esi
mov dword [esp + 0x88], eax
inc edx
mov dword [esp + 0x58], edx
cmp edx, dword [edi + 4]
jl 0x10054137
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
xor eax, eax
inc eax
cmp ecx, eax
jne 0x100542e9
cmp word [esp + 0x28], 0
jle 0x100542e9
mov eax, dword [esp + 0x88]
mov edi, eax
mov ecx, dword [esp + 0x78]
add eax, 0x18
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x68]
lea ecx, [ecx + 8]
movzx eax, word [eax + 0x1d4]
push eax
call fcn.10029281
mov edx, dword [esp + 0x84]
mov esi, eax
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x80]
inc ecx
xor esi, esi
mov dword [esp + 0x80], ecx
jmp 0x1005403e
mov edi, dword [esp + 0x78]
jmp 0x10054285
inc ecx
mov dword [esp + 0x80], ecx
cmp ecx, 4
jl 0x1005403e
cmp dword [edi + 4], esi
jle 0x1005436a
test edx, edx
je 0x1005436a
mov ecx, esi
mov edx, eax
and ecx, 0x1f
mov eax, esi
shl edx, cl
mov ecx, dword [esp + 0x60]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x10054356
push esi
lea ecx, [edi + 8]
call fcn.10029281
mov ecx, dword [esp + 0x88]
mov esi, eax
mov edx, dword [esp + 0x84]
mov edi, ecx
add ecx, 0x18
dec edx
mov dword [esp + 0x88], ecx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x84], edx
jmp 0x1005435d
mov edx, dword [esp + 0x84]
inc esi
push 1
mov dword [esp + 0x40], esi
pop eax
cmp esi, dword [edi + 4]
jl 0x100542ff
mov esi, dword [esp + 0x64]
imul eax, dword [esi + 0x4a44], 0x18
add eax, dword [esi + 0x4a4c]
cmp dword [esp + 0x88], eax
je 0x1005439b
push 0x9ea
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call fcn.100a16e1
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.1009d190
add esp, 0xc
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1009a659
add esp, 0xe8
ret