Function at 0x1400ac4b0
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 [0x140154010]
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 0x1400ac535
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x10]
call fcn.140002120
cmp qword [rbp + 8], 0x10
lea rbx, [rbp - 0x10]
mov rdi, qword [rbp]
cmovae rbx, qword [rbp - 0x10]
test rdi, rdi
je 0x1400ac5ec
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 rax, [rdi - 1]
mov byte [rbp + 0xbc], 1
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x60], r13b
jne 0x1400ac5e7
cmp r8, rbx
je 0x1400ac5ec
movzx eax, byte [r8 - 1]
dec r8
cmp byte [rbp + rax + 0x60], r13b
je 0x1400ac5d3
sub r8, rbx
jmp 0x1400ac5f3
mov r8, 0xffffffffffffffff
inc r8
lea rdx, [rbp - 0x10]
cmp rdi, r8
lea rcx, [rsp + 0x60]
xorps xmm0, xmm0
xorps xmm1, xmm1
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.140002120
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1400ac661
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac65c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400acb04
call fcn.1400c76e4
movups xmm1, xmmword [rsp + 0x70]
mov r9d, r13d
movups xmm0, xmmword [rsp + 0x60]
movq r10, xmm1
movups xmmword [rbp - 0x10], xmm0
mov r8, qword [rbp - 0x10]
movups xmmword [rbp], xmm1
mov rdx, qword [rbp + 8]
test r10, r10
je 0x1400ac6cc
mov rcx, r13
nop dword [rax + rax]
cmp rdx, 0x10
lea rax, [rbp - 0x10]
cmovae rax, r8
cmp byte [rcx + rax], 0x5c
jne 0x1400ac6be
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 0x1400ac690
movabs rax, 0x7fffffffffffffff
sub rax, r10
cmp rax, 0x14
jb 0x1400acb39
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.14000b490
lea rdx, [rsp + 0x60]
lea rcx, [0x1401575c0]
call fcn.14008a370
test al, al
jne 0x1400ac744
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.140009b00
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.140002120
mov r8, rbx
lea rdx, [rsp + 0x60]
call fcn.14008c2d0
mov ecx, 0x202
lea rdx, [rbp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.14000e080
call fcn.14000e330
call fcn.14000fae0
call fcn.14000ff30
call fcn.140010630
lea rdi, [0x140156e50]
mov rdx, rdi
lea r8, [0x140156ec8]
call fcn.14000f250
lea r8, [0x140156ee0]
lea rdx, [0x140156e68]
call fcn.14000f250
lea r8, [0x140156ef8]
lea rdx, [0x140156e80]
call fcn.14000f250
lea r8, [0x140156f10]
lea rdx, [0x140156e98]
call fcn.14000f250
lea r8, [0x140156f28]
lea rdx, [0x140156eb0]
call fcn.14000f250
lea rbx, [0x140155ed0]
mov qword [0x140157350], rdi
mov rcx, rbx
call fcn.140053440
call fcn.140040fc0
call fcn.140076160
lea rax, [0x1401540b0]
mov qword [0x140156680], rdi
mov qword [0x1401569b0], rax
mov edx, 0x68
lea rax, [0x140154200]
mov qword [0x140156758], rbx
mov rcx, r15
mov qword [0x140156c00], rax
mov qword [0x1401556f0], r15
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, [0x1400acb40]
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 0x1400ac8f3
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, [0x1401575a8]
call fcn.14009cf70
mov r9d, 5
lea r8, str.OCRE
mov rcx, rax
call fcn.1400186c0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x10], xmm0
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
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400ac986
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac981
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ac981
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
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 [0x1401556f8], rax
test rax, rax
jne 0x1400aca06
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 [0x1401556f8]
mov edx, r12d
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401556f8]
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 0x1400aca8a
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 0x1400aca60
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400acac1
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400acabc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400acb04
call fcn.1400c76e4
mov rdx, qword [rbp + 8]
movdqa xmm0, xmmword [0x140140e20]
mov byte [rbp + 0x10], r13b
movdqu xmmword [rbp + 0x20], xmm0
cmp rdx, 0x10
jb 0x1400acb10
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400acb0b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400acb0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
xor eax, eax
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400c7430
mov rbx, qword [rsp + 0x458]
add rsp, 0x420
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140002030
int3