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

Disassembly:
sub esp, 0x54
mov eax, dword [0x10124480]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, dword [0x10124fa4]
xor ecx, ecx
xor eax, eax
inc ecx
test byte [edi + 8], 2
mov byte [edi + 0x9b], al
je 0x10020238
mov bh, cl
test byte [edi + 0xc], cl
jne 0x1002023a
mov bh, al
movaps xmm0, xmmword [0x100cbac0]
mov byte [esp + 0xd], bh
movups xmmword [esp + 0x3c], xmm0
movaps xmm0, xmmword [0x100cbad0]
movups xmmword [esp + 0x4c], xmm0
test bh, bh
je 0x10020282
lea esi, [esp + 0x3c]
push dword [esi]
call fcn.1000d63d
pop ecx
test al, al
je 0x10020274
mov dword [edi + 0x47f8], 3
add esi, 4
lea eax, [esp + 0x5c]
cmp esi, eax
jne 0x1002025e
xor ecx, ecx
inc ecx
mov bl, byte [edi + 8]
movaps xmm0, xmmword [0x100cbab0]
and bl, cl
mov byte [esp + 0xe], bl
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x201
mov dword [esp + 0x34], 0x203
mov dword [esp + 0x38], 0x204
je 0x100202d6
lea esi, [esp + 0x20]
push dword [esi]
call fcn.1000d63d
pop ecx
test al, al
je 0x100202cb
mov dword [edi + 0x47f8], 2
add esi, 4
lea eax, [esp + 0x3c]
cmp esi, eax
jne 0x100202b5
xor edx, edx
mov dword [edi + 0x47e4], edx
cmp dword [edi + 0x480c], edx
je 0x100202ed
call fcn.1001539d
xor edx, edx
cmp byte [edi + 0x4834], 0
mov word [edi + 0x4805], 0
mov dword [edi + 0x480c], edx
je 0x1002030c
call fcn.100155ac
xor edx, edx
cmp byte [edi + 0x4801], 0
mov al, dl
mov dword [edi + 0x4878], edx
mov word [edi + 0x4834], 0
mov dword [esp + 0x14], eax
je 0x1002035a
cmp byte [edi + 0x4800], 0
je 0x1002035a
cmp byte [edi + 0x4802], 0
jne 0x1002035a
cmp byte [edi + 0x4803], 0
je 0x1002035a
cmp dword [edi + 0x47c8], edx
push 1
movzx eax, al
pop ecx
cmovne eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1002035d
xor ecx, ecx
inc ecx
mov eax, dword [edi + 0x47fc]
mov byte [edi + 0x4801], dl
test eax, eax
je 0x1002038a
cmp eax, ecx
je 0x1002038a
push 0x2bf5
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui.cpp
push str.g.NavLayer__ImGuiNavLayer_Main__g.NavLayer__ImGuiNavLayer_Menu
call fcn.100a16e1
add esp, 0xc
xor edx, edx
mov ecx, dword [edi + 0x47c8]
test ecx, ecx
je 0x100203bf
mov eax, ecx
cmp dword [eax + 0x300], eax
je 0x100203b5
test dword [eax + 0xc], 0x14000000
jne 0x100203b1
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x10020396
test eax, eax
je 0x100203bf
cmp eax, ecx
je 0x100203bf
mov dword [eax + 0x310], ecx
mov eax, dword [edi + 0x47c8]
test eax, eax
je 0x100203df
cmp dword [eax + 0x310], edx
je 0x100203df
cmp dword [edi + 0x47fc], edx
jne 0x100203df
mov dword [eax + 0x310], edx
call fcn.100218a2
test bl, bl
jne 0x100203ec
test bh, bh
je 0x10020405
mov eax, dword [edi + 0x47c8]
test eax, eax
je 0x10020405
test dword [eax + 0xc], 0x40000
jne 0x10020405
mov al, 1
xor ecx, ecx
jmp 0x10020409
xor ecx, ecx
mov al, cl
mov byte [edi + 0x9d], al
test al, al
je 0x10020424
cmp dword [edi + 0x47cc], ecx
je 0x10020424
cmp byte [edi + 0x4802], 0
je 0x1002042e
mov al, cl
cmp dword [edi + 0x4934], ecx
je 0x10020430
mov al, 1
mov byte [edi + 0x9e], al
call fcn.10020936
xor ecx, ecx
mov dword [edi + 0x47dc], ecx
mov dword [edi + 0x47d8], ecx
mov dword [edi + 0x47d4], ecx
mov dword [edi + 0x47e0], ecx
cmp dword [edi + 0x47cc], ecx
je 0x100205f2
cmp byte [edi + 0x4802], cl
jne 0x100205f2
cmp dword [edi + 0x4934], ecx
jne 0x100205f2
mov eax, dword [edi + 0x47c8]
test eax, eax
je 0x100205f2
test dword [eax + 0xc], 0x40000
jne 0x100205f2
push ebp
mov ebp, 0x26e
lea esi, [ebp - 0x62]
test bl, bl
je 0x100204b0
push ecx
push esi
call fcn.1001615c
pop ecx
pop ecx
test al, al
jne 0x100204c1
xor ecx, ecx
test bh, bh
je 0x100204ee
push ecx
push ebp
call fcn.1001615c
pop ecx
pop ecx
test al, al
je 0x100204ee
mov byte [esp + 0x13], 1
test bl, bl
je 0x100204d8
push 0
push esi
call fcn.1000d64b
pop ecx
pop ecx
test al, al
jne 0x100204ea
test bh, bh
je 0x100204f3
push 0
push ebp
call fcn.1000d64b
pop ecx
pop ecx
test al, al
je 0x100204f3
mov bl, 1
jmp 0x100204f5
mov byte [esp + 0x13], 0
xor bl, bl
cmp byte [esp + 0x12], 0
mov ebp, 0x26d
lea esi, [ebp - 0x60]
je 0x10020512
push 0
push esi
call fcn.1001615c
pop ecx
pop ecx
test al, al
jne 0x10020524
test bh, bh
je 0x10020554
push 0
push ebp
call fcn.1001615c
pop ecx
pop ecx
test al, al
je 0x10020554
cmp byte [esp + 0x12], 0
mov bh, 1
je 0x1002053b
push 0
push esi
call fcn.1000d64b
pop ecx
pop ecx
test al, al
jne 0x10020550
cmp byte [esp + 0x11], 0
je 0x10020556
push 0
push ebp
call fcn.1000d64b
pop ecx
pop ecx
test al, al
je 0x10020556
mov dl, 1
jmp 0x10020558
xor bh, bh
xor dl, dl
mov ecx, dword [edi + 0x3e94]
pop ebp
test ecx, ecx
jne 0x1002057f
test bl, bl
je 0x10020587
mov eax, dword [edi + 0x47cc]
mov dword [edi + 0x47d4], eax
mov dword [edi + 0x47e0], 2
jmp 0x10020587
cmp ecx, dword [edi + 0x47cc]
jne 0x100205c4
test dl, dl
je 0x100205a1
mov eax, dword [edi + 0x47cc]
mov dword [edi + 0x47d4], eax
mov dword [edi + 0x47e0], 1
test ecx, ecx
je 0x100205ad
cmp ecx, dword [edi + 0x47cc]
jne 0x100205c4
cmp byte [esp + 0xf], 0
jne 0x100205b8
test bh, bh
je 0x100205c4
mov eax, dword [edi + 0x47cc]
mov dword [edi + 0x47d8], eax
mov eax, dword [edi + 0x3e94]
test eax, eax
je 0x100205d6
cmp eax, dword [edi + 0x47cc]
jne 0x100205ea
test bl, bl
jne 0x100205de
test dl, dl
je 0x100205ea
mov eax, dword [edi + 0x47cc]
mov dword [edi + 0x47dc], eax
mov bh, byte [esp + 0xd]
mov bl, byte [esp + 0xe]
mov eax, dword [edi + 0x47c8]
test eax, eax
je 0x1002060c
test dword [eax + 0xc], 0x40000
je 0x1002060c
mov byte [edi + 0x4802], 1
mov eax, dword [edi + 0x47d4]
test eax, eax
je 0x10020635
cmp dword [edi + 0x47d8], eax
je 0x10020635
push 0x2c22
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui.cpp
push str.g.NavActivateDownId__g.NavActivateId
call fcn.100a16e1
add esp, 0xc
mov eax, dword [edi + 0x47f0]
test eax, eax
je 0x1002065d
mov dword [edi + 0x47dc], eax
mov dword [edi + 0x47d8], eax
mov dword [edi + 0x47d4], eax
mov eax, dword [edi + 0x47f4]
mov dword [edi + 0x47e0], eax
and dword [edi + 0x47f0], 0
call fcn.10020b57
cmp dword [edi + 0x4844], 0xffffffff
jne 0x10020677
call fcn.10021322
call fcn.100208ee
mov esi, dword [edi + 0x47c8]
xor eax, eax
mov byte [edi + 0x4800], al
test esi, esi
je 0x1002087b
test dword [esi + 0xc], 0x40000
jne 0x1002087b
cmp dword [edi + 0x4934], eax
jne 0x1002087b
mov ecx, esi
call fcn.1001c974
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x100cba54]
mov ecx, dword [edi + 0x4844]
movss xmm2, dword [0x100c24a4]
mulss xmm0, dword [edi + 0x18]
addss xmm0, dword [0x100c24a0]
cvttss2si eax, xmm0
movd xmm3, eax
xor eax, eax
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x10], xmm3
cmp word [esi + 0x14c], ax
jne 0x10020786
cmp byte [esi + 0x152], al
je 0x10020786
cmp ecx, 0xffffffff
je 0x10020786
movss xmm1, dword [0x100cba78]
test ecx, ecx
je 0x10020722
cmp ecx, 1
jne 0x1002074f
movaps xmm0, xmm2
jmp 0x10020725
movaps xmm0, xmm1
mulss xmm0, xmm3
and dword [esi + 0x90], 0
and dword [esi + 0x98], 0
addss xmm0, dword [esi + 0x78]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x88], xmm0
cmp ecx, 2
je 0x1002075c
cmp ecx, 3
jne 0x10020786
movaps xmm1, xmm2
and dword [esi + 0x94], 0
mulss xmm1, xmm3
and dword [esi + 0x9c], 0
addss xmm1, dword [esi + 0x7c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x8c], xmm0
test bh, bh
je 0x1002087b
push 0x27c
push 0x27b
push 0x27a
lea eax, [esp + 0x24]
push 0x279
push eax
call fcn.10015c93
xor eax, eax
push eax
push 0x273
call fcn.1001615c
add esp, 0x1c
test al, al
je 0x100207ca
movss xmm1, dword [0x100cb9e8]
jmp 0x100207ef
xor eax, eax
push eax
push 0x274
call fcn.1001615c
pop ecx
pop ecx
test al, al
je 0x100207e7
movss xmm1, dword [0x100c24c8]
jmp 0x100207ef
movss xmm1, dword [0x100c24a4]
movss xmm0, dword [esp + 0x18]
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1002083e
cmp byte [esi + 0xa8], 0
je 0x1002083e
mulss xmm0, xmm2
and dword [esi + 0x90], 0
and dword [esi + 0x98], 0
mulss xmm0, xmm1
addss xmm0, dword [esi + 0x78]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x88], xmm0
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1002087b
mulss xmm0, xmm2
and dword [esi + 0x94], 0
and dword [esi + 0x9c], 0
mulss xmm0, xmm1
addss xmm0, dword [esi + 0x7c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x8c], xmm0
test bl, bl
jne 0x1002088e
test bh, bh
jne 0x1002088e
mov word [edi + 0x4802], 1
jmp 0x100208d4
cmp byte [esp + 0x14], 0
je 0x100208d4
test byte [edi + 8], 4
je 0x100208d4
test byte [edi + 0xc], 4
je 0x100208d4
lea eax, [esp + 0x18]
push eax
call fcn.1001f72b
pop ecx
mov edx, dword [eax]
mov ecx, edx
mov esi, dword [eax + 4]
mov eax, esi
mov dword [edi + 0x36a8], ecx
mov dword [edi + 0x36ac], eax
mov dword [edi + 0xdc0], edx
mov dword [edi + 0xdc4], esi
mov byte [edi + 0x9b], 1
mov ecx, dword [esp + 0x5c]
xor eax, eax
mov dword [edi + 0x4870], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009a659
add esp, 0x54
ret