Function at 0x140423b68
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140547080]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13d, r9d
mov r12, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x10], rdx
movabs r15, 0x27455fef7fcbc119
mov qword [rbp + 0x1e0], r15
movabs r14, 0xa53c8beee32332e6
mov qword [rbp + 0x1e8], r14
movabs rax, 0x436b6ddc0daeb26c
mov qword [rbp + 0x60], rax
movabs rbx, 0xa53c8beee3235e8a
mov qword [rbp + 0x68], rbx
movups xmm0, xmmword [rbp + 0x60]
pxor xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], r14
movabs rax, 0x436b2add4ca5a86e
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rbx
movups xmm0, xmmword [rbp + 0x60]
pxor xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], r14
movabs rax, 0xbe5fede1e5763e8b
mov qword [rbp + 0x210], rax
movabs rax, 0x5cf9e110a4577e48
mov qword [rbp + 0x218], rax
movabs rax, 0x482131862897fb5a
mov qword [rbp + 0x60], rax
movabs rax, 0xc048f897b07f4191
mov qword [rbp + 0x68], rax
movabs rax, 0xc8369f85b9440de6
mov qword [rbp + 0x70], rax
movabs rax, 0x5cf9e110f8240c2d
mov qword [rbp + 0x78], rax
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x1f0], xmm1
vmovdqu ymm0, ymmword [rbp + 0x1e0]
vpxor ymm1, ymm0, ymmword [rbp + 0x200]
vmovdqa ymmword [rbp + 0x1e0], ymm1
lea rax, [rbp + 0x1e0]
or r14, 0xffffffffffffffff
mov rcx, r14
vzeroupper
xor r15d, r15d
inc rcx
cmp byte [rax + rcx], r15b
jne 0x140423ceb
mov rdx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1404243b7
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140423d1b
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1e0]
lea rcx, [rbp + 0x20]
call fcn.14042a5b8
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x200]
call fcn.140429a20
nop
lea rcx, [rbp + 0x200]
call fcn.140422ba0
mov bl, al
lea rcx, [rbp + 0x200]
call fcn.1404294bc
test bl, bl
jne 0x140423e26
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rdi], xmm1
mov qword [rdi + 0x10], r15
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], rbx
mov byte [rdi], r15b
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x20], r15b
mov r14d, 0x1000
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140423dd8
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r14
jb 0x140423dd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140424329
call fcn.1404d1eb4
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x20], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140423e1a
inc rdx
mov rcx, qword [rsi]
cmp rdx, r14
jb 0x140423e15
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1404243b0
mov rcx, rax
call fcn.1404d1eb4
mov qword [rsi + 0x10], r15
mov byte [rsi], r15b
jmp 0x14042437f
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xd0]
call fcn.1404d306c
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.140428b98
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x1e0], r15
mov word [rbp + 0x1e8], 1
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x118]
mov qword [rbp + 0x60], rax
test rax, rax
sete byte [rbp + 0x68]
mov byte [rbp + 0x69], r15b
movaps xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x1e0], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x60], xmm1
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.140429b14
nop
mov eax, 0x5a4d
mov rcx, qword [rbp + 0x40]
xorps xmm0, xmm0
cmp word [rcx], ax
je 0x140424015
movups xmmword [rdi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rdi], xmm1
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbx
mov byte [rdi], r15b
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x20], r15b
mov r14d, 0x1000
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, r14
jb 0x140423f2a
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14042428a
call fcn.1404d1eb4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xe0]
call fcn.140428b2c
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140423fcb
inc rdx
mov rcx, qword [rbp + 0x20]
cmp rdx, r14
mov rax, rcx
jb 0x140423fc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140424329
call fcn.1404d1eb4
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x20], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140423e1a
inc rdx
mov rcx, qword [rsi]
cmp rdx, r14
jb 0x140423e15
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1404243b0
mov rcx, r8
jmp 0x140423e15
movsxd r15, dword [rcx + 0x3c]
add r15, rcx
cmp dword [r15], 0x4550
je 0x14042402d
xor r15d, r15d
jmp 0x140423ed2
movups xmmword [rbp + 0x200], xmm0
and qword [rbp + 0x210], 0
and qword [rbp + 0x218], 0
inc r14
cmp byte [r12 + r14], 0
jne 0x140424044
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x200]
call fcn.140429fdc
lea r8, [rbp + 0x200]
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.140423a34
mov r12, qword [rbp + 0x60]
xorps xmm0, xmm0
cmp r13, r12
jbe 0x1404240c4
movups xmmword [rdi + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rdi], xmm1
xor r15d, r15d
mov qword [rdi + 0x10], r15
lea ebx, [r15 + 0xf]
mov qword [rdi + 0x18], rbx
mov byte [rdi], r15b
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x20], r15b
mov r14d, 0x1000
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140423f3b
jmp 0x140423f02
movups xmmword [rbp + 0x80], xmm0
movdqa xmm2, xmmword [0x140538370]
movdqu xmmword [rbp + 0x90], xmm2
xor r13d, r13d
mov byte [rbp + 0x80], r13b
movups xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmm2
movdqu xmmword [rbp + 0xb0], xmm2
mov byte [rbp + 0xa0], r13b
movups xmmword [rbp + 0xc0], xmm0
mov r14, qword [rbp + 0x30]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r9, qword [rbp + 0x20]
psrldq xmm2, 8
movq rax, xmm2
cmp r14, rax
ja 0x140424155
lea rbx, [rbp + 0x80]
cmp rax, 0x10
cmovae rbx, qword [rbp + 0x80]
mov qword [rbp + 0x90], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], r13b
jmp 0x140424164
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.14042a204
lea rax, [rbp + 0xa0]
cmp rax, rsi
je 0x1404241cb
mov r14, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140424181
mov r9, qword [rsi]
cmp r14, qword [rbp + 0xb8]
ja 0x1404241bc
lea rbx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rbx, qword [rbp + 0xa0]
mov qword [rbp + 0xb0], r14
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], r13b
jmp 0x1404241cb
mov rdx, r14
lea rcx, [rbp + 0xa0]
call fcn.14042a204
movzx ecx, word [r15 + 6]
mov dword [rbp + 0xc8], ecx
mov rax, qword [rbp + 0x68]
mov dword [rbp + 0xc0], eax
mov dword [rbp + 0xc4], r12d
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x140538370]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], r13b
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rdi + 0x30], xmm1
movdqa xmm0, xmmword [0x140538370]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], r13b
mov dword [rdi + 0x40], eax
mov dword [rdi + 0x44], r12d
mov dword [rdi + 0x48], ecx
lea rcx, [rbp + 0x80]
call fcn.140424424
nop
mov r14d, 0x1000
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1404242a2
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, r14
jb 0x140424291
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140424291
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1404d1eb4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xe0]
call fcn.140428b2c
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140424335
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r14
jb 0x140424330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140424330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1404d1eb4
mov qword [rbp + 0x30], r13
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x20], r13b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140424378
inc rdx
mov rcx, qword [rsi]
cmp rdx, r14
jb 0x140424373
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1404243b0
mov rcx, r8
call fcn.1404d1eb4
mov qword [rsi + 0x10], r13
mov byte [rsi], r13b
mov qword [rsi + 0x18], rbx
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1404d1bc0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140421c18
nop
int3