Function at 0x1400ff160
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rbx, r9
mov r12, r8
mov qword [rbp + 0x20], r8
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
mov rax, qword [rbp + 0x380]
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x38]
call fcn.1400dc8b0
lea rcx, [rbp - 0x18]
call fcn.1400dcb30
mov dword [rbp + 8], r14d
mov r15, qword [r12]
test r15, r15
jne 0x1400ff1eb
mov dword [rdi], 0xc00000ef
mov byte [rdi + 0x58], r15b
jmp 0x1400ff6fb
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rax, [fcn.14021a220]
mov qword [rbp + 0x50], rax
mov rsi, r14
mov qword [rbp + 0x58], r14
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call fcn.14026a0b0
mov rax, qword [r13 + 8]
mov qword [rbp + 0x10], r14
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0x40
lea r8, [rbp + 0xc0]
mov rdx, r15
call qword [rax + Ordinal_26]
mov eax, 0x5a4d
cmp word [rbp + 0xc0], ax
je 0x1400ff280
mov dword [rdi], 0xc000012f
mov byte [rdi + 0x58], 0
jmp 0x1400ff6fb
mov rax, qword [r13 + 8]
movsxd rdx, dword [rbp + 0xfc]
add rdx, qword [r12]
mov qword [rbp + 0x10], r14
je 0x1400ff2b9
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rbp + 0x100]
call qword [rax + Ordinal_26]
cmp dword [rbp + 0x100], 0x4550
je 0x1400ff2d4
mov dword [rdi], 0xc000007b
mov byte [rdi + 0x58], 0
jmp 0x1400ff6fb
mov r12d, dword [rbp + 0x188]
mov ecx, 0x10b
mov rax, qword [rbp + 0x118]
cmp ax, cx
cmove r12d, dword [rbp + 0x178]
mov r15d, r12d
test r12d, r12d
je 0x1400ff6e3
mov r13d, dword [rbp + 0x18c]
cmp ax, cx
cmove r13d, dword [rbp + 0x17c]
mov ecx, r13d
call fcn.14022bd68
mov rsi, rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov qword [rbp + 0x10], r14
add rdx, r15
jne 0x1400ff343
mov eax, 0xc0000141
jmp 0x1400ff364
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r8
mov r9d, r13d
mov r8, rsi
call qword [rax + Ordinal_26]
test eax, eax
jns 0x1400ff36f
mov dword [rdi], eax
mov byte [rdi + 0x58], 0
jmp 0x1400ff6ed
mov r10, rsi
cmp r13d, 0x28
ja 0x1400ff405
mov ecx, dword [rsi + 0x14]
cmp ecx, dword [rsi + 0x18]
cmovbe ecx, dword [rsi + 0x18]
imul r13d, ecx, 0xff
add r13d, dword [rsi + 0x24]
sub r13d, r12d
mov ecx, r13d
call fcn.14022bd68
mov rsi, rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x1400ff3b5
mov rcx, rax
call fcn.14021a220
nop
mov r12, qword [rsp + 0x38]
mov rcx, qword [r12 + 8]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov qword [rbp + 0x18], r14
add rdx, r15
jne 0x1400ff3d6
mov eax, 0xc0000141
jmp 0x1400ff3fa
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
mov qword [rsp + 0x20], r8
mov r9d, r13d
mov r8, rsi
call qword [rax + Ordinal_26]
mov r10, rsi
test eax, eax
jns 0x1400ff40a
mov dword [rdi], eax
mov byte [rdi + 0x58], 0
jmp 0x1400ff6ed
mov r12, qword [rsp + 0x38]
mov edx, dword [r10 + 0x24]
sub rdx, r15
add rdx, r10
mov qword [rbp + 0x18], rdx
mov eax, dword [r10 + 0x20]
sub rax, r15
add rax, r10
mov qword [rbp + 0x10], rax
mov ecx, dword [r10 + 0x1c]
sub rcx, r15
add rcx, r10
mov qword [rsp + 0x38], rcx
mov r8d, r14d
cmp dword [r10 + 0x14], r14d
jbe 0x1400ff6e3
cmp rbx, 0xffff
ja 0x1400ff692
movzx r11d, r8w
movzx ecx, r8w
add ecx, dword [r10 + 0x10]
movzx eax, bx
cmp eax, ecx
jne 0x1400ff6d2
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
movzx eax, r11w
mov rcx, qword [rsp + 0x38]
mov ebx, dword [rcx + rax*4]
add rbx, rdx
mov qword [rbp - 0x40], rbx
lea rax, [r15 + rdx]
cmp rbx, rax
jb 0x1400ff929
mov eax, r13d
add rax, r15
add rax, rdx
cmp rbx, rax
ja 0x1400ff929
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x210]
call fcn.14026a0b0
mov rax, qword [r12 + 8]
mov qword [rbp + 0x18], r14
test rbx, rbx
je 0x1400ff4e8
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0xff
lea r8, [rbp + 0x210]
mov rdx, rbx
call qword [rax + Ordinal_26]
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x80]
call fcn.1400caee0
nop
lea rdx, [0x1402aa938]
lea rcx, [rbp + 0x80]
call fcn.1401047e0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400cb030
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400d0a70
nop
mov qword [rbp + 0x10], rbx
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x10]
call fcn.1400adfe0
mov rbx, qword [rax]
lea rcx, [rbp + 0x80]
call fcn.1400cdfd0
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400cf460
nop
lea rdx, str..dll
lea rcx, [rbp - 0x60]
call fcn.1400cad30
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400cae60
nop
lea rcx, [rbp - 0x60]
call fcn.1400cadf0
lea rdx, [0x1402aa938]
lea rcx, [rbp + 0x80]
call fcn.1401047e0
lea r15, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.1400cb030
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400d0a70
nop
mov rcx, qword [rbp + 0x90]
cmp rcx, r15
jb 0x1400ff993
mov qword [rbp + 0x10], 0xffffffffffffffff
sub rcx, r15
mov qword [rbp + 0x18], rcx
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x10]
call fcn.1400adfe0
mov rbx, qword [rax]
lea rcx, [rbp + 0x80]
call fcn.1400cdfd0
lea rdx, [r15 + rax]
mov r8, rbx
lea rcx, [rbp + 0x30]
call fcn.1400cf460
nop
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x60]
call fcn.140109040
nop
mov byte [rbp + 0xa], 1
lea rcx, [rbp - 0x38]
call fcn.1400d40a0
lea rcx, [rbp + 0x60]
call fcn.1400d4080
mov rbx, qword [rbp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.1400d4330
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400eb530
lea rdx, reloc.WLDAP32.dll_Ordinal_35
lea rcx, [rbp + 0x30]
call fcn.1401047e0
test rax, rax
sete byte [rbp + 0xb]
test rax, rax
jne 0x1400ff73a
lea rcx, [rbp + 0x30]
call fcn.1400cad10
lea rcx, [rax + 1]
call fcn.1402330a8
mov word [rbp + 8], ax
jmp 0x1400ff768
cmp r8d, dword [r10 + 0x18]
jae 0x1400ff984
mov ecx, r8d
mov eax, dword [rax + rcx*4]
sub rax, r15
add rax, r10
movzx r11d, word [rdx + rcx*2]
mov r9, rbx
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400ff6c6
inc rax
test ecx, ecx
jne 0x1400ff6b3
test edx, edx
je 0x1400ff466
mov rdx, qword [rbp + 0x18]
inc r8d
cmp r8d, dword [r10 + 0x14]
mov rax, qword [rbp + 0x10]
jb 0x1400ff442
mov dword [rdi], 0xc0000225
mov byte [rdi + 0x58], 0
test rsi, rsi
je 0x1400ff6fb
mov rcx, rsi
call fcn.14021a220
nop
lea rcx, [rbp - 0x18]
call fcn.1400cadf0
lea rcx, [rbp - 0x38]
call fcn.1400d3780
mov rax, rdi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1401e1ca0
mov rbx, qword [rsp + 0x478]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x18]
call fcn.1400cdb10
lea rcx, [rbp + 0x30]
call fcn.1400cdaf0
mov rbx, qword [rbp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.1400cdfd0
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400ce890
mov eax, 0x10b
cmp word [rbp + 0x118], ax
setne r14b
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x20]
mov rcx, r12
call fcn.1400fe820
nop
cmp qword [rbp + 0x20], 0
jne 0x1400ff852
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400d38d0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.1400caf90
movzx eax, word [rbp + 8]
mov word [rbp - 0x68], ax
movzx eax, byte [rbp + 0xa]
mov byte [rbp - 0x66], al
movzx eax, byte [rbp + 0xb]
mov byte [rbp - 0x65], al
mov r8d, 0x107
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140104010
nop
lea rcx, [rbp + 0x20]
call fcn.1400d3bb0
nop
lea rcx, [rbp + 0x60]
call fcn.1400d3780
nop
lea rcx, [rbp + 0x30]
call fcn.1400cadf0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400cadf0
nop
lea rcx, [rbp + 0x80]
call fcn.1400cadf0
nop
test rsi, rsi
je 0x1400ff84d
mov rcx, rsi
call fcn.14021a220
nop
jmp 0x1400ff6fb
lea rcx, [rbp + 0x60]
cmp byte [rbp + 0xb], 0
je 0x1400ff8b5
call fcn.1400d3710
movzx r9d, word [rbp + 8]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp + 0x20]
mov rdx, rdi
mov rcx, r12
call fcn.1400ff160
nop
lea rcx, [rbp + 0x20]
call fcn.1400d3bb0
nop
lea rcx, [rbp + 0x60]
call fcn.1400d3780
nop
lea rcx, [rbp + 0x30]
call fcn.1400cadf0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400cadf0
nop
lea rcx, [rbp + 0x80]
call fcn.1400cadf0
nop
jmp 0x1400ff916
call fcn.1400d3710
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.1400cad10
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8, qword [rbp + 0x20]
mov rdx, rdi
mov rcx, r12
call fcn.1400ff160
nop
lea rcx, [rbp + 0x20]
call fcn.1400d3bb0
nop
lea rcx, [rbp + 0x60]
call fcn.1400d3780
nop
lea rcx, [rbp + 0x30]
call fcn.1400cadf0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400cadf0
nop
lea rcx, [rbp + 0x80]
call fcn.1400cadf0
nop
test rsi, rsi
je 0x1400ff924
mov rcx, rsi
call fcn.14021a220
nop
jmp 0x1400ff6fb
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400d37f0
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.1400cae60
movzx eax, word [rbp + 8]
mov word [rbp - 0x68], ax
movzx eax, byte [rbp + 0xa]
mov byte [rbp - 0x66], al
movzx eax, byte [rbp + 0xb]
mov byte [rbp - 0x65], al
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140104010
nop
test rsi, rsi
je 0x1400ff97f
mov rcx, rsi
call fcn.14021a220
nop
jmp 0x1400ff6fb
mov dword [rdi], 0xc0000225
mov byte [rdi + 0x58], 0
jmp 0x1400ff6ed
call fcn.140104f80
int3