Function at 0x140040e70
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140229680]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14022d050]
xor r9d, r9d
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], r12
mov qword [r11 + 0x18], r13
mov eax, dword [rdi + 0x4c88]
sub eax, 1
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [r11 - 0x58], xmm8
mov qword [rsp + 0x28], r9
mov byte [rsp + 0x24], r9b
js 0x140040eff
movsxd rdx, eax
mov rax, qword [rdi + 0x4c90]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x140040ef5
test dword [rsi + 0x14], 0x8000000
jne 0x140040fbf
sub r8, 0x38
sub rdx, 1
jns 0x140040ee0
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4f40], r9
je 0x140040f51
cmp qword [rdi + 0x4f38], r9
jne 0x140040f51
comiss xmm7, dword [rdi + 0x4f70]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4f54]
mulss xmm0, dword [0x14020b9b8]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4f54], xmm1
jb 0x140040f51
comiss xmm7, xmm1
jb 0x140040f51
mov qword [rdi + 0x4f40], r9
mov r13d, 0xffffffff
lea rdx, [0x140204431]
mov ebx, r13d
lea r9, [0x1401f2240]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x140040f83
cmp byte [rdx], r8b
jne 0x140040f83
cmp byte [rdx + 1], r8b
cmove ebx, r13d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x140040f70
mov ebp, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x28]
movzx eax, bpl
test bpl, 2
je 0x140040fcb
test byte [rdi + 0xc], 1
je 0x140040fcb
mov r12b, 1
jmp 0x140040fd1
mov qword [rdi + 0x4f38], r9
jmp 0x140040f02
xor r12b, r12b
movzx ebp, al
and bpl, 1
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
test rsi, rsi
jne 0x140041004
mov ecx, dword [rdi + 0x4f30]
test ecx, ecx
je 0x140041004
mov r8d, 0x10001
mov edx, ebx
call fcn.14003a230
test al, al
je 0x140041004
mov r14b, 1
jmp 0x14004100c
xor r14b, r14b
test rsi, rsi
jne 0x14004102c
mov ecx, dword [rdi + 0x4f34]
test ecx, ecx
je 0x14004102c
mov r8d, 0x10001
mov edx, ebx
call fcn.14003a230
test al, al
je 0x14004102c
mov r15b, 1
jmp 0x140041034
xor r15b, r15b
test rsi, rsi
jne 0x14004105a
test r12b, r12b
je 0x14004105a
cmp qword [rdi + 0x4f38], r13
jne 0x14004105a
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.140037640
test al, al
je 0x14004105a
mov r12b, 1
jmp 0x140041062
xor r12b, r12b
test rsi, rsi
jne 0x14004107a
cmp qword [rdi + 0x4f38], r13
jne 0x14004107a
test r14b, r14b
jne 0x140041075
test r15b, r15b
je 0x14004107a
mov sil, 1
jmp 0x14004107d
xor sil, sil
test r12b, r12b
jne 0x14004108b
test sil, sil
je 0x14004111a
mov rax, qword [rdi + 0x4d40]
test rax, rax
jne 0x1400410b4
mov ecx, dword [rdi + 0x4130]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.140040d00
test rax, rax
je 0x14004111a
mov rax, qword [rax + 0x3c0]
mov qword [rdi + 0x4f40], rax
mov qword [rdi + 0x4f38], rax
xor eax, eax
mov qword [rdi + 0x4f50], rax
mov qword [rdi + 0x4f68], rax
mov qword [rdi + 0x4f60], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4f58], r12b
add eax, 2
mov dword [rdi + 0x4d8c], eax
test r14b, r14b
jne 0x140041101
test r15b, r15b
je 0x14004111a
mov ecx, dword [rdi + 0x4f34]
mov edx, ebx
or ecx, dword [rdi + 0x4f30]
and ecx, 0xf800
call fcn.140039fb0
mov r12d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4f50]
movss xmm8, dword [0x14020b8dc]
movss xmm6, dword [0x14020b944]
movss dword [rdi + 0x4f50], xmm0
cmp qword [rdi + 0x4f38], r13
je 0x14004122a
cmp dword [rdi + 0x4d8c], 3
jne 0x14004122a
subss xmm0, xmm8
divss xmm0, dword [0x14020b8c0]
comiss xmm7, xmm0
jbe 0x140041177
movaps xmm1, xmm7
jmp 0x14004117e
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm0, dword [rdi + 0x4f54]
mov r8d, r12d
maxss xmm0, xmm1
xor edx, edx
mov ecx, 0x282
movss dword [rdi + 0x4f54], xmm0
call fcn.140037640
mov r8d, r12d
movzx ebx, al
xor edx, edx
mov ecx, 0x281
call fcn.140037640
movzx ecx, al
sub ecx, ebx
je 0x1400411c9
call fcn.140040da0
mov dword [rdi + 0x4f54], 0x3f800000
mov rcx, qword [0x14022d050]
mov edx, 0x279
call fcn.140036ab0
cmp byte [rax], r13b
je 0x1400411f6
mov rcx, qword [0x14022d050]
mov edx, 0x279
call fcn.140023900
cmp byte [rax + 8], r13b
je 0x14004122a
comiss xmm6, dword [rdi + 0x4f54]
seta al
and byte [rdi + 0x4f58], al
je 0x140041218
cmp qword [rdi + 0x4d40], r13
je 0x14004121f
mov byte [rsp + 0x24], r12b
jmp 0x14004121f
mov r13, qword [rdi + 0x4f38]
mov qword [rdi + 0x4f38], 0
cmp qword [rdi + 0x4f38], 0
je 0x1400412f1
cmp dword [rdi + 0x4d8c], 2
jne 0x1400412f1
mov eax, dword [rdi + 0x4f30]
mov ecx, 0xf800
test eax, eax
mov ebx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4f34]
test eax, eax
cmovne ebx, eax
and ebx, ecx
and ebx, 0xf800
jne 0x140041288
mov r8d, 0x3416
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.shared_mods___0
call fcn.1400f9f24
movss xmm0, dword [rdi + 0x4f50]
subss xmm0, xmm8
divss xmm0, dword [0x14020b8c0]
comiss xmm7, xmm0
jbe 0x1400412a7
movaps xmm6, xmm7
jmp 0x1400412ab
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4f54]
maxss xmm0, xmm6
movss dword [rdi + 0x4f54], xmm0
test r14b, r14b
jne 0x1400412de
test r15b, r15b
jne 0x1400412de
mov eax, dword [rdi + 0xe6c]
and eax, ebx
cmp eax, ebx
je 0x1400412f1
mov r13, qword [rdi + 0x4f38]
jmp 0x1400412f1
movzx ecx, r14b
xor ecx, r12d
lea ecx, [rcx*2 - 1]
call fcn.140040da0
mov r15, qword [rsp + 0x70]
lea rbx, [rsp + 0x30]
mov r14, qword [rsp + 0x78]
mov esi, 0x211
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], 0x215
test bpl, bpl
je 0x140041329
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, esi
call fcn.140037640
test al, al
jne 0x14004133b
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x140041352
mov esi, dword [rbx]
jmp 0x140041311
mov byte [rdi + 0x4f58], r12b
mov dword [rdi + 0x4f5c], esi
mov dword [rdi + 0x4d8c], 2
cmp byte [rdi + 0x4f58], 0
mov rbp, qword [rsp + 0xa0]
je 0x140041538
cmp dword [rdi + 0x4d8c], 2
jne 0x140041538
cmp dword [rdi + 0x3910], 0
jg 0x140041398
cmp byte [rdi + 0xe68], 0
jne 0x140041398
cmp byte [rdi + 0xe69], 0
jne 0x140041398
cmp byte [rdi + 0xe6b], 0
je 0x14004139f
mov byte [rdi + 0x4f58], 0
mov edx, dword [rdi + 0x4f5c]
lea eax, [rdx - 0x200]
cmp eax, 0x99
jbe 0x1400413da
cmp edx, 0x1000
je 0x1400413da
cmp edx, 0x2000
je 0x1400413da
cmp edx, 0x4000
je 0x1400413da
cmp edx, 0x8000
je 0x1400413da
cmp edx, 0x800
jne 0x140041408
mov rcx, qword [0x14022d050]
cmp byte [rcx + 0x4af4], 0
je 0x1400413fe
cmp dword [rcx + 0x41e4], 0xffffffff
je 0x1400413fe
lea eax, [rdx - 0x200]
cmp eax, 0x76
jbe 0x14004141e
call fcn.140023900
cmp dword [rax], 0xffffffff
jne 0x14004141e
mov rcx, qword [0x14022d050]
mov edx, 0x4000
call fcn.140023900
cmp dword [rax], 0xffffffff
je 0x140041425
mov byte [rdi + 0x4f58], 0
mov ecx, dword [rdi + 0x4f5c]
call fcn.1400377e0
test al, al
je 0x140041523
cmp byte [rdi + 0x4f58], 0
je 0x140041523
cmp dword [rdi + 0x41e4], 0
je 0x14004145b
cmp byte [rdi + 0x41f1], 0
je 0x140041523
mov rax, qword [0x14022d050]
lea rbx, [rdi + 0x3814]
test rax, rax
jne 0x14004148e
mov r8d, 0x24a1
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.GImGui___0
call fcn.1400f9f24
mov rax, qword [0x14022d050]
test rbx, rbx
jne 0x14004149a
lea rbx, [rax + 0xe48]
movss xmm0, dword [rbx]
movss xmm6, dword [0x14020ba8c]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x1400414bb
comiss xmm1, xmm6
jb 0x1400414bb
movzx esi, r12b
jmp 0x1400414be
xor sil, sil
lea rbx, [rdi + 0xe48]
test rax, rax
jne 0x1400414ea
mov r8d, 0x24a1
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.GImGui___0
call fcn.1400f9f24
mov rax, qword [0x14022d050]
test rbx, rbx
jne 0x1400414f6
lea rbx, [rax + 0xe48]
movss xmm0, dword [rbx]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x14004150f
comiss xmm1, xmm6
jb 0x14004150f
movzx eax, r12b
jmp 0x140041511
xor al, al
mov ecx, dword [rsp + 0x24]
cmp al, sil
movzx ecx, cl
cmove ecx, r12d
mov dword [rsp + 0x24], ecx
mov ecx, dword [rdi + 0x4f5c]
call fcn.1400375c0
test al, al
jne 0x140041538
mov byte [rdi + 0x4f58], al
mov rax, qword [rdi + 0x4f38]
test rax, rax
je 0x140041713
test byte [rax + 0x14], 4
jne 0x140041713
cmp dword [rdi + 0x4d8c], 2
movaps xmm2, xmm7
movaps xmm6, xmm7
jne 0x1400415c8
cmp byte [rdi + 0xe69], 0
jne 0x1400415c8
mov rcx, qword [0x14022d050]
mov edx, 0x204
call fcn.140036ab0
mov rcx, qword [0x14022d050]
mov edx, 0x203
mov rbx, rax
call fcn.140036ab0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x202
mov rcx, qword [0x14022d050]
subss xmm6, dword [rax + 0xc]
call fcn.140036ab0
mov rcx, qword [0x14022d050]
mov edx, 0x201
mov rbx, rax
call fcn.140036ab0
movss xmm2, dword [rbx + 0xc]
subss xmm2, dword [rax + 0xc]
cmp dword [rdi + 0x4d8c], 3
jne 0x14004162f
mov rcx, qword [0x14022d050]
mov edx, 0x28a
call fcn.140036ab0
mov rcx, qword [0x14022d050]
mov edx, 0x289
mov rbx, rax
call fcn.140036ab0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x288
mov rcx, qword [0x14022d050]
subss xmm6, dword [rax + 0xc]
call fcn.140036ab0
mov rcx, qword [0x14022d050]
mov edx, 0x287
mov rbx, rax
call fcn.140036ab0
movss xmm2, dword [rbx + 0xc]
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm7
jp 0x140041641
jne 0x140041641
ucomiss xmm6, xmm7
jp 0x140041641
je 0x140041713
movss xmm1, dword [rdi + 0x50]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x14020ba3c]
mov byte [rdi + 0x4da3], r12b
mulss xmm1, xmm0
mulss xmm6, xmm1
mulss xmm2, xmm1
addss xmm6, dword [rdi + 0x4f64]
addss xmm2, dword [rdi + 0x4f60]
movss dword [rdi + 0x4f64], xmm6
cvttss2si eax, xmm2
movss dword [rdi + 0x4f60], xmm2
cvtsi2ss xmm8, eax
cvttss2si eax, xmm6
ucomiss xmm8, xmm7
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
jp 0x1400416b2
jne 0x1400416b2
ucomiss xmm6, xmm7
jp 0x1400416b2
je 0x140041713
mov rax, qword [rdi + 0x4f38]
lea rdx, [rsp + 0x28]
movaps xmm0, xmm8
movaps xmm1, xmm6
mov r8d, r12d
mov rcx, qword [rax + 0x3d0]
addss xmm0, dword [rcx + 0x58]
addss xmm1, dword [rcx + 0x5c]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.140036170
movss xmm0, dword [rdi + 0x4f60]
movss xmm1, dword [rdi + 0x4f64]
subss xmm0, xmm8
subss xmm1, xmm6
movss dword [rdi + 0x4f60], xmm0
movss dword [rdi + 0x4f64], xmm1
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
test r13, r13
je 0x1400417ca
mov rax, qword [rdi + 0x4d40]
test rax, rax
je 0x140041747
cmp r13, qword [rax + 0x3c0]
je 0x1400417bf
mov rsi, qword [rax + 0x40]
jmp 0x140041749
xor esi, esi
xor edx, edx
xor ecx, ecx
call fcn.140029820
mov rax, qword [0x14022d050]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4da1], r12w
mov byte [rax + 0x4da3], r12b
call fcn.14003c330
mov edx, r12d
mov rcx, r13
call fcn.140035750
mov rbx, qword [rdi + 0x4d40]
cmp dword [rbx + 0x3f8], 0
jne 0x140041797
xor edx, edx
mov rcx, rbx
call fcn.14003e610
cmp word [rbx + 0x19e], 2
jne 0x1400417a8
mov dword [rdi + 0x4d90], r12d
mov rcx, qword [rbx + 0x40]
cmp rcx, rsi
je 0x1400417bf
mov rax, qword [rdi + 0x3958]
test rax, rax
je 0x1400417bf
call rax
mov qword [rdi + 0x4f38], 0
cmp byte [rsp + 0x24], 0
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xa8]
je 0x1400418af
cmp qword [rdi + 0x4d40], 0
je 0x1400418af
xor edx, edx
xor ecx, ecx
call fcn.140029820
mov rbx, qword [rdi + 0x4d40]
lea rcx, [rbx + 0x3b0]
cmp qword [rcx], 0
je 0x140041838
test byte [rbx + 0x19c], 2
jne 0x140041838
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140041838
mov rbx, qword [rcx]
lea rcx, [rbx + 0x3b0]
cmp qword [rcx], 0
jne 0x140041810
mov rsi, qword [rdi + 0x4d40]
cmp rbx, rsi
je 0x140041855
xor edx, edx
mov rcx, rbx
call fcn.140035750
mov qword [rbx + 0x3f0], rsi
mov rax, qword [rdi + 0x4d40]
test byte [rax + 0x19c], 2
je 0x140041870
mov ecx, dword [rdi + 0x4d90]
xor ecx, 1
jmp 0x140041872
xor ecx, ecx
cmp ecx, dword [rdi + 0x4d90]
je 0x1400418af
cmp ecx, 1
jne 0x140041893
cmp qword [rbx + 0x460], 0
jne 0x140041893
mov dword [rax + 0x3fc], 0
call fcn.14003e550
mov rax, qword [0x14022d050]
mov word [rax + 0x4da1], 1
mov byte [rax + 0x4da3], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f3120
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret