Function at 0x140034940
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 [0x140200100]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rbx, r9
mov r12, r8
mov qword [rsp + 0x40], r8
mov rdi, rdx
mov r13, rcx
mov qword [rbp + 0x20], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rbp + 0x380]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rbp - 0x40], r15
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.1400057c0
lea rcx, [rbp - 0x38]
call fcn.14000bb90
nop
lea rcx, [rbp - 0x18]
call fcn.14000a110
mov dword [rbp + 8], r15d
mov r14, qword [r12]
test r14, r14
jne 0x1400349da
mov dword [rdi], 0xc00000ef
mov byte [rdi + 0x58], r14b
jmp 0x140034c9e
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rax, [fcn.14014b650]
mov qword [rbp + 0x50], rax
mov rsi, r15
mov qword [rbp + 0x58], r15
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.140198190
mov rax, qword [r13 + 8]
mov qword [rbp + 0x10], r15
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, r14
call qword [rax + Ordinal_26]
mov eax, 0x5a4d
cmp word [rbp + 0xc0], ax
je 0x140034a6f
mov dword [rdi], 0xc000012f
mov byte [rdi + 0x58], 0
jmp 0x140034c9e
mov rax, qword [r13 + 8]
movsxd rdx, dword [rbp + 0xfc]
add rdx, qword [r12]
mov qword [rbp + 0x10], r15
je 0x140034aa8
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 0x140034ac3
mov dword [rdi], 0xc000007b
mov byte [rdi + 0x58], 0
jmp 0x140034c9e
mov r12d, dword [rbp + 0x188]
mov ecx, 0x10b
mov rax, qword [rbp + 0x118]
cmp ax, cx
cmove r12d, dword [rbp + 0x178]
mov r14d, r12d
test r12d, r12d
je 0x140034c86
mov r13d, dword [rbp + 0x18c]
cmp ax, cx
cmove r13d, dword [rbp + 0x17c]
mov ecx, r13d
call fcn.14014bcbc
mov rsi, rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0x10], r15
add rdx, r14
jne 0x140034b32
mov eax, 0xc0000141
jmp 0x140034b53
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 0x140034b5e
mov dword [rdi], eax
mov byte [rdi + 0x58], 0
jmp 0x140034c90
mov r10, rsi
cmp r13d, 0x28
ja 0x140034bf6
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 r12d, r13d
mov ecx, r13d
call fcn.14014bcbc
mov rsi, rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140034ba7
mov rcx, rax
call fcn.14014b650
nop
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0x18], r15
add rdx, r14
jne 0x140034bc7
mov eax, 0xc0000141
jmp 0x140034beb
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
mov qword [rsp + 0x20], r8
mov r9, r12
mov r8, rsi
call qword [rax + Ordinal_26]
mov r10, rsi
test eax, eax
jns 0x140034bf6
mov dword [rdi], eax
mov byte [rdi + 0x58], 0
jmp 0x140034c90
mov r12d, dword [r10 + 0x24]
sub r12, r14
add r12, r10
mov eax, dword [r10 + 0x20]
sub rax, r14
add rax, r10
mov qword [rbp + 0x18], rax
mov ecx, dword [r10 + 0x1c]
sub rcx, r14
add rcx, r10
mov qword [rbp + 0x10], rcx
mov r8d, r15d
cmp dword [r10 + 0x14], r15d
jbe 0x140034c86
cmp rbx, 0xffff
ja 0x140034c41
movzx r11d, r8w
movzx ecx, r8w
add ecx, dword [r10 + 0x10]
movzx eax, bx
cmp eax, ecx
jmp 0x140034c77
cmp r8d, dword [r10 + 0x18]
jae 0x14003514f
mov ecx, r8d
mov eax, dword [rax + rcx*4]
sub rax, r14
add rax, r10
movzx r11d, word [r12 + rcx*2]
mov r9, rbx
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140034c75
inc rax
test ecx, ecx
jne 0x140034c62
test edx, edx
je 0x140034cdd
inc r8d
cmp r8d, dword [r10 + 0x14]
mov rax, qword [rbp + 0x18]
jb 0x140034c25
mov dword [rdi], 0xc0000225
mov byte [rdi + 0x58], 0
test rsi, rsi
je 0x140034c9e
mov rcx, rsi
call fcn.14014b650
nop
lea rcx, [rbp - 0x18]
call fcn.140009ed0
lea rcx, [rbp - 0x38]
call fcn.140009a90
mov rax, rdi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140115b30
mov rbx, qword [rsp + 0x478]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
movzx eax, r11w
mov rcx, qword [rbp + 0x10]
mov ebx, dword [rcx + rax*4]
add rbx, rdx
mov qword [rbp - 0x40], rbx
lea rax, [r14 + rdx]
cmp rbx, rax
jb 0x1400350f4
mov eax, r13d
add rax, r14
add rax, rdx
cmp rbx, rax
ja 0x1400350f4
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x210]
call fcn.140198190
mov r14, qword [rbp + 0x20]
mov rax, qword [r14 + 8]
mov qword [rbp + 0x18], r15
test rbx, rbx
je 0x140034d62
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.140009fc0
nop
lea rdx, [0x1401cf898]
lea rcx, [rbp + 0x80]
call fcn.14003a0d0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.14000a150
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400107b0
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.140005b00
mov rbx, qword [rax]
lea rcx, [rbp + 0x80]
call fcn.14000c100
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000fbd0
nop
lea rdx, str..dll
lea rcx, [rbp - 0x60]
call fcn.140009e40
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140009f40
nop
lea rcx, [rbp - 0x60]
call fcn.140009ed0
lea rdx, [0x1401cf898]
lea rcx, [rbp + 0x80]
call fcn.14003a0d0
lea r12, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.14000a150
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400107b0
nop
mov rcx, qword [rbp + 0x90]
cmp rcx, r12
jb 0x14003515e
mov qword [rbp + 0x10], 0xffffffffffffffff
sub rcx, r12
mov qword [rbp + 0x18], rcx
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x10]
call fcn.140005b00
mov rbx, qword [rax]
lea rcx, [rbp + 0x80]
call fcn.14000c100
lea rdx, [r12 + rax]
mov r8, rbx
lea rcx, [rbp + 0x30]
call fcn.14000fbd0
nop
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x60]
call fcn.14003cfd0
nop
mov byte [rbp + 0xa], 1
lea rcx, [rbp - 0x38]
call fcn.140005b50
lea rcx, [rbp + 0x60]
call fcn.140005ac0
mov rbx, qword [rbp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.14000bc10
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140020db0
lea rdx, [0x1401cf89c]
lea rcx, [rbp + 0x30]
call fcn.14003a0d0
test rax, rax
sete byte [rbp + 0xb]
test rax, rax
jne 0x140034f05
lea rcx, [rbp + 0x30]
call fcn.140009cb0
lea rcx, [rax + 1]
call fcn.1401663c4
mov word [rbp + 8], ax
jmp 0x140034f33
lea rcx, [rbp - 0x18]
call fcn.14000bc80
lea rcx, [rbp + 0x30]
call fcn.14000bc60
mov rbx, qword [rbp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14000c100
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000d250
mov eax, 0x10b
cmp word [rbp + 0x118], ax
setne r15b
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.140033ff0
nop
cmp qword [rbp + 0x20], 0
jne 0x14003501d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.140009b90
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.14000a070
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.140039900
nop
lea rcx, [rbp + 0x20]
call fcn.14000a580
nop
lea rcx, [rbp + 0x60]
call fcn.140009a90
nop
lea rcx, [rbp + 0x30]
call fcn.140009ed0
nop
lea rcx, [rbp + 0xa0]
call fcn.140009ed0
nop
lea rcx, [rbp + 0x80]
call fcn.140009ed0
nop
test rsi, rsi
je 0x140035018
mov rcx, rsi
call fcn.14014b650
nop
jmp 0x140034c9e
lea rcx, [rbp + 0x60]
cmp byte [rbp + 0xb], 0
je 0x140035080
call fcn.140009740
movzx r9d, word [rbp + 8]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp + 0x20]
mov rdx, rdi
mov rcx, r14
call fcn.140034940
nop
lea rcx, [rbp + 0x20]
call fcn.14000a580
nop
lea rcx, [rbp + 0x60]
call fcn.140009a90
nop
lea rcx, [rbp + 0x30]
call fcn.140009ed0
nop
lea rcx, [rbp + 0xa0]
call fcn.140009ed0
nop
lea rcx, [rbp + 0x80]
call fcn.140009ed0
nop
jmp 0x1400350e1
call fcn.140009740
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.140009cb0
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8, qword [rbp + 0x20]
mov rdx, rdi
mov rcx, r14
call fcn.140034940
nop
lea rcx, [rbp + 0x20]
call fcn.14000a580
nop
lea rcx, [rbp + 0x60]
call fcn.140009a90
nop
lea rcx, [rbp + 0x30]
call fcn.140009ed0
nop
lea rcx, [rbp + 0xa0]
call fcn.140009ed0
nop
lea rcx, [rbp + 0x80]
call fcn.140009ed0
nop
test rsi, rsi
je 0x1400350ef
mov rcx, rsi
call fcn.14014b650
nop
jmp 0x140034c9e
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.140009ac0
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.140009f40
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.140039900
nop
test rsi, rsi
je 0x14003514a
mov rcx, rsi
call fcn.14014b650
nop
jmp 0x140034c9e
mov dword [rdi], 0xc0000225
mov byte [rdi + 0x58], 0
jmp 0x140034c90
call fcn.14003a840
int3