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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
addsd xmm0, qword [0x1400052b0]
addsd xmm0, qword [0x1400052a8]
cvttsd2si rax, xmm0
mov rsi, qword gs:[rax]
mov rax, qword [rsi + 0x18]
add rax, 0x20
mov rdi, qword [rax]
cmp rdi, rax
je 0x1400028a0
mov rax, qword gs:[0x58]
mov rbp, qword [rax]
mov r8d, 0x410
mov r15d, 0x408
add r8, rbp
mov rbx, r8
mov r10d, 0x60
lea r11d, [r10 + 0x67]
lea r14d, [r10 + 7]
mov dword [rsp + 0x80], 0xe5
mov dword [rsp + 0x88], 0xf5
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], 0x50007e
mov dword [rsp + 0x24], 0x2d0035
mov dword [rsp + 0x28], 0xa90022
mov dword [rsp + 0x2c], 0xc70060
mov dword [rsp + 0x30], 0x51001b
mov dword [rsp + 0x34], 0x2f002b
mov eax, dword [r15 + rbp]
test al, 1
jne 0x1400025d7
or eax, 1
mov dword [r15 + rbp], eax
mov byte [rbx + 0x1a], 1
lea rax, [rbx + 0x18]
lea rcx, [rsp + 0x38]
cmp rbx, rcx
ja 0x1400025a5
lea rcx, [rsp + 0x20]
cmp rax, rcx
jb 0x1400025a5
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rbx + 0x10], xmm1
mov word [rbx + 0x18], r14w
jmp 0x1400025bd
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rbx + 0x10], xmm1
mov word [rbx + 0x18], r14w
lea rcx, [0x140004410]
call fcn.1400029f8
nop
mov r8, rbx
mov r10d, 0x60
lea r11d, [r10 + 0x67]
cmp byte [r8 + 0x1a], 0
je 0x14000263c
xor word [r8], 0x35
xor word [r8 + 2], 0x15
xor word [r8 + 4], 0x67
xor word [r8 + 6], 0x63
xor word [r8 + 8], 0x67
mov eax, dword [rsp + 0x80]
xor word [r8 + 0xa], ax
xor word [r8 + 0xc], 0x53
mov eax, dword [rsp + 0x88]
xor word [r8 + 0xe], ax
xor word [r8 + 0x10], 0x35
xor word [r8 + 0x12], 0x15
xor word [r8 + 0x14], 0x67
xor word [r8 + 0x16], 0x63
xor word [r8 + 0x18], 0x67
mov byte [r8 + 0x1a], 0
mov rax, qword [rdi + 0x50]
mov r9, r8
sub r9, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x140002664
add rax, 2
test ecx, ecx
jne 0x140002650
test edx, edx
je 0x140002681
mov rdi, qword [rdi]
mov rax, qword [rsi + 0x18]
add rax, 0x20
cmp rdi, rax
jne 0x140002530
jmp 0x1400028a0
mov r12, qword [rdi + 0x20]
test r12, r12
je 0x1400028a0
movsxd rax, dword [r12 + 0x3c]
mov r13d, dword [rax + r12 + 0x88]
add r13, r12
mov eax, dword [r13 + 0x20]
add rax, r12
mov qword [rsp + 0x80], rax
mov ecx, dword [r13 + 0x1c]
add rcx, r12
mov qword [rsp + 0x88], rcx
mov edx, dword [r13 + 0x24]
add rdx, r12
mov qword [rsp + 0x90], rdx
xor r14d, r14d
cmp dword [r13 + 0x14], r14d
jbe 0x1400028a0
mov ebx, 0x3f8
mov r9d, 0x3e4
add rbx, rbp
mov r10d, 0x40c
mov r11d, 0x3e8
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rax + r14*4]
add rdi, r12
movzx eax, word [rdx + r14*2]
mov r15d, dword [rcx + rax*4]
add r15, r12
mov eax, dword [r9 + rbp]
test al, 1
jne 0x140002756
or eax, 1
mov dword [r9 + rbp], eax
mov dword [rbx + 0xc], 0x1cdb06c
mov dword [rbx], 0x3587b0b6
mov dword [rbx + 4], 0x40aeac6d
mov dword [rbx + 8], 0x81b195
lea rcx, [0x1400043e0]
call fcn.1400029f8
nop
mov r10d, 0x40c
mov r11d, 0x3e8
cmp byte [rbx + 0xf], 0
je 0x14000279b
xor byte [rbx], 0xf1
xor byte [rbx + 1], 0xd5
xor byte [rbx + 2], 0xf3
xor byte [rbx + 3], 0x65
xor byte [rbx + 4], 0x1f
xor byte [rbx + 5], 0xc3
xor byte [rbx + 6], 0xcd
xor byte [rbx + 7], 1
xor byte [rbx + 8], 0xf1
xor byte [rbx + 9], 0xd5
xor byte [rbx + 0xa], 0xf3
xor byte [rbx + 0xb], 0x65
xor byte [rbx + 0xc], 0x1f
xor byte [rbx + 0xd], 0xc3
xor byte [rbx + 0xe], 0xcd
mov byte [rbx + 0xf], 0
mov rax, rdi
mov r8, rbx
sub r8, rdi
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400027b7
inc rax
test ecx, ecx
jne 0x1400027a4
test edx, edx
jne 0x1400027c7
mov qword [0x140007670], r15
jmp 0x140002872
mov ecx, r10d
mov eax, dword [rcx + rbp]
mov esi, r11d
test al, 1
jne 0x140002811
or eax, 1
mov dword [rcx + rbp], eax
mov dword [rsi + rbp + 0xa], 0x1af6228
mov dword [rsi + rbp], 0x4730f655
mov dword [rsi + rbp + 4], 0xbd4740e3
mov word [rsi + rbp + 8], 0xeb78
lea rcx, [0x1400043c0]
call fcn.1400029f8
nop
mov r10d, 0x40c
mov r11d, 0x3e8
lea rax, [rsi + rbp]
cmp byte [rax + 0xd], 0
je 0x140002852
xor byte [rax], 0x19
xor byte [rax + 1], 0x99
xor byte [rax + 2], 0x51
xor byte [rax + 3], 0x23
xor byte [rax + 4], 0xaf
xor byte [rax + 5], 0x29
xor byte [rax + 6], 0x25
xor byte [rax + 7], 0xcf
xor byte [rax + 8], 0x19
xor byte [rax + 9], 0x99
xor byte [rax + 0xa], 0x51
xor byte [rax + 0xb], 0x23
xor byte [rax + 0xc], 0xaf
mov byte [rax + 0xd], 0
sub rax, rdi
movzx edx, byte [rdi]
movzx ecx, byte [rdi + rax]
sub edx, ecx
jne 0x140002867
inc rdi
test ecx, ecx
jne 0x140002855
test edx, edx
jne 0x140002872
mov qword [0x140007668], r15
inc r14
mov eax, dword [r13 + 0x14]
cmp r14, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov r9d, 0x3e4
jb 0x140002700
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret