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

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0xe8
mov qword [rsp + 0x18], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov dword [rsp], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0xc], 0
mov dword [rsp + 0x10], 0x1f
mov dword [rsp + 8], 0
mov qword [rsp + 0x80], 0
xor eax, eax
mov word [rsp + 4], ax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 0x20
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
sub rax, 0x10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x1403a2a70
mov rax, qword [rsp + 0x30]
mov dword [rsp], eax
jmp 0x1403a2a9b
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jb 0x1403a2ab6
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x1403a2ab4
jmp 0x1403a2ab6
jmp 0x1403a2a93
mov eax, dword [rsp]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0xc], 0
mov dword [rsp], 0
jmp 0x1403a2ae7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x40]
cmp word [rcx + rdx*2], 0
jne 0x1403a2b03
mov rcx, qword [rsp + 0x40]
cmp rax, rcx
jae 0x1403a2bb4
mov dword [rsp + 8], 0x15
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
and ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov word [rsp + 4], ax
movzx eax, word [rsp + 4]
cmp eax, 0x41
jl 0x1403a2b77
movzx eax, word [rsp + 4]
cmp eax, 0x5a
jg 0x1403a2b77
movzx eax, word [rsp + 4]
add eax, 0x20
mov word [rsp + 4], ax
movzx eax, word [rsp + 4]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp + 0xc]
shr edx, cl
mov ecx, edx
mov dword [rsp + 0x68], ecx
mov edx, dword [rsp + 8]
neg edx
and edx, dword [rsp + 0x10]
movzx ecx, dl
mov edx, dword [rsp + 0xc]
shl edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x68]
or edx, ecx
mov ecx, edx
add eax, ecx
mov dword [rsp + 0xc], eax
jmp 0x1403a2adf
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xc], eax
jne 0x1403a2bd0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x18], rax
jmp 0x1403a2bf0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
jne 0x1403a2a2d
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rsp], eax
mov eax, dword [rsp]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp + 0x6c], 0
je 0x1403a2de4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc], 0
mov dword [rsp], 0
jmp 0x1403a2ce7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x48]
cmp byte [rcx + rdx], 0
jne 0x1403a2d03
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jae 0x1403a2d84
mov dword [rsp + 8], 0x15
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
and ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp]
mov rcx, qword [rsp + 0xb8]
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp + 8]
mov edx, dword [rsp + 0xc]
shr edx, cl
mov ecx, edx
mov dword [rsp + 0x70], ecx
mov edx, dword [rsp + 8]
neg edx
and edx, dword [rsp + 0x10]
movzx ecx, dl
mov edx, dword [rsp + 0xc]
shl edx, cl
mov ecx, edx
mov edx, dword [rsp + 0x70]
or edx, ecx
mov ecx, edx
add eax, ecx
mov dword [rsp + 0xc], eax
jmp 0x1403a2cdf
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0xc], eax
jne 0x1403a2dc3
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
jmp 0x1403a2de4
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
jmp 0x1403a2c9a
mov rax, qword [rsp + 0xc0]
add rsp, 0xe8
ret