Function at 0x14006ec10
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1401a0f70]
mov dword [rbp - 0x30], ntohs
movss xmm0, dword [rbx + 0x3834]
lea rcx, [rbx + 0x4858]
movss dword [rbp - 0x2c], xmm0
call fcn.1400205a0
mov dword [rbx + 0x3834], 0x40a00000
lea rdx, [rbp - 0x30]
mov rbx, qword [0x1403d2c70]
mov dword [rbp - 0x30], reloc.WS2_32.dll_select
movss xmm0, dword [rbx + 0x3864]
lea rcx, [rbx + 0x4858]
movss dword [rbp - 0x2c], xmm0
call fcn.1400205a0
mov dword [rbx + 0x3864], 0x41233333
lea rdx, [rbp - 0x30]
mov rbx, qword [0x1403d2c70]
mov dword [rbp - 0x30], 8
movss xmm0, dword [rbx + 0x3820]
lea rcx, [rbx + 0x4858]
movss dword [rbp - 0x2c], xmm0
call fcn.1400205a0
lea rdx, [rbp + 0x10]
mov dword [rbx + 0x3820], 0
mov ecx, reloc.WS2_32.dll_ntohl
mov dword [rbp + 0x10], 0x41200000
mov dword [rbp + 0x14], 0x41200000
call fcn.140005760
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rbx + 0x3a38]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3a38], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 6
movups xmm0, xmmword [rbx + 0x3938]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3938], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], Ordinal_26
movups xmm0, xmmword [rbx + 0x3a68]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3a68], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], reloc.WLDAP32.dll_Ordinal_27
movups xmm0, xmmword [rbx + 0x3a88]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3a88], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 8
movups xmm0, xmmword [rbx + 0x3958]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3958], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 9
movups xmm0, xmmword [rbx + 0x3968]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3968], xmm6
mov rbx, qword [0x1403d2c70]
mov dword [rbp - 0x30], reloc.WLDAP32.dll_Ordinal_26
movups xmm0, xmmword [rbx + 0x3a78]
lea rcx, [rbx + 0x4848]
lea rdx, [rbp - 0x30]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3a78], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0xa
movups xmm0, xmmword [rbx + 0x3978]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3978], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbx + 0x3a48]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
movups xmmword [rbx + 0x3a48], xmm6
mov rbx, qword [0x1403d2c70]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], Ordinal_26
movups xmm0, xmmword [rbx + 0x3a58]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.140020690
mov rcx, qword [0x1403d4108]
mov rdi, qword [0x1403d2c70]
movups xmmword [rbx + 0x3a58], xmm6
mov qword [rbp + 0x10], rcx
mov rbx, rcx
or dword [rdi + 0x4788], 1
mov dword [rdi + 0x478c], 0x43960000
test rcx, rcx
jne 0x14006ef2f
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x14006ef28
mov rbx, qword [rdi + 0x58]
cmp dword [rbx + 0x58], ecx
jg 0x14006ef21
mov r8d, 0x70d
lea rdx, [0x14018eb60]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x60]
mov rcx, qword [rax]
mov qword [rbp + 0x10], rcx
mov rbx, rcx
call fcn.1400134e0
lea rcx, [rdi + 0x4868]
lea rdx, [rbp + 0x10]
call fcn.140020900
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rdi + 0x3f00]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.140022e40
mov eax, dword [0x14022d480]
test eax, eax
jne 0x14006ef78
mov dword [0x1403d34ac], 0x41
jmp 0x14006f396
cmp eax, 1
jne 0x14006ef8c
mov dword [0x1403d34ac], 0x42
jmp 0x14006f396
cmp eax, 2
jne 0x14006efa0
mov dword [0x1403d34ac], 0x43
jmp 0x14006f396
cmp eax, 3
jne 0x14006efb4
mov dword [0x1403d34ac], 0x44
jmp 0x14006f396
cmp eax, 4
jne 0x14006efc8
mov dword [0x1403d34ac], 0x45
jmp 0x14006f396
cmp eax, 5
jne 0x14006efdc
mov dword [0x1403d34ac], 0x46
jmp 0x14006f396
cmp eax, 6
jne 0x14006eff0
mov dword [0x1403d34ac], 0x47
jmp 0x14006f396
cmp eax, 7
jne 0x14006f004
mov dword [0x1403d34ac], 0x48
jmp 0x14006f396
cmp eax, 8
jne 0x14006f018
mov dword [0x1403d34ac], 0x49
jmp 0x14006f396
cmp eax, 9
jne 0x14006f02c
mov dword [0x1403d34ac], 0x4a
jmp 0x14006f396
cmp eax, 0xa
jne 0x14006f040
mov dword [0x1403d34ac], 0x4b
jmp 0x14006f396
cmp eax, 0xb
jne 0x14006f054
mov dword [0x1403d34ac], 0x4c
jmp 0x14006f396
cmp eax, 0xc
jne 0x14006f068
mov dword [0x1403d34ac], 0x4d
jmp 0x14006f396
cmp eax, 0xd
jne 0x14006f07c
mov dword [0x1403d34ac], 0x4e
jmp 0x14006f396
cmp eax, 0xe
jne 0x14006f090
mov dword [0x1403d34ac], 0x4f
jmp 0x14006f396
cmp eax, 0xf
jne 0x14006f0a4
mov dword [0x1403d34ac], 0x50
jmp 0x14006f396
cmp eax, 0x10
jne 0x14006f0b8
mov dword [0x1403d34ac], 0x51
jmp 0x14006f396
cmp eax, 0x11
jne 0x14006f0cc
mov dword [0x1403d34ac], 0x52
jmp 0x14006f396
cmp eax, 0x12
jne 0x14006f0e0
mov dword [0x1403d34ac], 0x53
jmp 0x14006f396
cmp eax, 0x13
jne 0x14006f0f4
mov dword [0x1403d34ac], 0x54
jmp 0x14006f396
cmp eax, 0x14
jne 0x14006f108
mov dword [0x1403d34ac], 0x55
jmp 0x14006f396
cmp eax, 0x15
jne 0x14006f11c
mov dword [0x1403d34ac], 0x56
jmp 0x14006f396
cmp eax, 0x16
jne 0x14006f130
mov dword [0x1403d34ac], 0x57
jmp 0x14006f396
cmp eax, 0x17
jne 0x14006f144
mov dword [0x1403d34ac], 0x58
jmp 0x14006f396
cmp eax, 0x18
jne 0x14006f158
mov dword [0x1403d34ac], 0x59
jmp 0x14006f396
cmp eax, 0x19
jne 0x14006f16c
mov dword [0x1403d34ac], 0x5a
jmp 0x14006f396
cmp eax, 0x1a
jne 0x14006f180
mov dword [0x1403d34ac], 0x12
jmp 0x14006f396
cmp eax, 0x1b
jne 0x14006f194
mov dword [0x1403d34ac], 0x11
jmp 0x14006f396
cmp eax, 0x1c
jne 0x14006f1a8
mov dword [0x1403d34ac], 0x10
jmp 0x14006f396
cmp eax, 0x1d
jne 0x14006f1bc
mov dword [0x1403d34ac], 9
jmp 0x14006f396
cmp eax, 0x1e
jne 0x14006f1d0
mov dword [0x1403d34ac], 0x14
jmp 0x14006f396
cmp eax, 0x1f
jne 0x14006f1e4
mov dword [0x1403d34ac], 0x1b
jmp 0x14006f396
cmp eax, 0x20
jne 0x14006f1f8
mov dword [0x1403d34ac], 0x70
jmp 0x14006f396
cmp eax, 0x21
jne 0x14006f20c
mov dword [0x1403d34ac], 0x71
jmp 0x14006f396
cmp eax, 0x22
jne 0x14006f220
mov dword [0x1403d34ac], 0x72
jmp 0x14006f396
cmp eax, 0x23
jne 0x14006f234
mov dword [0x1403d34ac], 0x73
jmp 0x14006f396
cmp eax, 0x24
jne 0x14006f248
mov dword [0x1403d34ac], 0x74
jmp 0x14006f396
cmp eax, 0x25
jne 0x14006f25c
mov dword [0x1403d34ac], 0x75
jmp 0x14006f396
cmp eax, 0x26
jne 0x14006f270
mov dword [0x1403d34ac], 0x76
jmp 0x14006f396
cmp eax, 0x27
jne 0x14006f284
mov dword [0x1403d34ac], 0x77
jmp 0x14006f396
cmp eax, 0x28
jne 0x14006f298
mov dword [0x1403d34ac], 0x78
jmp 0x14006f396
cmp eax, 0x29
jne 0x14006f2ac
mov dword [0x1403d34ac], 0x79
jmp 0x14006f396
cmp eax, 0x2a
jne 0x14006f2c0
mov dword [0x1403d34ac], 0x7a
jmp 0x14006f396
cmp eax, 0x2b
jne 0x14006f2d4
mov dword [0x1403d34ac], 0x7b
jmp 0x14006f396
cmp eax, 0x2c
jne 0x14006f2e8
mov dword [0x1403d34ac], 8
jmp 0x14006f396
cmp eax, 0x2d
jne 0x14006f2fc
mov dword [0x1403d34ac], 0xd
jmp 0x14006f396
cmp eax, 0x2e
jne 0x14006f310
mov dword [0x1403d34ac], 1
jmp 0x14006f396
cmp eax, 0x2f
jne 0x14006f321
mov dword [0x1403d34ac], 2
jmp 0x14006f396
cmp eax, 0x30
jne 0x14006f332
mov dword [0x1403d34ac], 0x2d
jmp 0x14006f396
cmp eax, 0x31
jne 0x14006f343
mov dword [0x1403d34ac], 0x23
jmp 0x14006f396
cmp eax, 0x32
jne 0x14006f354
mov dword [0x1403d34ac], 0x2e
jmp 0x14006f396
cmp eax, 0x33
jne 0x14006f365
mov dword [0x1403d34ac], 0x24
jmp 0x14006f396
cmp eax, 0x34
jne 0x14006f376
mov dword [0x1403d34ac], 0x21
jmp 0x14006f396
cmp eax, 0x35
jne 0x14006f387
mov dword [0x1403d34ac], 0x22
jmp 0x14006f396
cmp eax, 0x36
jne 0x14006f396
mov dword [0x1403d34ac], 0
lea r9, [0x140233b70]
lea rdx, [0x14022d480]
lea rcx, str.Hotkey_HP_Recovery
call fcn.1400367d0
call fcn.140013610
mov ecx, 0xa
call fcn.1400055c0
mov ecx, 4
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbp
jmp fcn.140005840