Function at 0x140109400
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.14011d180
sub rsp, rax
mov rax, qword [0x14019d0c0]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x58], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov ebx, r12d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov esi, 1
mov dword [rsp + 0x30], esi
mov ecx, 0x10000
mov edi, 0x5a4d
mov r13d, 0x20b
nop word [rax + rax]
mov rax, qword [r14]
lea r8, [rbp + 0x60]
mov rdx, rcx
mov rcx, r14
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x140109acf
cmp eax, 0xc0000022
je 0x140109acf
cmp eax, 0xc000010a
je 0x140109acf
test eax, eax
jne 0x140109ab4
cmp dword [rbp + 0x80], 0x1000
jne 0x140109ab4
mov eax, dword [rbp + 0x70]
cmp eax, 1
je 0x140109ab4
bt eax, 8
jb 0x140109ab4
mov rdx, qword [rbp + 0x68]
cmp rbx, rdx
je 0x140109ab4
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r12w
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r12w
mov rax, qword [r14]
mov qword [rsp + 0x20], r12
mov r9d, 0x1000
lea r8, [rbp + 0x110]
mov rcx, r14
call qword [rax + 0x18]
test eax, eax
jne 0x140109aa2
movsxd rax, dword [rbp + 0x14c]
lea rax, [rbp + rax + 0x110]
cmp word [rbp + 0x110], di
jne 0x140109aa2
cmp dword [rax], 0x4550
jne 0x140109aa2
movzx ecx, word [rax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x140109588
mov dword [rbp + 0x4c], r12d
jmp 0x140109595
cmp cx, r13w
jne 0x14010959b
mov dword [rbp + 0x4c], 1
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x48], eax
mov rdx, qword [rbp + 0x68]
mov qword [rbp], rdx
mov qword [rbp + 0x50], r12
mov byte [rbp + 0x58], 0
mov rax, qword [r14]
mov qword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x110]
mov r8d, 2
mov rcx, r14
call qword [rax + 0x28]
xorps xmm0, xmm0
test eax, eax
jne 0x1401098f3
mov r8, 0xffffffffffffffff
cmp byte [r14 + 0x16], 1
jne 0x1401096a8
mov edx, dword [rbp + 0x114]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140109600
lea rcx, [rsp + 0x68]
call fcn.140015310
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400eb880
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x14010969f
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x14010966f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010966a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140109b08
call fcn.14011c93c
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
lea rcx, [rbp - 0x48]
jmp 0x140109761
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov rdx, qword [rbp + 0x118]
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401096c0
lea rcx, [rbp - 0x78]
call fcn.140015310
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x28]
call fcn.1400eb880
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x14010975d
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x14010972d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140109b0e
call fcn.14011c93c
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
lea rcx, [rbp - 0x28]
call fcn.1400152a0
mov r9, qword [rbp + 0x38]
lea rdx, [rbp + 0x28]
test r9, r9
je 0x14010986d
cmp qword [rbp + 0x40], 7
seta r11b
mov r10, qword [rbp + 0x28]
cmova rdx, r10
test r9, r9
je 0x1401097cb
lea rcx, [r9 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x5c
je 0x1401097bf
nop dword [rax]
cmp rax, rdx
je 0x1401097cb
sub rax, 2
cmp word [rax], 0x5c
jne 0x1401097b0
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14010981b
lea rdx, [rbp + 0x28]
test r11b, r11b
cmovne rdx, r10
test r9, r9
je 0x140109869
lea rcx, [r9 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x2f
je 0x14010980f
nop dword [rax + rax]
cmp rax, rdx
je 0x140109869
sub rax, 2
cmp word [rax], 0x2f
jne 0x140109800
sub rax, rdx
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140109869
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
cmp r9, rcx
jb 0x140109afc
sub r9, rcx
mov r8, 0xffffffffffffffff
cmp r9, r8
cmovb r8, r9
lea rax, [rbp + 0x28]
test r11b, r11b
cmovne rax, r10
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x48]
call fcn.140015310
or esi, 0xc
jmp 0x14010987a
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.1400e8ce0
or esi, 4
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x1401098be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401098b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140109b02
call fcn.14011c93c
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x18], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
lea rcx, [rsp + 0x48]
call fcn.1400152a0
jmp 0x140109987
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov r8, qword [rbp]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140109951
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x28]
call fcn.140066880
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rbp + 8]
call fcn.140066880
mov ecx, WSAStartup
call fcn.14011c6c0
mov rdi, rax
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_blackbone::ModuleData_const__.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x38], rbx
mov rax, qword [rbp]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp + 8]
call fcn.1400e8ce0
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x28]
call fcn.1400e8ce0
mov eax, dword [rbp + 0x48]
mov dword [rbx + 0x48], eax
mov eax, dword [rbp + 0x4c]
mov dword [rbx + 0x4c], eax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x50], rax
movzx eax, byte [rbp + 0x58]
mov byte [rbx + 0x58], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
or esi, 2
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x140109a33
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
movdqu xmmword [rsp + 0x38], xmm0
add qword [r15 + 8], 0x10
jmp 0x140109a41
lea r8, [rsp + 0x38]
mov rcx, r15
call fcn.140102a60
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140109a85
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140109a81
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140109a81
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov esi, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x68]
lea rcx, [rbp + 0x28]
call fcn.1400152a0
lea rcx, [rbp + 8]
call fcn.1400152a0
mov edi, 0x5a4d
jmp 0x140109ab4
lea rcx, [rbp + 0x28]
call fcn.1400152a0
lea rcx, [rbp + 8]
call fcn.1400152a0
mov rcx, qword [rbp + 0x60]
add rcx, qword [rbp + 0x78]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x140109490
mov rax, r15
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.14011c6a0
mov rbx, qword [rsp + 0x1270]
add rsp, 0x1220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400098d0
int3
call fcn.14012387c
int3
call fcn.14012387c
int3
call fcn.14012387c
int3