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

Disassembly:
push rbx
push r14
sub rsp, 0x68
mov r14, qword [0x1401c8310]
mov eax, dword [r14 + 0x4870]
sub eax, 1
js 0x14002159d
movsxd rdx, eax
mov rax, qword [r14 + 0x4878]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rbx, qword [r8]
test rbx, rbx
je 0x140021593
test dword [rbx + 0x14], 0x8000000
je 0x140021593
cmp byte [rbx + 0xb6], 0
je 0x140021593
cmp byte [rbx + 0xbd], 0
je 0x14002159f
sub r8, 0x38
sub rdx, 1
jns 0x140021570
xor ebx, ebx
movss xmm1, dword [r14 + 0x4a44]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1400215be
comiss xmm0, dword [r14 + 0x4a2c]
jae 0x1400218e3
mov r8, qword [r14 + 0x4a18]
test r8, r8
je 0x1400215d8
cmp byte [r8 + 0xb6], 0
je 0x1400215d8
mov al, 1
jmp 0x1400215da
xor al, al
mov qword [rsp + 0x60], rdi
test rbx, rbx
jne 0x1400217d7
test al, al
je 0x1400218de
movups xmm0, xmmword [r14 + 0x3c00]
lea rcx, [rsp + 0x40]
mulss xmm1, dword [r14 + 0x37f4]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.14001b740
mov edx, eax
mov rcx, r8
call fcn.140021240
mov rdi, qword [0x1401c8310]
mov rbx, qword [r14 + 0x4a18]
cmp dword [rdi + 0x4898], 0
jg 0x140021659
mov r8d, 0x709
lea rdx, str.C:Users_n6GvBDownloadsVanitykryptedimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm1, dword [r14 + 0x3c28]
movss xmm3, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movaps xmm5, xmm3
addss xmm3, dword [rbx + 0x28]
mov rax, qword [rdi + 0x48a0]
subss xmm5, xmm1
movaps xmm4, xmm2
addss xmm2, dword [rbx + 0x2c]
subss xmm4, xmm1
mov rdi, qword [rax]
addss xmm3, xmm1
movss dword [rsp + 0x40], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x44], xmm4
movaps xmm0, xmm3
movss dword [rsp + 0x48], xmm3
subss xmm0, xmm5
movss dword [rsp + 0x4c], xmm2
comiss xmm0, dword [rdi + 0xc]
jb 0x1400216ff
movaps xmm0, xmm2
subss xmm0, xmm4
comiss xmm0, dword [rdi + 0x10]
jb 0x1400216ff
xorps xmm1, xmmword [0x1400eb400]
subss xmm1, dword [0x1400eaa68]
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm3, xmm1
addss xmm2, xmm1
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x44], xmm4
movss dword [rsp + 0x48], xmm3
movss dword [rsp + 0x4c], xmm2
mov rcx, qword [rbx + 0x298]
cmp dword [rcx], 0
jne 0x140021710
call fcn.14003f8f0
movss xmm0, dword [rdi + 4]
lea rdx, [rdi + 4]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0x80]
addss xmm0, dword [rdi + 0xc]
addss xmm1, dword [rdi + 0x10]
mov rcx, qword [rbx + 0x298]
xor r9d, r9d
movss dword [rsp + 0x80], xmm0
movss dword [rsp + 0x84], xmm1
call fcn.14003fc30
mov rax, qword [0x1401c8310]
lea rcx, [rsp + 0x50]
movss xmm0, dword [r14 + 0x4a2c]
movups xmm1, xmmword [rax + 0x3bf0]
mulss xmm0, dword [rax + 0x37f4]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.14001b740
movss xmm0, dword [0x1400eab30]
lea r8, [rsp + 0x48]
mov rcx, qword [rbx + 0x298]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rbx + 0x58]
movss dword [rsp + 0x20], xmm0
call fcn.1400424a0
mov rcx, qword [rbx + 0x298]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rbx
jmp fcn.14003fd40
mov qword [rsp + 0x88], rbp
mov rcx, rbx
mov qword [rsp + 0x90], rsi
mov rbp, rbx
call fcn.140028660
movsxd rdi, eax
mov rsi, rdi
test eax, eax
js 0x140021888
cmp edi, dword [r14 + 0x3e68]
jl 0x140021823
mov r8d, 0x709
lea rdx, str.C:Users_n6GvBDownloadsVanitykryptedimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x3e70]
mov rcx, qword [rax + rsi*8]
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x14002187c
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x140021856
cmp rax, rbx
je 0x140021856
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140021843
jmp 0x140021888
cmp byte [rcx + 0xb6], 0
je 0x14002187c
cmp byte [rcx + 0xbd], 0
jne 0x14002187c
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe rbp, rcx
dec edi
sub rsi, 1
jns 0x140021800
mov rax, qword [0x1401c8310]
lea rcx, [rsp + 0x50]
movss xmm0, dword [r14 + 0x4a44]
movups xmm1, xmmword [rax + 0x3c10]
mulss xmm0, dword [rax + 0x37f4]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.14001b740
mov edx, eax
mov rcx, rbp
call fcn.140021240
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rbx
ret