Function at 0x10000cb84
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x10001f190]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x100024c60], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x100024c68], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x100024c70], rax
xor ebx, ebx
mov dword [0x100024c80], ebx
mov byte [0x100027008], bl
mov byte [0x100027050], bl
mov byte [0x100024c20], bl
mov byte [0x100026f18], bl
mov byte [0x100027038], bl
mov dword [0x10002700c], ebx
mov byte [0x100027018], bl
mov qword [0x100024c48], rbx
xor eax, eax
mov qword [0x100027020], rax
mov dword [0x100027028], eax
xor edx, edx
lea r8d, [rbx + 0x68]
lea rdi, [0x100026fa0]
mov rcx, rdi
call sub.msvcrt.dll_memset
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov ecx, 2
lea rdx, [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x10000ce71
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
mov rax, qword [0x100027010]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [0x10000c8ac]
mov qword [rsp + 0x38], rax
lea rax, str.IrmonClass
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassW]
lea r9, [0x100026fc8]
lea r8, [0x10000c87c]
lea rdx, [0x10000c88c]
mov rcx, rdi
call fcn.10000defc
cmp eax, ebx
je 0x10000ce71
mov byte [0x100027050], bl
mov rcx, rdi
call fcn.10000c514
cmp byte [0x100027050], bl
jne 0x10000ce31
mov dword [rsp + 0x20], 2
mov r9d, 0x5ff
or r8d, 0xffffffff
lea rdx, [0x100024c60]
mov ecx, 3
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp eax, ebx
je 0x10000ce1e
sub eax, 1
je 0x10000ce08
sub eax, 1
je 0x10000cdd8
cmp eax, 0xbe
je 0x10000ce25
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebx
je 0x10000ce25
cmp dword [rsp + 0x88], 0x12
je 0x10000cdcf
lea rdx, [rsp + 0x80]
mov rcx, qword [0x100026fd0]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, ebx
jne 0x10000cdab
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebx
jne 0x10000cd6c
jmp 0x10000ce25
mov byte [0x100027050], 1
jmp 0x10000ce31
cmp byte [0x100026f18], bl
je 0x10000cdea
mov rcx, rdi
call fcn.10000bdb4
jmp 0x10000ce25
cmp byte [0x100027008], bl
je 0x10000ce25
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.10000b910
jmp 0x10000ce25
cmp byte [0x100024c20], bl
je 0x10000ce25
mov rcx, qword [0x100024c68]
call fcn.10000d4c0
jmp 0x10000ce25
mov byte [0x100027050], 1
cmp byte [0x100027050], bl
je 0x10000ccfd
cmp byte [0x100024c20], bl
je 0x10000ce41
mov rcx, rdi
call fcn.10000c794
mov rcx, qword [0x100026fc8]
call fcn.10000ec6c
neg eax
sbb dl, dl
and dl, byte [0x100027050]
mov byte [0x100027050], dl
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.10000b910
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x10000ce7c
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.100019220
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret