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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x101274a4]
xor eax, esp
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xe4]
mov eax, dword [0x10127f50]
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 0x100537f2
push 0x94b
push str.C:Users_viktoDesktopTANKSOFTSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.splitter___Current__0
call fcn.100a3881
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 0x10053800
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.10025f99
mov eax, dword [esp + 0x64]
push esi
push edi
push dword [eax + 0x5c44]
call fcn.1009f8b0
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 0x1005386b
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 0x10053fd9
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 0x10053b17
push dword [esp + 0x74]
lea ecx, [esi + 0x10]
call fcn.1001bfa4
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 0x10053900
movzx eax, word [ecx + 0x5e]
jmp 0x10053904
movzx eax, word [ecx + 0x60]
mov ecx, dword [esp + 0x34]
movzx eax, ax
push eax
mov dword [esp + 0x54], eax
call fcn.1002900b
mov dword [esp + 0x80], eax
cmp dword [eax], edi
jle 0x10053950
mov ecx, eax
call fcn.10025538
cmp dword [eax + 0x1c], edi
jne 0x10053949
mov ecx, dword [esp + 0x80]
call fcn.10025538
cmp dword [eax + 0x20], edi
jne 0x10053949
mov ecx, dword [esp + 0x80]
call fcn.10025d28
mov eax, dword [esp + 0x80]
cmp dword [eax], 1
mov ecx, dword [esp + 0x68]
jne 0x10053afb
test dword [ecx], 0x100
mov edx, dword [esp + 0x7c]
jne 0x1005399b
cmp word [esp + 0x58], di
jg 0x1005397c
movss xmm0, dword [ecx + 0x48]
maxss xmm0, dword [ecx + 0x44]
jmp 0x10053991
test edx, edx
jne 0x1005398c
movss xmm0, dword [ecx + 0x48]
maxss xmm0, dword [ecx + 0x40]
jmp 0x10053991
movss xmm0, dword [ecx + 0x44]
comiss xmm0, dword [ecx + 0x28]
ja 0x10053afb
cmp word [esp + 0x38], di
jle 0x100539b3
movsx eax, word [esi + 0x1cc]
cmp dword [esp + 0x74], eax
jge 0x100539b3
mov ecx, edi
jmp 0x100539b6
xor ecx, ecx
inc ecx
cmp word [esp + 0x58], di
jle 0x100539c5
test edx, edx
jne 0x100539c5
mov eax, edi
jmp 0x100539c8
push 2
pop eax
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp dword [esp + 0x50], ecx
jl 0x100539f3
push 0x983
push str.C:Users_viktoDesktopTANKSOFTSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.channel_no___max_draw_channels
call fcn.100a3881
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 0x10053a47
mov dword [esp + eax + 0x84], 0x7f7fffff
mov dword [ecx], 0x7f7fffff
mov ecx, dword [esp + 0x78]
mov dword [edx], 0xff7fffff
mov dword [ecx], 0xff7fffff
jmp 0x10053a57
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.1001c067
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 0x10053abd
movss dword [esp + eax + 0x84], xmm4
mov eax, dword [esp + 0x5c]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x10053ace
movss dword [eax], xmm1
mov eax, dword [esp + 0x60]
comiss xmm2, dword [eax]
jbe 0x10053adb
movss dword [eax], xmm2
mov eax, dword [esp + 0x78]
comiss xmm3, dword [eax]
jbe 0x10053ae8
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 0x100538f6
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 0x100538a9
cmp dword [esp + 0x6c], edi
je 0x10053fd9
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.10046493
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.10056a5b
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 0x10053bbe
xor eax, eax
inc eax
cmp word [esi + 0x1d4], ax
jne 0x10053bbe
push 0x9ad
push str.C:Users_viktoDesktopTANKSOFTSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call fcn.100a3881
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 0x10053f10
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 0x10053c60
cmp word [esp + 0x14], 0
jle 0x10053c60
movss xmm0, dword [esp + 0x24]
jmp 0x10053c7a
movss xmm0, dword [esp + 0x24]
comiss xmm1, xmm0
movss dword [esp + 0x60], xmm0
ja 0x10053c80
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x60], xmm0
mov eax, ecx
and eax, 2
je 0x10053c97
cmp word [esp + 0x58], 0
jle 0x10053c97
movss xmm0, dword [esp + 0x28]
jmp 0x10053cb1
movss xmm0, dword [esp + 0x28]
comiss xmm4, xmm0
movss dword [esp + 0x5c], xmm0
ja 0x10053cb7
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 0x10053cdb
comiss xmm0, xmm3
jae 0x10053cdb
movaps xmm0, xmm3
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x2c], xmm0
test eax, eax
je 0x10053d08
mov eax, dword [esp + 0x4c]
test dword [eax + 4], 0x20000
jne 0x10053d08
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm2
movss dword [esp + 0x68], xmm0
jae 0x10053d14
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm0
jmp 0x10053d0e
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 0x10053d4a
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 0x10053d34
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 0x10053ea3
cmp dword [esp + 0x50], 0
je 0x10053e87
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 0x10053e79
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.1002900b
mov edi, eax
xor eax, eax
inc eax
mov dword [esp + 0x1c], edi
cmp dword [edi], eax
jne 0x10053e09
push esi
mov ecx, edi
call fcn.1001c067
movss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x60]
movss xmm1, dword [eax + 4]
jb 0x10053e09
comiss xmm1, dword [esp + 0x5c]
jb 0x10053e09
movss xmm0, dword [esp + 0x6c]
comiss xmm0, dword [eax + 8]
jb 0x10053e09
movss xmm0, dword [esp + 0x68]
comiss xmm0, dword [eax + 0xc]
jae 0x10053e20
push 0x9d6
push str.C:Users_viktoDesktopTANKSOFTSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call fcn.100a3881
add esp, 0xc
push esi
mov ecx, edi
call fcn.1001c067
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 0x10053d5d
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 0x10053f16
cmp word [esp + 0xc], 0
jle 0x10053f16
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.1002900b
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 0x10053c16
mov edi, dword [esp + 0x70]
jmp 0x10053ea7
inc ecx
mov dword [esp + 0x78], ecx
cmp ecx, 4
jl 0x10053c1a
cmp dword [edi + 4], esi
jle 0x10053f8b
test edx, edx
je 0x10053f8b
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 0x10053f7a
push esi
lea ecx, [edi + 8]
call fcn.1002900b
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 0x10053f7e
mov edx, dword [esp + 0x7c]
inc esi
push 1
mov dword [esp + 0x1c], esi
pop eax
cmp esi, dword [edi + 4]
jl 0x10053f29
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 0x10053fbc
push 0x9ea
push str.C:Users_viktoDesktopTANKSOFTSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call fcn.100a3881
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.1009f330
add esp, 0xc
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
xor ecx, esp
call fcn.1009caa0
add esp, 0xe0
ret