Function at 0x14009b000
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14014c010]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r15, rcx
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x104
mov r12d, r9d
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, 0x104
lea rdx, [rbp + 0x200]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r13d, r13d
lea rax, [rbp + 0x200]
xorps xmm0, xmm0
mov qword [rbp], r13
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp + 8], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14009b085
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x10]
call fcn.140002230
cmp qword [rbp + 8], 0x10
lea rbx, [rbp - 0x10]
mov rdi, qword [rbp]
cmovae rbx, qword [rbp - 0x10]
test rdi, rdi
je 0x14009b13a
xorps xmm0, xmm0
lea rcx, [rbp + 0xbd]
xor eax, eax
xor edx, edx
mov r8d, 0xa3
mov qword [rbp + 0xb0], rax
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0xb8], eax
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi - 1]
mov byte [rbp + 0xbc], 1
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rbx
movzx ecx, byte [rax]
cmp byte [rbp + rcx + 0x60], r13b
jne 0x14009b135
cmp rax, rbx
je 0x14009b13a
movzx ecx, byte [rax - 1]
dec rax
cmp byte [rbp + rcx + 0x60], r13b
je 0x14009b122
sub rax, rbx
jmp 0x14009b141
mov rax, 0xffffffffffffffff
lea r8, [rax + 1]
xorps xmm0, xmm0
cmp rdi, r8
lea rdx, [rbp - 0x10]
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
cmovb r8, rdi
cmp qword [rbp + 8], 0x10
movups xmmword [rsp + 0x60], xmm0
cmovae rdx, qword [rbp - 0x10]
movdqu xmmword [rsp + 0x70], xmm1
call fcn.140002230
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14009b1b3
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009b1ae
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009b1ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5f14
movups xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x60]
mov byte [rsp + 0x60], r13b
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x10], xmm0
movdqa xmm0, xmmword [0x140138340]
movdqu xmmword [rsp + 0x70], xmm0
movups xmmword [rbp], xmm1
call fcn.140002da0
mov r10, qword [rbp]
mov r9d, r13d
mov rdx, qword [rbp + 8]
mov r8, qword [rbp - 0x10]
test r10, r10
je 0x14009b23c
mov rcx, r13
nop dword [rax]
cmp rdx, 0x10
lea rax, [rbp - 0x10]
cmovae rax, r8
cmp byte [rcx + rax], 0x5c
jne 0x14009b22e
cmp rdx, 0x10
lea rax, [rbp - 0x10]
cmovae rax, r8
mov byte [rcx + rax], 0x2f
mov rdx, qword [rbp + 8]
mov r10, qword [rbp]
mov r8, qword [rbp - 0x10]
inc r9d
inc rcx
movsxd rax, r9d
cmp rax, r10
jb 0x14009b200
movabs rax, 0x7fffffffffffffff
sub rax, r10
cmp rax, 0x14
jb 0x14009b615
cmp rdx, 0x10
mov qword [rsp + 0x30], setsockopt
lea rax, str.GM_OCRE_settings.cfg
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
cmovae r9, r8
mov qword [rsp + 0x20], r10
lea rcx, [rsp + 0x60]
call fcn.14000a090
lea rdx, [rsp + 0x60]
lea rcx, [0x14014fa30]
call fcn.14007ebf0
test al, al
jne 0x14009b2b4
mov r9d, 0x30
lea r8, str.Warning_
lea rdx, str.Can_t_load_default_settings_r_n_from_GM_OCRE_settings.cfg
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.140008840
xorps xmm0, xmm0
lea rdx, str.application_path
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
mov r8d, reloc.WS2_32.dll_recv
mov rbx, rax
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
call fcn.140002230
mov r8, rbx
lea rdx, [rsp + 0x60]
call fcn.1400806d0
mov ecx, 0x202
lea rdx, [rbp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.14000cc70
call fcn.14000ceb0
call fcn.14000e410
call fcn.14000e7f0
call fcn.14000ee80
lea rdi, [0x14014f0f0]
mov rdx, rdi
lea r8, [0x14014f168]
call fcn.14000dbc0
lea r8, [0x14014f180]
lea rdx, [0x14014f108]
call fcn.14000dbc0
lea r8, [0x14014f198]
lea rdx, [0x14014f120]
call fcn.14000dbc0
lea r8, [0x14014f1b0]
lea rdx, [0x14014f138]
call fcn.14000dbc0
lea r8, [0x14014f1c8]
lea rdx, [0x14014f150]
call fcn.14000dbc0
lea rbx, [0x14014dfc0]
mov qword [0x14014f5f0], rdi
mov rcx, rbx
call fcn.140046740
call fcn.1400377f0
call fcn.140062af0
call fcn.140075f50
lea rax, [0x14014c0b0]
mov qword [0x14014e830], rdi
mov qword [0x14014eb60], rax
mov edx, 0x68
lea rax, [0x14014c200]
mov qword [0x14014e908], rbx
mov qword [0x14014edb0], rax
mov rcx, r15
lea rax, [0x14014f6a0]
mov qword [0x14014d740], r15
mov qword [0x14014eea8], rax
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x50], r13
mov dword [rbp - 0x60], 0x50
mov qword [rbp - 0x30], 5
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x69
mov rcx, r15
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rbx, str.GM_OCRE_main_window_class
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x60]
lea rax, [0x14009b620]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x28], 0x65
mov dword [rbp - 0x5c], 3
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x14009b476
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Window_Class_Failed
lea rdx, str.Window_class_creation_failed_r_n
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rsp + 0x60]
lea rcx, [0x14014fa18]
call fcn.14008f280
mov r9d, 5
lea r8, str.OCRE
mov rcx, rax
call fcn.140016440
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], recv
mov byte [rax], r13b
call fcn.140002da0
cmp qword [rbp + 0x28], 0x10
lea r8, [rbp + 0x10]
mov qword [rsp + 0x58], r13
mov r9d, 0xa0108
cmovae r8, qword [rbp + 0x10]
mov rdx, rbx
mov qword [rsp + 0x50], r15
xor ecx, ecx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0xff
mov dword [rsp + 0x30], 0x118
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14014d748], rax
test rax, rax
jne 0x14009b553
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Window_Creation_Failed
lea rdx, str.Window_creation_failed_r_n
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [0x14014d748]
mov edx, r12d
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14014d748]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea rdx, [r9 - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
xorps xmm0, xmm0
lea rcx, [rbp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14009b5da
nop dword [rax]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rbp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x14009b5b0
lea rcx, [rbp + 0x10]
call fcn.140002da0
lea rcx, [rbp - 0x10]
call fcn.140002da0
xor eax, eax
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400b5c60
mov rbx, qword [rsp + 0x458]
add rsp, 0x420
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1400021c0
int3