Function at 0x580bd0
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
lea rax, [0x005825fc]
xor rax, 0x14751219
mov qword [0x008669f8], rax
lea rcx, str.88.77.66.55
call qword [sym.imp.WS2_32.dll_inet_addr]
xor ebp, ebp
lea r13d, [rbp + 1]
cmp eax, 0x584d4237
jne 0x580c1f
mov byte [reloc.WS2_32.dll_accept], bpl
jmp 0x580c31
cmp eax, 0x37424d58
jne 0x581594
mov byte [reloc.WS2_32.dll_accept], r13b
call fcn.00588800
mov rcx, qword [0x00862c90]
cmp rcx, rbp
je 0x580c4a
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, reloc.WS2_32.dll_recv
call fcn.006a494c
mov rbx, rax
cmp rax, rbp
je 0x580c74
lea rax, [0x007b3778]
mov qword [rbx], rax
mov byte [rbx + 8], bpl
mov rcx, rbx
call fcn.0057c584
jmp 0x580c77
mov rbx, rbp
mov qword [0x00862c90], rbx
mov rcx, qword [0x00862cb8]
cmp rcx, rbp
je 0x580c92
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x6408
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x580cb3
mov rcx, rax
call fcn.00601bf0
jmp 0x580cb6
mov rax, rbp
mov qword [0x00862cb8], rax
mov rcx, qword [0x00862cd0]
cmp rcx, rbp
je 0x580cd1
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0xd8
call fcn.006a494c
cmp rax, rbp
je 0x580cea
mov rcx, rax
call fcn.0063f3e4
jmp 0x580ced
mov rax, rbp
mov qword [0x00862cd0], rax
mov rcx, qword [0x00862d30]
cmp rcx, rbp
je 0x580d08
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x68
call fcn.006a494c
mov rbx, rax
cmp rax, rbp
je 0x580d83
lea rax, [0x007bfae8]
mov qword [rbx], rax
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [0x007b5218]
mov qword [rbx + 0x48], rax
or qword [rbx + 0x58], 0xffffffffffffffff
lea rax, [0x007b3668]
mov qword [rbx], rax
lea rax, [0x007b3670]
mov qword [rbx + 0x48], rax
lea rax, [0x007b3678]
mov qword [rbx + 0x50], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rbx + 0x60], rax
jmp 0x580d86
mov rbx, rbp
mov qword [0x00862d30], rbx
mov rcx, qword [0x008bb648]
cmp rcx, rbp
je 0x580da1
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, gethostname
call fcn.006a494c
mov rbx, rax
cmp rax, rbp
je 0x580dcd
lea rax, [0x007b3788]
mov qword [rbx], rax
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rbx + 0x30], rbp
jmp 0x580dd0
mov rbx, rbp
mov qword [0x008bb648], rbx
mov rcx, qword [0x00862df0]
cmp rcx, rbp
je 0x580deb
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x3a8
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x580e0c
mov rcx, rax
call fcn.005f5d28
jmp 0x580e0f
mov rax, rbp
mov qword [0x00862df0], rax
mov rcx, qword [0x00862d18]
cmp rcx, rbp
je 0x580e2a
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x320
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x580e4b
mov rcx, rax
call fcn.00582674
jmp 0x580e4e
mov rax, rbp
mov qword [0x00862d18], rax
mov rcx, qword [0x008bb630]
cmp rcx, rbp
je 0x580e69
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, reloc.WS2_32.dll_recv
call fcn.006a494c
cmp rax, rbp
je 0x580e88
lea rcx, [0x007b3778]
mov qword [rax], rcx
mov byte [rax + 8], bpl
jmp 0x580e8b
mov rax, rbp
mov qword [0x008bb630], rax
mov rcx, qword [0x008bb638]
cmp rcx, rbp
je 0x580ea6
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov edi, 0xf8
mov rcx, rdi
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x580eca
mov rcx, rax
call fcn.00630100
jmp 0x580ecd
mov rax, rbp
mov qword [0x008bb638], rax
mov rcx, qword [0x00862cc0]
cmp rcx, rbp
je 0x580ee8
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 8
call fcn.006a494c
cmp rax, rbp
je 0x580f03
lea rcx, [0x007b3778]
mov qword [rax], rcx
jmp 0x580f06
mov rax, rbp
mov qword [0x00862cc0], rax
mov rcx, qword [0x00862cc8]
cmp rcx, rbp
je 0x580f21
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x50
call fcn.006a494c
mov rbx, rax
cmp rax, rbp
je 0x580f75
lea rax, [0x007b3778]
mov qword [rbx], rax
lea rax, [0x007bfae8]
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r11, [0x007b3720]
mov qword [rbx], r11
lea rax, [0x007b3728]
mov qword [rbx + 8], rax
jmp 0x580f78
mov rbx, rbp
mov qword [0x00862cc8], rbx
mov rcx, qword [0x00862ce0]
cmp rcx, rbp
je 0x580f93
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x130
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x580fb4
mov rcx, rax
call fcn.005b9794
jmp 0x580fb7
mov rax, rbp
mov qword [0x00862ce0], rax
mov rcx, qword [0x00862ca0]
cmp rcx, rbp
je 0x580fd2
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x348
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x580ff3
mov rcx, rax
call fcn.0059cec0
jmp 0x580ff6
mov rax, rbp
mov qword [0x00862ca0], rax
mov rcx, qword [0x00862c98]
cmp rcx, rbp
je 0x581011
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x310
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x581032
mov rcx, rax
call fcn.005bfe9c
jmp 0x581035
mov rax, rbp
mov qword [0x00862c98], rax
mov rcx, qword [0x008bb550]
cmp rcx, rbp
je 0x581050
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x358
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x581071
mov rcx, rax
call fcn.00625140
jmp 0x581074
mov rax, rbp
mov qword [0x008bb550], rax
mov rcx, qword [0x008bb608]
cmp rcx, rbp
je 0x58108f
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0xe0
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x5810b0
mov rcx, rax
call fcn.00628c1c
jmp 0x5810b3
mov rax, rbp
mov qword [0x008bb608], rax
mov rcx, qword [0x00862ce8]
cmp rcx, rbp
je 0x5810ce
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x1d0
call fcn.006a494c
cmp rax, rbp
je 0x5810ee
mov rcx, rax
call fcn.005cf56c
mov qword [0x00862ce8], rax
jmp 0x5810f5
mov qword [0x00862ce8], rbp
mov rcx, qword [0x00862cf0]
cmp rcx, rbp
je 0x581109
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x630
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x58112a
mov rcx, rax
call fcn.005a53cc
jmp 0x58112d
mov rax, rbp
mov qword [0x00862cf0], rax
mov rcx, qword [0x00862dd8]
cmp rcx, rbp
je 0x581148
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov rcx, rdi
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x581167
mov rcx, rax
call fcn.005e44c0
jmp 0x58116a
mov rax, rbp
mov qword [0x00862dd8], rax
mov rcx, qword [0x00862c88]
cmp rcx, rbp
je 0x581185
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x138
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x5811a6
mov rcx, rax
call fcn.005828c0
jmp 0x5811a9
mov rax, rbp
mov qword [0x00862c88], rax
mov rcx, qword [0x00862d40]
cmp rcx, rbp
je 0x5811c4
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov rcx, rdi
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x5811e3
mov rcx, rax
call fcn.005e1e2c
jmp 0x5811e6
mov rax, rbp
mov qword [0x00862d40], rax
mov rcx, qword [0x00862ca8]
cmp rcx, rbp
je 0x581201
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, gethostbyname
call fcn.006a494c
mov rbx, rax
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x581240
lea rax, [0x007b3780]
mov qword [rbx], rax
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov rcx, rbx
call fcn.00583bf0
nop
jmp 0x581243
mov rbx, rbp
mov qword [0x00862ca8], rbx
mov rcx, qword [0x008bb548]
cmp rcx, rbp
je 0x58125e
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, WSAStartup
call fcn.006a494c
mov rdi, rax
mov qword [rsp + 0x88], rax
lea r14, [0x00795c28]
cmp rax, rbp
je 0x5812e3
mov qword [rax + 8], r14
lea rax, [0x007b37e0]
mov qword [rdi], rax
lea rax, [0x007b37e8]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rcx, [rdi + 0x38]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x80]
xor edx, edx
call fcn.004a4de8
nop
mov rcx, qword [0x00862cb8]
add rcx, 8
lea rdx, [rdi + 8]
call fcn.004063e8
nop
jmp 0x5812e6
mov rdi, rbp
mov qword [0x008bb548], rdi
mov rcx, qword [0x008bb618]
cmp rcx, rbp
je 0x581301
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x88
call fcn.006a494c
mov r12, rax
mov qword [rsp + 0x88], rax
cmp rax, rbp
je 0x5813cb
mov qword [rax + 8], r14
lea rax, [0x007b3800]
mov qword [r12], rax
lea rax, [0x007b3808]
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rbp
mov qword [r12 + 0x18], rbp
mov qword [r12 + 0x20], rbp
lea rax, [r12 + 0x28]
mov qword [rsp + 0x90], rax
mov qword [rax + 8], rbp
lea rdi, [rax + 0x10]
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov qword [rax + 0x28], rbp
mov dword [rax + 0x30], 0x3f800000
xor ecx, ecx
call fcn.006a3f70
lea rbx, [r13 + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.00403fe0
mov qword [rsp + 0x80], rbp
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, rdi
call fcn.00403d94
nop
lea rcx, [r12 + 0x60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov rcx, qword [0x00862cb8]
add rcx, 8
lea rdx, [r12 + 8]
call fcn.004063e8
nop
jmp 0x5813ce
mov r12, rbp
mov qword [0x008bb618], r12
mov rcx, qword [0x008bb560]
cmp rcx, rbp
je 0x5813e9
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x48
call fcn.006a494c
cmp rax, rbp
je 0x581447
mov byte [rax + 0x30], bpl
mov qword [rax + 0x38], rbp
lea rcx, [0x007bcf38]
mov qword [rax], rcx
lea rcx, [0x007bcf40]
mov qword [rax + 8], rcx
lea rcx, [0x007bcf50]
mov qword [rax + 0x10], rcx
lea rcx, [0x007bcf90]
mov qword [rax + 0x18], rcx
lea rcx, [0x007bd030]
mov qword [rax + 0x20], rcx
lea rcx, [0x007bd080]
mov qword [rax + 0x28], rcx
mov byte [rax + 0x40], bpl
jmp 0x58144a
mov rax, rbp
mov qword [0x008bb560], rax
mov rcx, qword [0x008bb610]
cmp rcx, rbp
je 0x581465
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x238
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x581486
mov rcx, rax
call fcn.0061ae44
jmp 0x581489
mov rax, rbp
mov qword [0x008bb610], rax
mov rcx, qword [0x008bb558]
cmp rcx, rbp
je 0x5814a4
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0xe8
call fcn.006a494c
mov rbx, rax
mov qword [rsp + 0x88], rax
cmp rax, rbp
je 0x58154b
lea rax, [0x007bfae8]
mov qword [rbx], rax
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rax, [0x007b3790]
mov qword [rbx], rax
lea rax, [0x007b3798]
mov qword [rbx + 0x48], rax
lea rcx, [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rcx, [rbx + 0x78]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x80]
xor edx, edx
call fcn.0051a47c
nop
lea rax, [rbx + 0xb0]
mov qword [rax + 0x20], rax
mov qword [rax + 0x28], rax
mov rax, qword [rax + 0x20]
mov byte [rax], bpl
mov qword [rbx + 0xe0], rbp
jmp 0x58154e
mov rbx, rbp
mov qword [0x008bb558], rbx
mov rcx, qword [0x008bb650]
cmp rcx, rbp
je 0x581569
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov ecx, 0x160
call fcn.006a494c
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x58158b
mov rcx, rax
call fcn.00580714
mov rbp, rax
mov qword [0x008bb650], rbp
jmp 0x5815b9
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x007951e0]
lea rdx, str.failed_to_initialize_WinSock_byte_order
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret