Function at 0x140065330
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 [0x1403b1040]
lea rdx, [rbp - 0x30]
movaps xmmword [rsp + 0x50], xmm6
movaps xmm6, xmmword [0x140184410]
mov dword [rbp - 0x30], ntohs
movss xmm0, dword [rbx + 0x3834]
lea rcx, [rbx + 0x4858]
movss dword [rbp - 0x2c], xmm0
call fcn.14001f330
mov dword [rbx + 0x3834], 0x40a00000
lea rdx, [rbp - 0x30]
mov rbx, qword [0x1403b1040]
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.14001f330
mov dword [rbx + 0x3864], 0x41233333
lea rdx, [rbp - 0x30]
mov rbx, qword [0x1403b1040]
mov dword [rbp - 0x30], 8
movss xmm0, dword [rbx + 0x3820]
lea rcx, [rbx + 0x4858]
movss dword [rbp - 0x2c], xmm0
call fcn.14001f330
mov dword [rbx + 0x3820], 0
lea rdx, [rbp - 0x30]
mov rbx, qword [0x1403b1040]
mov dword [rbp - 0x30], reloc.WS2_32.dll_ntohl
movss xmm1, dword [rbx + 0x383c]
lea rcx, [rbx + 0x4858]
movss xmm0, dword [rbx + 0x3840]
movss dword [rbp - 0x2c], xmm1
movss dword [rbp - 0x28], xmm0
call fcn.14001f330
mov dword [rbx + 0x383c], 0x41200000
lea rdx, [rbp - 0x30]
mov dword [rbx + 0x3840], 0x41200000
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3a38], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3938], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3a68], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3a88], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3958], xmm6
mov rbx, qword [0x1403b1040]
mov dword [rbp - 0x30], 9
movups xmm0, xmmword [rbx + 0x3968]
movups xmmword [rbp - 0x2c], xmm0
lea rcx, [rbx + 0x4848]
lea rdx, [rbp - 0x30]
call fcn.14001f420
movups xmmword [rbx + 0x3968], xmm6
mov rbx, qword [0x1403b1040]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], reloc.WLDAP32.dll_Ordinal_26
movups xmm0, xmmword [rbx + 0x3a78]
lea rcx, [rbx + 0x4848]
movups xmmword [rbp - 0x2c], xmm0
call fcn.14001f420
movups xmmword [rbx + 0x3a78], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3978], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
movups xmmword [rbx + 0x3a48], xmm6
mov rbx, qword [0x1403b1040]
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.14001f420
mov rcx, qword [0x1403b24a8]
mov rdi, qword [0x1403b1040]
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 0x14006567e
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140065677
mov rbx, qword [rdi + 0x58]
cmp dword [rbx + 0x58], ecx
jg 0x140065670
mov r8d, 0x70c
lea rdx, [0x140173900]
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.1400124b0
lea rcx, [rdi + 0x4868]
lea rdx, [rbp + 0x10]
call fcn.14001f690
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rdi + 0x3f00]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.140022070
mov eax, dword [reloc.WLDAP32.dll_Ordinal_26]
test eax, eax
jne 0x1400656c7
mov dword [0x1403b1450], 0x41
jmp 0x1400658b5
cmp eax, 1
jne 0x1400656db
mov dword [0x1403b1450], 0x42
jmp 0x1400658b5
cmp eax, 2
jne 0x1400656ef
mov dword [0x1403b1450], 0x43
jmp 0x1400658b5
cmp eax, 3
jne 0x140065703
mov dword [0x1403b1450], 0x44
jmp 0x1400658b5
cmp eax, 4
jne 0x140065717
mov dword [0x1403b1450], 0x45
jmp 0x1400658b5
cmp eax, 5
jne 0x14006572b
mov dword [0x1403b1450], 0x46
jmp 0x1400658b5
cmp eax, 6
jne 0x14006573f
mov dword [0x1403b1450], 0x47
jmp 0x1400658b5
cmp eax, 7
jne 0x140065753
mov dword [0x1403b1450], 0x48
jmp 0x1400658b5
cmp eax, 8
jne 0x140065767
mov dword [0x1403b1450], 0x49
jmp 0x1400658b5
cmp eax, 9
jne 0x14006577b
mov dword [0x1403b1450], 0x4a
jmp 0x1400658b5
cmp eax, 0xa
jne 0x14006578f
mov dword [0x1403b1450], 0x4b
jmp 0x1400658b5
cmp eax, 0xb
jne 0x1400657a3
mov dword [0x1403b1450], 0x4c
jmp 0x1400658b5
cmp eax, 0xc
jne 0x1400657b7
mov dword [0x1403b1450], 0x4d
jmp 0x1400658b5
cmp eax, 0xd
jne 0x1400657cb
mov dword [0x1403b1450], 0x4e
jmp 0x1400658b5
cmp eax, 0xe
jne 0x1400657df
mov dword [0x1403b1450], 0x4f
jmp 0x1400658b5
cmp eax, 0xf
jne 0x1400657f3
mov dword [0x1403b1450], 0x50
jmp 0x1400658b5
cmp eax, 0x10
jne 0x140065807
mov dword [0x1403b1450], 0x51
jmp 0x1400658b5
cmp eax, 0x11
jne 0x14006581b
mov dword [0x1403b1450], 0x52
jmp 0x1400658b5
cmp eax, 0x12
jne 0x14006582f
mov dword [0x1403b1450], 0x53
jmp 0x1400658b5
cmp eax, 0x13
jne 0x140065840
mov dword [0x1403b1450], 0x54
jmp 0x1400658b5
cmp eax, 0x14
jne 0x140065851
mov dword [0x1403b1450], 0x55
jmp 0x1400658b5
cmp eax, 0x15
jne 0x140065862
mov dword [0x1403b1450], 0x56
jmp 0x1400658b5
cmp eax, 0x16
jne 0x140065873
mov dword [0x1403b1450], 0x57
jmp 0x1400658b5
cmp eax, 0x17
jne 0x140065884
mov dword [0x1403b1450], 0x58
jmp 0x1400658b5
cmp eax, 0x18
jne 0x140065895
mov dword [0x1403b1450], 0x59
jmp 0x1400658b5
cmp eax, 0x19
jne 0x1400658a6
mov dword [0x1403b1450], 0x5a
jmp 0x1400658b5
cmp eax, 0x1a
jne 0x1400658b5
mov dword [0x1403b1450], 0
lea r9, [0x1403afda0]
lea rdx, reloc.WLDAP32.dll_Ordinal_26
lea rcx, str.Hotkey_Boota
call fcn.140035650
call fcn.1400125e0
mov ecx, 0xa
call fcn.140004a80
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.140004d00