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

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov byte [rax + 0x18], r8b
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xf0
cmp word [rcx + 0xf8], 0
movzx r12d, r9b
mov rbx, qword [0x1400cd240]
movzx r15d, r8b
mov r13d, dword [rcx + 0x14]
mov r14, rdx
movaps xmmword [rax - 0x78], xmm8
mov rdi, rcx
movaps xmmword [rax - 0x88], xmm9
movss xmm9, dword [rbp + 0x7f]
movaps xmmword [rsp + 0x70], xmm12
je 0x140047e6b
mov r8d, 0x1835
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.cpp
lea rcx, str.window__BeginCount__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rdi + 0xee], 0
movss xmm12, dword [rdi + 0x88]
movss xmm8, dword [rdi + 0x8c]
movaps xmmword [rsp + 0xd0], xmm6
mov byte [rdi + 0xf0], 0
je 0x140047f2a
movss xmm6, dword [rbx + 0x3928]
movss dword [rbx + 0x3928], xmm8
test r15b, r15b
je 0x140047ebd
cmp byte [rbx + 0x4aa6], 0
mov ecx, 0x18c
je 0x140047ec2
mov ecx, 0x19c
mov rax, qword [0x1400cd240]
movups xmm0, xmmword [rax + rcx + 0x38e0]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x54], xmm0
call fcn.14003c990
mov rdx, qword [r14 + 8]
mov r8d, eax
mov rcx, qword [r14]
or r8d, 0xff000000
cmp byte [rdi + 0xea], 0
mov r9b, 1
movss dword [rsp + 0x20], xmm12
cmove r8d, eax
call fcn.14003e6a0
movss dword [rbx + 0x3928], xmm6
jmp 0x140048897
mov qword [rsp + 0xe8], rsi
movaps xmmword [rsp + 0x80], xmm11
xorps xmm11, xmm11
test r13b, r13b
js 0x1400481e9
xor sil, sil
cmp byte [rbx + 0x4c0c], sil
je 0x140047fa1
mov eax, dword [rbx + 0x3f60]
sub eax, dword [rbx + 0x4c84]
cmp eax, 1
jg 0x140047fa1
cmp byte [rbx + 0x7b], sil
je 0x140047fa1
cmp dword [rbx + 0x4c34], 0xffffffff
je 0x140047fa1
lea rdx, [rbx + 0x4c38]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140047fa1
mov rax, qword [rbx + 0x4c20]
movzx esi, sil
cmp qword [rax], rdi
mov eax, 1
cmove esi, eax
mov eax, dword [rdi + 0x14]
test eax, 0x6000000
je 0x140047fb2
mov ecx, 0x11c
jmp 0x140047fcb
bt eax, 0x18
jae 0x140047fc6
test byte [rdi + 0x42d], 1
mov ecx, 0x10c
je 0x140047fcb
mov ecx, 0xfc
mov rax, qword [0x1400cd240]
movups xmm0, xmmword [rax + rcx + 0x38e0]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x54], xmm0
call fcn.14003c990
cmp byte [rdi + 0xea], 0
mov r15d, eax
je 0x140048035
or r15d, 0xff000000
test sil, sil
je 0x14004809a
mov rcx, qword [rdi + 0x38]
movss xmm0, dword [rcx + 0x80]
mulss xmm0, dword [0x1400b5b00]
movss dword [rcx + 0x80], xmm0
jmp 0x14004809a
mov eax, dword [rbx + 0x48e0]
movss xmm0, dword [0x1400b5b44]
movaps xmm1, xmm0
and eax, 0x40
je 0x140048053
movss xmm1, dword [rbx + 0x4940]
movss xmm2, dword [0x1400b5b00]
test sil, sil
je 0x140048066
mulss xmm1, xmm2
jmp 0x14004806a
test eax, eax
je 0x14004809a
comiss xmm11, xmm1
jbe 0x140048075
xorps xmm0, xmm0
jmp 0x140048079
minss xmm0, xmm1
mulss xmm0, dword [0x1400b5c08]
mov eax, r15d
and eax, 0xffffff
addss xmm0, xmm2
cvttss2si ecx, xmm0
shl ecx, 0x18
mov r15d, ecx
or r15d, eax
test byte [rdi + 0x42d], 1
je 0x1400480da
mov rax, qword [rdi + 0x448]
mov dword [rax + 0x80], r15d
test byte [rdi + 0x42d], 1
je 0x1400480da
mov rax, qword [rdi + 0x448]
mov esi, r13d
and esi, 0x20000000
mov rcx, qword [rax + 0x88]
mov r14, qword [rcx + 0x2d8]
jmp 0x1400480ec
mov r14, qword [rdi + 0x2d8]
mov esi, r13d
and esi, 0x20000000
je 0x140048103
lea r12, [r14 + 0xa8]
xor r8d, r8d
mov rcx, r12
mov rdx, r14
call fcn.140077fb0
jmp 0x14004810a
lea r12, [r14 + 0xa8]
test byte [rdi + 0x14], 1
movss xmm2, dword [rdi + 0x50]
movss xmm3, dword [rdi + 0x54]
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x58]
mov rcx, qword [rdi]
movaps xmm1, xmm3
addss xmm1, dword [rdi + 0x5c]
movss dword [rbp + 0x4f], xmm0
movss dword [rbp + 0x53], xmm1
je 0x14004813c
xorps xmm1, xmm1
jmp 0x140048178
movss xmm0, dword [rcx + 0x3d44]
mulss xmm0, dword [rdi + 0x2c8]
mov rax, qword [rdi + 0x3a8]
mulss xmm0, dword [rdi + 0x2cc]
test rax, rax
je 0x140048168
mulss xmm0, dword [rax + 0x2c8]
movss xmm1, dword [rcx + 0x3920]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, xmm11
mov eax, 0xc0
addss xmm3, xmm1
mov ecx, 0
test r13b, 1
lea r8, [rbp + 0x4f]
mov r9d, r15d
lea rdx, [rsp + 0x38]
cmovne eax, ecx
mov rcx, r14
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x38], xmm2
movss dword [rsp + 0x3c], xmm3
movss dword [rsp + 0x20], xmm12
call fcn.140077460
test byte [rdi + 0x42d], 1
jne 0x1400481ca
test esi, esi
je 0x1400481db
mov r8d, 1
mov rdx, r14
mov rcx, r12
call fcn.140077fb0
movzx r12d, byte [rbp + 0x67]
movzx r15d, byte [rbp + 0x5f]
mov r14, qword [rbp + 0x57]
movzx eax, byte [rdi + 0x42d]
test al, 1
je 0x140048209
mov rax, qword [rdi + 0x448]
or byte [rax + 0xc8], 4
movzx eax, byte [rdi + 0x42d]
mov esi, r13d
and esi, 1
jne 0x140048271
test al, 1
jne 0x140048271
mov rcx, qword [0x1400cd240]
movzx eax, r15b
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x3a5c]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x38e0]
lea rcx, [rsp + 0x48]
movss dword [rsp + 0x54], xmm0
call fcn.14003c990
mov rcx, qword [rdi + 0x2d8]
lea r8, [r14 + 8]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
mov rdx, r14
movss dword [rsp + 0x20], xmm12
call fcn.140077460
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0x90], xmm10
bt r13d, 0xa
jae 0x1400483f6
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14003b030
movss xmm4, dword [rdi + 0x50]
movss xmm0, dword [rdi + 0x54]
movss xmm6, dword [rsp + 0x54]
movss xmm1, dword [rsp + 0x50]
movss xmm2, dword [rsp + 0x4c]
movss xmm7, dword [rsp + 0x48]
maxss xmm2, xmm0
maxss xmm7, xmm4
addss xmm0, dword [rdi + 0x5c]
addss xmm4, dword [rdi + 0x58]
minss xmm6, xmm0
minss xmm1, xmm4
movss dword [rsp + 0x54], xmm6
movss dword [rsp + 0x50], xmm1
test esi, esi
je 0x1400482ec
movaps xmm10, xmm12
jmp 0x1400482f0
xorps xmm10, xmm10
mov rax, qword [0x1400cd240]
subss xmm1, xmm8
addss xmm2, xmm11
lea rcx, [rsp + 0x58]
movups xmm0, xmmword [rax + 0x3a8c]
movss dword [rbp + 0x4f], xmm1
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x3c], xmm2
movss dword [rbp - 0x7d], xmm0
movaps xmm0, xmm6
subss xmm0, xmm11
movss dword [rbp + 0x53], xmm0
movaps xmm0, xmm7
addss xmm0, xmm8
movss dword [rsp + 0x38], xmm0
call fcn.14003c990
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x38]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
lea r8, [rbp + 0x4f]
movss dword [rsp + 0x20], xmm10
call fcn.140077460
movss xmm10, dword [rbx + 0x3928]
comiss xmm10, xmm11
jbe 0x1400483f6
movss xmm0, dword [rdi + 0x5c]
addss xmm0, dword [rdi + 0x54]
comiss xmm0, xmm6
jbe 0x1400483f6
mov rax, qword [0x1400cd240]
lea rcx, [rsp + 0x58]
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x48], xmm0
movss dword [rbp + 0x4f], xmm7
movups xmm0, xmmword [rax + 0x3a0c]
movss dword [rbp + 0x53], xmm6
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x7d], xmm0
call fcn.14003c990
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rbp + 0x4f]
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea r8, [rsp + 0x48]
call fcn.1400771f0
test byte [rdi + 0x42d], 1
mov rsi, qword [rdi + 0x448]
je 0x140048630
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x140048630
shr ecx, 0xc
test cl, 1
jne 0x140048630
cmp dword [rdi + 0x128], 0
movss xmm1, dword [rbx + 0x3d40]
movss xmm6, dword [rsi + 0x48]
movaps xmm0, xmm1
mulss xmm1, dword [0x1400b5b04]
mulss xmm0, dword [0x1400b5b14]
movss xmm7, dword [rsi + 0x4c]
cvttss2si eax, xmm0
movd xmm10, eax
cvttss2si eax, xmm1
movaps xmm1, xmm6
unpcklps xmm1, xmm7
cvtdq2ps xmm10, xmm10
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movsd qword [rsp + 0x48], xmm1
movaps xmm2, xmm3
movsd qword [rsp + 0x38], xmm1
addss xmm2, xmm6
addss xmm3, xmm7
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x44], xmm3
jg 0x1400484af
mov r8d, 0x765
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rdi + 0x128]
xor edx, edx
mov rax, qword [rdi + 0x130]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.UNHIDE
call fcn.14003c360
mov rcx, qword [rdi]
mov ebx, eax
cmp dword [rcx + 0x4050], eax
jne 0x1400484f0
lea r8, str.UNHIDE
mov edx, ntohs
mov ecx, eax
call fcn.140069860
mov rax, qword [0x1400cd240]
cmp dword [rax + 0x4068], ebx
jne 0x140048505
mov dword [rax + 0x406c], ebx
cmp dword [rax + 0x4098], ebx
jne 0x140048514
mov byte [rax + 0x409c], 1
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x800
lea r8, [rbp + 0x4f]
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140086640
movzx ebx, byte [rbp + 0x4f]
movzx r14d, byte [rsp + 0x30]
test al, al
je 0x140048548
or byte [rsi + 0xc9], 4
jmp 0x140048586
test r14b, r14b
je 0x14004858f
mov rax, qword [0x1400cd240]
cmp byte [rax + 0xe18], 0
je 0x140048586
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + 0x37d8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x140048586
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call fcn.1400418c0
test r14b, r14b
je 0x14004858f
test bl, bl
jne 0x14004859c
test byte [rsi + 0xc8], 2
je 0x1400485a3
test bl, bl
jne 0x1400485a3
mov ecx, reloc.WS2_32.dll_socket
jmp 0x1400485b0
xor eax, eax
test bl, bl
mov ecx, eax
setne cl
add rcx, 0x15
mov rax, qword [0x1400cd240]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39bc]
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x7d], xmm0
movaps xmm0, xmm6
addss xmm0, xmm11
addss xmm6, xmm10
movss dword [rbp + 0x4f], xmm0
movaps xmm0, xmm7
addss xmm0, xmm10
movss dword [rsp + 0x38], xmm6
addss xmm7, xmm11
movss dword [rbp + 0x53], xmm0
movss dword [rsp + 0x3c], xmm7
call fcn.14003c990
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x48]
lea r9, [rbp + 0x4f]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x38]
call fcn.140077610
cmp byte [rdi + 0xe8], 0
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
je 0x140048652
xor ecx, ecx
call fcn.140087d60
cmp byte [rdi + 0xe9], 0
je 0x140048665
mov ecx, 1
call fcn.140087d60
test r12b, r12b
je 0x140048887
test r13b, 2
jne 0x140048875
xor eax, eax
mov r14d, eax
mov eax, dword [rbp + 0x6f]
test eax, eax
jle 0x140048875
mov r15, qword [rbp + 0x77]
lea rsi, [0x1400a04d8]
nop dword [rax]
nop word [rax + rax]
mov r13d, dword [r15]
test r13d, 0xff000000
je 0x140048861
movss xmm0, dword [rdi + 0x50]
mov r12d, r14d
movss xmm1, dword [rdi + 0x54]
movaps xmm6, xmm0
movaps xmm7, xmm1
addss xmm6, dword [rdi + 0x58]
addss xmm7, dword [rdi + 0x5c]
subss xmm6, xmm0
subss xmm7, xmm1
mulss xmm6, dword [rsi - 8]
mulss xmm7, dword [rsi - 4]
addss xmm6, xmm0
addss xmm7, xmm1
and r12d, 1
je 0x1400486f7
movaps xmm0, xmm8
movaps xmm1, xmm9
jmp 0x1400486ff
movaps xmm0, xmm9
movaps xmm1, xmm8
mov rbx, qword [rdi + 0x2d8]
mulss xmm0, dword [rsi]
mulss xmm1, dword [rsi + 4]
mov ecx, dword [rbx + 0x78]
mov r8d, dword [rbx + 0x7c]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rbp + 0x4f], xmm0
movss dword [rbp + 0x53], xmm1
cmp ecx, r8d
jne 0x140048756
inc ecx
test r8d, r8d
je 0x140048741
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140048746
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.14006ac90
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rbp + 0x4f]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
test r12d, r12d
je 0x14004877b
movaps xmm0, xmm9
movaps xmm1, xmm8
jmp 0x140048783
movaps xmm0, xmm8
movaps xmm1, xmm9
mov rbx, qword [rdi + 0x2d8]
mulss xmm0, dword [rsi]
mulss xmm1, dword [rsi + 4]
mov ecx, dword [rbx + 0x78]
mov r8d, dword [rbx + 0x7c]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
cmp ecx, r8d
jne 0x1400487dc
inc ecx
test r8d, r8d
je 0x1400487c7
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400487cc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.14006ac90
movsxd rdx, dword [rbx + 0x78]
movaps xmm1, xmm8
mov rcx, qword [rbx + 0x80]
addss xmm1, xmm12
mov rax, qword [rsp + 0x38]
movaps xmm2, xmm12
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x48]
inc dword [rbx + 0x78]
movaps xmm0, xmm1
mulss xmm0, dword [rsi]
mov eax, dword [rsi + 0xc]
mulss xmm1, dword [rsi + 4]
mov r9d, dword [rsi + 8]
mov rcx, qword [rdi + 0x2d8]
addss xmm0, xmm6
mov dword [rsp + 0x20], eax
addss xmm1, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.1400767c0
mov rbx, qword [rdi + 0x2d8]
mov r9d, r13d
mov rcx, rbx
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
call fcn.140075d70
xor eax, eax
mov dword [rbx + 0x78], eax
mov eax, dword [rbp + 0x6f]
inc r14d
add r15, 4
add rsi, 0x18
cmp r14d, eax
jl 0x1400486a0
cmp qword [rdi + 0x450], 0
jne 0x140048887
mov rcx, rdi
call fcn.140047a10
movaps xmm7, xmmword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
movaps xmm6, xmmword [rsp + 0xd0]
lea r11, [rsp + 0xf0]
movaps xmm8, xmmword [r11 - 0x40]
movaps xmm9, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret