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

Disassembly:
sub esp, 0x44
mov eax, dword [0x10124fa4]
push esi
push edi
mov edi, dword [esp + 0x50]
mov esi, dword [eax + 0x3e48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], esi
cmp esi, dword [edi + 0x150]
je 0x10054a3c
push 0x6f6
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.window__table__InnerWindow
call fcn.100a16e1
add esp, 0xc
cmp byte [edi + 0x1d7], 0
jne 0x10054a5c
push 0x6f7
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.table__IsInsideRow
call fcn.100a16e1
add esp, 0xc
cmp dword [edi + 0x48], 0xffffffff
je 0x10054a69
push edi
call fcn.100551b5
pop ecx
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x5aa4], 0
je 0x10054a87
push 0
push 0x100e36a8
push 0
call fcn.100142ca
add esp, 0xc
mov eax, dword [edi + 0x54]
mov dword [esi + 0xf4], eax
movsx eax, word [edi + 0x1c8]
movss xmm1, dword [edi + 0x50]
movss xmm0, dword [edi + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x44]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x2c], xmm0
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
movsx ecx, word [edi + 0x1c6]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x10054af8
movsx eax, word [edi + 0x4c]
subss xmm0, xmm1
push eax
push edi
movss dword [esp + 0x28], xmm0
call fcn.100237ac
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x3c]
pop ecx
movss dword [eax + 8], xmm0
movss xmm0, dword [esp + 0x30]
pop ecx
comiss xmm0, dword [edi + 0xf0]
jb 0x10054ea4
movss xmm0, dword [edi + 0xf8]
comiss xmm0, xmm1
jb 0x10054ea4
and dword [esp + 0x3c], 0
lea ecx, [edi + 4]
mov eax, dword [edi + 0x6c]
cmp eax, 0x1000000
jne 0x10054b49
test byte [ecx], 0x40
je 0x10054b4d
mov eax, dword [edi + 0x68]
push ecx
and eax, 1
mov dword [esp], 0x3f800000
add eax, 0x2d
push eax
call fcn.1000af1b
pop ecx
pop ecx
lea ecx, [edi + 4]
mov dword [esp + 0x3c], eax
mov edx, dword [edi + 0x70]
xor eax, eax
cmp edx, 0x1000000
cmove edx, eax
and dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
cmp dword [edi + 0x44], eax
jg 0x10054b76
mov eax, dword [edi + 0x150]
cmp eax, dword [edi + 0x14c]
jne 0x10054b90
test byte [ecx], 0x80
je 0x10054b90
test dword [edi + 0x64], 0x10000
je 0x10054b89
mov eax, dword [edi + 0x74]
jmp 0x10054b8c
mov eax, dword [edi + 0x78]
mov dword [esp + 0x38], eax
mov ax, word [edi + 0x1ce]
shr ax, 0xf
xor al, 1
mov word [esp + 0x4a], ax
mov eax, edx
or eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
jne 0x10054bbf
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x44], eax
je 0x10054bbf
cmp byte [esp + 0x4a], 0
je 0x10054c03
test dword [ecx], 0x100000
jne 0x10054bec
movups xmm0, xmmword [edi + 0x10c]
mov edi, dword [esi + 0x264]
lea esi, [esp + 8]
add edi, 0x60
movups xmmword [esp + 8], 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 edi, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
mov ecx, dword [edi + 0x160]
push 0
push dword [esi + 0x264]
call fcn.1003d9e7
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10054c13
test edx, edx
je 0x10054cc3
movss xmm0, dword [edi + 0xdc]
movss xmm1, dword [edi + 0x100]
movss xmm2, dword [edi + 0x108]
maxss xmm0, dword [edi + 0xfc]
maxss xmm1, dword [esp + 0x34]
minss xmm2, dword [esp + 0x2c]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x14], xmm2
minss xmm0, dword [edi + 0x104]
movss dword [esp + 0x10], xmm0
test eax, eax
je 0x10054c99
comiss xmm2, xmm1
jbe 0x10054c99
push 0
push ecx
and dword [esp], 0
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003dda8
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10054cc3
comiss xmm2, xmm1
jbe 0x10054cc3
push 0
push ecx
and dword [esp], 0
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003dda8
cmp byte [esp + 0x4a], 0
je 0x10054dd2
movsx eax, word [edi + 0x1ce]
lea ecx, [edi + 0x20]
push eax
call fcn.10056b0b
push 0
lea ecx, [edi + 0x20]
mov dword [esp + 0x24], eax
call fcn.10056b0b
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x20]
ja 0x10054dce
lea ecx, [edi + 0x10]
movsx eax, word [eax + 4]
push eax
call fcn.1001c339
mov esi, eax
mov eax, dword [esp + 0x50]
movsx ecx, word [eax + 4]
lea eax, [esp + 8]
push ecx
push edi
push eax
call fcn.10055249
movss xmm0, dword [edi + 0x100]
add esp, 0xc
maxss xmm0, dword [esp + 0xc]
movss xmm2, dword [edi + 0xfc]
maxss xmm2, dword [esp + 8]
movss xmm1, dword [edi + 0x104]
minss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x108]
minss xmm0, dword [esp + 0x14]
movss dword [esp + 8], xmm2
movss dword [esp + 0x10], xmm1
push 0
push ecx
and dword [esp], 0
push dword [eax]
movss dword [esp + 0x20], xmm0
lea eax, [esp + 0x1c]
movss xmm0, dword [esi + 0x20]
maxss xmm0, xmm2
push eax
lea eax, [esp + 0x18]
push eax
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0xc]
mov esi, dword [esp + 0x54]
minss xmm0, xmm1
mov ecx, dword [esi + 0x264]
movss dword [esp + 0x24], xmm0
call fcn.1003dda8
mov eax, dword [esp + 0x50]
lea ecx, [edi + 0x10]
add eax, 8
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x20]
jbe 0x10054cfd
jmp 0x10054dd2
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10054e39
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [edi + 0x100]
jb 0x10054e39
movss xmm0, dword [edi + 0x108]
comiss xmm0, xmm1
jbe 0x10054e39
movss xmm0, dword [edi + 0x80]
push ecx
mov ecx, dword [esi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x7c]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.1003dc1e
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x24]
jne 0x10054ea8
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [edi + 0x100]
jb 0x10054ea8
movss xmm0, dword [edi + 0x108]
comiss xmm0, xmm1
jbe 0x10054ea8
movss xmm0, dword [edi + 0x80]
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x264]
mov dword [esp], 0x3f800000
push dword [edi + 0x74]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x7c]
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x2c], xmm1
push eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
call fcn.1003dc1e
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x18]
jne 0x10054edd
and dword [esp + 0x50], 0
cmp dword [edi + 0x40], 0
jle 0x10054edd
mov esi, dword [esp + 0x50]
lea eax, [edi + 0x10]
push esi
mov ecx, eax
call fcn.1001c339
inc esi
mov byte [eax + 0x6a], 0
lea eax, [edi + 0x10]
cmp esi, dword [edi + 0x40]
jl 0x10054ec0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x24]
jne 0x1005506d
cmp byte [edi + 0x1e1], 0
je 0x10054f07
push 0x759
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push 0x100e36ac
call fcn.100a16e1
add esp, 0xc
movss xmm0, dword [edi + 0x54]
addss xmm0, dword [0x100c24a4]
movsx eax, word [edi + 0x4c]
push eax
push edi
maxss xmm0, dword [esi + 0x1e4]
mov byte [edi + 0x1e1], 1
movss dword [esp + 0x20], xmm0
subss xmm0, dword [edi + 0xc0]
movss dword [esp + 0x58], xmm0
call fcn.100237ac
movss xmm0, dword [esp + 0x58]
pop ecx
pop ecx
movss dword [eax + 0xc], xmm0
movss xmm1, dword [esi + 0x1ec]
minss xmm1, dword [esp + 0x18]
mov ax, word [edi + 0x1d4]
movss dword [edi + 0x120], xmm1
movss dword [edi + 0x100], xmm1
movss xmm0, dword [esi + 0x1ec]
comiss xmm0, xmm1
mov word [edi + 0x1d2], ax
movss dword [edi + 0x128], xmm0
movss dword [edi + 0x108], xmm0
jae 0x10054faf
push 0x762
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_tables.cpp
push str.table__Bg2ClipRectForDrawCmd.Min.y___table__Bg2ClipRectForDrawCmd.Max.y
call fcn.100a16e1
add esp, 0xc
movss xmm1, dword [edi + 0x54]
lea ecx, [edi + 0x10]
movaps xmm0, xmm1
xor eax, eax
addss xmm1, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x50]
mov dword [esp + 0x50], eax
subss xmm1, dword [edi + 0xc0]
movss dword [esi + 0xf4], xmm1
movss dword [edi + 0x54], xmm1
subss xmm1, xmm0
movss dword [edi + 0x50], xmm1
cmp dword [edi + 0x40], eax
jle 0x1005502f
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.1001c339
mov cx, word [eax + 0x60]
mov word [eax + 0x5c], cx
mov ecx, dword [edi + 0x120]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [edi + 0x40]
jl 0x10054ff3
mov dword [esp + 0x18], esi
lea eax, [edi + 0x10]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
jmp 0x10055033
mov dword [esp + 0x50], ecx
push 0
call fcn.1001c339
add eax, 0x20
push eax
push esi
call fcn.1005056c
mov esi, dword [edi + 0x160]
pop ecx
pop ecx
mov ecx, dword [esp + 0x50]
push 0
call fcn.1001c339
mov ecx, esi
movzx eax, word [eax + 0x5c]
push eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x264]
call fcn.1003d9e7
test byte [edi + 0x64], 1
jne 0x10055076
inc dword [edi + 0x68]
mov byte [edi + 0x1d7], 0
pop edi
pop esi
add esp, 0x44
ret