Function at 0x140002490
Capabilities:
Access peb ldr_data
Get process filename
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0xa0
movsd xmm0, qword [0x1400052a8]
movsd qword [rsp + 0x98], xmm0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
jmp 0x1400024e2
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
add rax, 0x20
cmp qword [rsp + 0x38], rax
je 0x140002567
mov rax, qword [rsp + 0x38]
sub rax, 0x10
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140002750
mov rcx, rax
call fcn.140002c70
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x60]
sub rax, rcx
movzx edx, word [rcx]
cmp dx, word [rcx + rax]
jne 0x140002549
add rcx, 2
test dx, dx
jne 0x140002533
xor eax, eax
jmp 0x14000254e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140002562
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
jmp 0x140002567
jmp 0x1400024d5
cmp qword [rsp + 0x28], 0
jne 0x140002574
jmp 0x140002741
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], 0
jmp 0x140002625
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
cmp qword [rsp + 0x30], rax
jae 0x140002741
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rcx*2]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x21]
call fcn.1400028a0
mov rcx, rax
call fcn.140002ba0
mov rcx, qword [rsp + 0x60]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400026d2
inc rcx
test dl, dl
jne 0x1400026bf
xor eax, eax
jmp 0x1400026d7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400026e9
mov rax, qword [rsp + 0x68]
mov qword [0x140007670], rax
jmp 0x14000273c
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x22]
call fcn.1400029c0
mov rcx, rax
call fcn.140002ad0
mov rcx, qword [rsp + 0x60]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140002727
inc rcx
test dl, dl
jne 0x140002714
xor eax, eax
jmp 0x14000272c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000273c
mov rax, qword [rsp + 0x68]
mov qword [0x140007668], rax
jmp 0x140002618
add rsp, 0xa0
pop rdi
ret