Function at 0x140003840
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rsi, r8
mov r12, rdx
mov rbx, rcx
test rdx, rdx
je 0x140003d0e
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
xor r13d, r13d
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x20], gethostname
mov qword [rbp + 0x30], r12
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 0x40
mov dword [rbp + 0x238], r13d
mov rax, qword [0x1400ce560]
mov qword [rsp + 0x38], r13
lea rcx, [rbp + 0x238]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 0x28]
lea r8, [rbp + 0x20]
mov edx, 0x80862007
mov rcx, rbx
call rax
test eax, eax
je 0x140003d0e
mov eax, 0x5a4d
cmp word [rbp + 0xa0], ax
jne 0x140003d0e
movsxd rax, dword [rbp + 0xdc]
add rax, r12
je 0x140003d0e
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x48], gethostname
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 0x108
mov dword [rbp + 0x248], r13d
mov rax, qword [0x1400ce560]
mov qword [rsp + 0x38], r13
lea rcx, [rbp + 0x248]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 0x28]
lea r8, [rbp + 0x48]
mov edx, 0x80862007
mov rcx, rbx
call rax
test eax, eax
je 0x140003d0e
cmp dword [rbp + 0xe0], 0x4550
jne 0x140003d0e
mov r15d, dword [rbp + 0x168]
mov r14d, dword [rbp + 0x16c]
test r15d, r15d
je 0x140003d0e
test r14d, r14d
je 0x140003d0e
movabs rax, 0xbb866a85ef3add71
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x40], rax
movabs rax, 0xb21c1a492e1f85d0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x38], rax
movabs rcx, 0xfaea0bf09b48b427
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp], rax
movabs rdx, 0xb21c1a494d70e9bc
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x40], xmm0
movabs rax, 0xc8d96795f53ad14c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x30], rax
movabs rax, 0xb21c1a49211c8d92
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x30], xmm0
mov r9d, dword [rbp + 0x16c]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140008e70
mov rdi, rax
mov eax, r14d
mov qword [rbp - 0x10], rax
mov r14d, r15d
mov qword [rbp - 0x18], r15
lea rcx, [r15 + r12]
test rdi, rdi
je 0x140003c09
test rcx, rcx
je 0x140003c09
test rax, rax
je 0x140003c09
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x70], gethostname
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rax
mov dword [rbp - 0x70], r13d
mov rax, qword [0x1400ce560]
mov qword [rsp + 0x38], r13
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 0x28]
lea r8, [rbp + 0x70]
mov edx, 0x80862007
mov rcx, rbx
call rax
test eax, eax
je 0x140003c09
mov r15, rdi
sub r15, r14
mov r13d, dword [rdi + 0x20]
add r13, r15
mov eax, dword [rdi + 0x24]
add rax, r15
mov qword [rsp + 0x40], rax
mov eax, dword [rdi + 0x1c]
add rax, r15
mov qword [rbp - 0x20], rax
xor eax, eax
mov ebx, eax
cmp dword [rdi + 0x18], eax
jbe 0x140003c09
nop
mov r14d, ebx
mov edx, dword [r13 + r14*4]
add rdx, r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140003b81
lea rcx, [rbp - 0x68]
call fcn.14000a400
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140003ba2
mov rdx, qword [rsi]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003d2b
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140003bf9
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003eb5
call fcn.14009d4d4
inc ebx
cmp ebx, dword [rdi + 0x18]
mov eax, 0
jb 0x140003b60
movabs rax, 0xbc866a85ef3add71
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x60], rax
movabs rax, 0xb21c1a494d158cce
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x68], rax
movabs rcx, 0xfaea0bf09b48b427
mov qword [rbp + 0x238], rcx
mov rax, qword [rbp + 0x238]
movabs rdx, 0xb21c1a494d70e9bc
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x238]
mov qword [rbp - 0x78], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
movabs rax, 0xc8d96795f53ad14c
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x50], rax
movabs rax, 0xb21c1a49211c8d92
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x238], rcx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140008ef0
xor eax, eax
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + r14*2]
mov rcx, qword [rbp - 0x20]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x140003e75
lea rbx, [r12 + rcx]
mov rcx, qword [rbp - 0x18]
lea rax, [rcx + r12]
cmp rbx, rax
jb 0x140003ebc
mov rax, qword [rbp - 0x10]
add rax, rcx
add rax, r12
cmp rbx, rax
ja 0x140003ebc
movabs rax, 0xbc866a85ef3add71
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x50], rax
movabs rax, 0xb21c1a494d158cce
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x58], rax
movabs rcx, 0xfaea0bf09b48b427
mov qword [rbp + 0x238], rcx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x70], rax
movabs rdx, 0xb21c1a494d70e9bc
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
movabs rax, 0xc8d96795f53ad14c
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x60], rax
movabs rax, 0xb21c1a49211c8d92
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x238], rcx
mov rax, qword [rbp + 0x238]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x238]
mov qword [rbp - 0x78], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140008ef0
xor ebx, ebx
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140003fcb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movabs rax, 0xbc866a85ef3add71
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x60], rax
movabs rax, 0xb21c1a494d158cce
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x68], rax
movabs rcx, 0xfaea0bf09b48b427
mov qword [rbp + 0x238], rcx
mov rax, qword [rbp + 0x238]
mov qword [rbp - 0x80], rax
movabs rdx, 0xb21c1a494d70e9bc
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x238]
mov qword [rbp - 0x78], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
movabs rax, 0xc8d96795f53ad14c
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x50], rax
movabs rax, 0xb21c1a49211c8d92
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x238], rcx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x238], rdx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140008ef0
jmp 0x140003e77
call fcn.14009d4d4
mov rax, rbx
jmp 0x140003d10