Function at 0x140003cb0
Capabilities:
Execute command

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov r12d, ecx
mov eax, dword [0x1402b5b40]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1402b5b44], 0xa
setl cl
or cl, al
nop word cs:[rax + rax]
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rbx, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov r14, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rsi, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rdi, rsp
test cl, cl
je 0x140003d00
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov r13, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov qword [rbp - 0x30], rsp
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.140238890
sub rsp, rax
mov qword [rbp - 0x20], rsp
nop word cs:[rax + rax]
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov r15, rsp
mov dword [rbx], r12d
mov dword [r14], 0x5c2d2f7c
sub rsp, 0x20
mov rcx, rsi
call fcn.140004780
add rsp, 0x20
mov ecx, dword [0x1402b5b40]
mov eax, dword [0x1402b5b44]
lea edx, [rcx + 1]
imul edx, ecx
mov r8d, edx
xor r8d, 0xfffffffe
test r8d, edx
sete dl
cmp eax, 0xa
setl r8b
test r8b, dl
jne 0x140003dec
xor r8b, dl
jne 0x140003dec
sub rsp, 0x20
mov rcx, rsi
call fcn.140004780
add rsp, 0x20
jmp 0x140003d80
xor edx, edx
mov qword [rbp - 0x28], rdx
mov r12, qword [rbp - 0x30]
mov qword [rbp - 0x38], rsi
jmp 0x140003e0b
cmp qword [rbp - 0x40], 2
jg 0x1400046f2
lea edx, [rcx + 1]
imul edx, ecx
mov ecx, edx
xor ecx, 0xfffffffe
test ecx, edx
sete dl
setne cl
cmp eax, 0xa
setl r8b
setge al
cmp r8b, dl
jne 0x140003e35
or al, cl
jne 0x1400046e0
sub rsp, 0x20
mov rcx, rdi
call fcn.140004780
add rsp, 0x20
mov ecx, dword [0x1402b5b40]
lea eax, [rcx + 1]
imul eax, ecx
test al, 1
sete dl
cmp dword [0x1402b5b44], 0xa
setge cl
setl r8b
xor r8b, dl
jne 0x140003eb0
or cl, al
test cl, 1
je 0x140003eb0
sub rsp, 0x20
mov rcx, rdi
call fcn.140004780
mov rcx, rdi
call fcn.140004780
add rsp, 0x20
mov eax, dword [0x1402b5b40]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x1402b5b44], 0xa
setl cl
test cl, al
jne 0x140003eb0
xor cl, al
je 0x140003e70
mov eax, 0xb16dce7e
nop word cs:[rax + rax]
cmp eax, 0x62c10256
je 0x140003f50
cmp eax, 0xb16dce7e
jne 0x140003ec0
mov rax, qword [rsi]
mov ecx, 0xd6660d4e
nop word [rax + rax]
cmp ecx, 0x8d1fc230
je 0x140003efb
cmp ecx, 0xd6660d4e
jne 0x140003ee0
mov qword [rbp - 8], rax
mov ecx, 0x8d1fc230
jmp 0x140003ee0
mov rax, qword [rdi]
mov ecx, 0xd6660d4e
nop word cs:[rax + rax]
cmp ecx, 0x8d1fc230
je 0x140003f2b
cmp ecx, 0xd6660d4e
jne 0x140003f10
mov qword [rbp - 0x10], rax
mov ecx, 0x8d1fc230
jmp 0x140003f10
sub rsp, 0x20
mov rcx, r12
lea rdx, [rbp - 0x10]
lea r8, [rbp - 8]
call fcn.1400b6f90
add rsp, 0x20
mov eax, 0x62c10256
jmp 0x140003ec0
sub rsp, 0x20
mov rcx, r13
mov rdx, r12
call fcn.140004a20
add rsp, 0x20
mov eax, dword [0x1402b5b48]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1402b5b4c], 0xa
setl cl
or cl, al
mov eax, 0x25d4fcb5
mov ecx, 0x4feee245
cmovne eax, ecx
mov ecx, 0x25d4fcb5
mov edx, 0xecc61dff
cmovne ecx, edx
mov edx, 0x9a501c60
nop word cs:[rax + rax]
cmp edx, 0x25d4fcb4
jle 0x140003fe0
cmp edx, 0x25d4fcb5
je 0x140003fff
cmp edx, 0x3227ada3
je 0x14000400a
cmp edx, 0x4feee245
jne 0x140003fb0
jmp 0x140004020
cmp edx, 0x9a501c60
je 0x14000400e
cmp edx, 0xecc61dff
jne 0x140003fb0
mov rdx, qword [rbp - 0x10]
mov rdx, qword [rdx]
mov qword [rbp - 8], rdx
mov edx, eax
jmp 0x140003fb0
mov rdx, qword [rbp - 0x10]
mov edx, 0xecc61dff
jmp 0x140003fb0
mov edx, ecx
jmp 0x140003fb0
mov qword [rbp - 0x10], r13
mov edx, 0x3227ada3
jmp 0x140003fb0
mov rax, qword [rbp - 8]
mov qword [rbp - 0x40], rax
cmp rax, 3
jl 0x140004070
mov eax, dword [0x1402b5b40]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
setne al
sete dl
cmp dword [0x1402b5b44], 0xa
setge cl
setl r8b
xor r8b, dl
jne 0x140004190
or cl, al
jne 0x1400041d7
jmp 0x140004190
mov r12, r13
sub rsp, 0x20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002b10
add rsp, 0x20
mov r13, rax
sub rsp, 0x20
mov rsi, rbx
mov rbx, r14
mov r14, r15
mov r15, qword [rbp - 0x20]
mov rcx, r15
call section..text
add rsp, 0x20
sub rsp, 0x20
mov rcx, r13
mov rdx, r15
mov r15, r14
mov r14, rbx
mov rbx, rsi
call fcn.140002980
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call fcn.140002e40
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
lea rdx, str._Connecting_Server...
call fcn.140002110
add rsp, 0x20
mov edx, dword [0x1402b5b40]
lea ecx, [rdx + 1]
imul ecx, edx
test cl, 1
sete r8b
cmp dword [0x1402b5b44], 0xa
setge dl
setl r9b
xor r9b, r8b
jne 0x14000411b
or dl, cl
test dl, 1
jne 0x1400046f0
sub rsp, 0x20
mov rcx, rax
call fcn.140003350
add rsp, 0x20
movsxd rcx, dword [rbp - 0x28]
movzx edx, byte [r14 + rcx]
sub rsp, 0x20
mov rcx, rax
call fcn.140004df0
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call fcn.140003850
add rsp, 0x20
mov eax, dword [0x1402b5b40]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x1402b5b44], 0xa
setl cl
test cl, al
mov r13, r12
mov r12, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
jne 0x140004414
xor cl, al
je 0x1400041f0
jmp 0x140004414
sub rsp, 0x20
lea rcx, [0x14029b715]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x20
mov ecx, dword [0x1402b5b40]
mov eax, dword [0x1402b5b44]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
sete r8b
cmp eax, 0xa
setl r9b
test r9b, r8b
jne 0x1400046a6
xor r9b, r8b
jne 0x1400046a6
sub rsp, 0x20
lea rcx, [0x14029b715]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x20
jmp 0x140004190
mov eax, 0x8e514f33
jmp 0x140004200
mov eax, 0xe9738f9d
nop dword [rax]
cmp eax, 0xe9738f9d
je 0x140004370
cmp eax, 0x8e514f33
jne 0x140004200
sub rsp, 0x20
mov rcx, qword [rbp - 0x20]
call fcn.1400e2980
add rsp, 0x20
mov eax, dword [0x1402b5af0]
mov ecx, dword [0x1402b5af4]
lea edx, [rax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [rbp - 0x18]
cmp ecx, 0xa
setl byte [rbp - 0x10]
mov eax, 0xc7dc8da9
nop dword [rax]
cmp eax, 0x354e3b8b
jg 0x1400042a0
cmp eax, 0xa1dae94d
je 0x1400042e7
cmp eax, 0xb5ee369a
je 0x1400042f1
cmp eax, 0xc7dc8da9
jne 0x140004250
movzx ecx, byte [rbp - 0x18]
movzx eax, byte [rbp - 0x10]
mov edx, ecx
xor dl, al
mov edx, 0xb5ee369a
mov r8d, 0x559d78c6
cmovne edx, r8d
test al, al
mov eax, edx
cmovne eax, r8d
test cl, cl
cmove eax, edx
jmp 0x140004250
cmp eax, 0x354e3b8c
je 0x1400041f7
cmp eax, 0x559d78c6
je 0x1400042fb
cmp eax, 0x66202512
jne 0x140004250
mov eax, 0x51eaacfe
mov rcx, qword [rbp - 8]
nop word cs:[rax + rax]
cmp eax, 0x51eaacfe
je 0x1400042e0
cmp eax, 0x89bfb55a
jne 0x1400042d0
jmp 0x14000434f
mov eax, 0x89bfb55a
jmp 0x1400042d0
mov eax, 0x66202512
jmp 0x140004250
mov eax, 0x559d78c6
jmp 0x140004250
mov eax, dword [0x1402b5af0]
mov ecx, dword [0x1402b5af4]
lea edx, [rax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl r9b
xor r9b, r8b
mov r8d, 0xb5ee369a
mov r9d, 0xa1dae94d
cmovne r8d, r9d
test eax, edx
mov eax, r8d
cmove eax, r9d
cmp ecx, 0xa
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 8], rcx
cmovge eax, r8d
jmp 0x140004250
sub rsp, 0x20
call fcn.1400c0b30
add rsp, 0x20
mov eax, 0x354e3b8c
jmp 0x140004250
mov eax, 0x6391ecc1
nop word cs:[rax + rax]
cmp eax, 0x3b5b688d
je 0x1400043a0
cmp eax, 0x6391ecc1
jne 0x140004380
mov qword [rbp - 0x18], r15
mov eax, 0x3b5b688d
mov rcx, qword [rbp - 0x18]
jmp 0x140004380
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rbx
mov rax, qword [rbp - 8]
movsxd rax, dword [rax]
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
mov rax, qword [rbp - 0x18]
mov eax, 0x6d42a49b
nop
cmp eax, 0xc8dba27e
je 0x1400043f0
cmp eax, 0x6d42a49b
jne 0x1400043c0
sub rsp, 0x20
lea rcx, [rbp - 8]
mov rdx, r15
call fcn.1400e8580
add rsp, 0x20
mov eax, 0xc8dba27e
jmp 0x1400043c0
sub rsp, 0x20
lea rcx, [rbp - 8]
call fcn.1400e7d70
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14029bfca]
call fcn.140002110
add rsp, 0x20
mov eax, 0x8e514f33
nop dword [rax]
cmp eax, 0xe9738f9d
je 0x1400045a0
cmp eax, 0x8e514f33
jne 0x140004420
sub rsp, 0x20
mov rcx, qword [rbp - 0x20]
call fcn.1400e2980
add rsp, 0x20
mov eax, dword [0x1402b5af0]
mov ecx, dword [0x1402b5af4]
lea edx, [rax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [rbp - 0x18]
cmp ecx, 0xa
setl byte [rbp - 0x10]
mov eax, 0xc7dc8da9
nop dword [rax]
cmp eax, 0x354e3b8b
jg 0x1400044d0
cmp eax, 0xa1dae94d
je 0x140004517
cmp eax, 0xb5ee369a
je 0x140004521
cmp eax, 0xc7dc8da9
jne 0x140004470
movzx ecx, byte [rbp - 0x18]
movzx eax, byte [rbp - 0x10]
mov edx, eax
xor dl, cl
test al, al
mov eax, 0xb5ee369a
mov r8d, 0x559d78c6
cmovne eax, r8d
test cl, cl
mov ecx, 0xb5ee369a
cmove eax, ecx
test dl, dl
cmovne eax, r8d
jmp 0x140004470
cmp eax, 0x354e3b8c
je 0x140004596
cmp eax, 0x559d78c6
je 0x14000452b
cmp eax, 0x66202512
jne 0x140004470
mov eax, 0x51eaacfe
mov rcx, qword [rbp - 8]
nop word cs:[rax + rax]
cmp eax, 0x51eaacfe
je 0x140004510
cmp eax, 0x89bfb55a
jne 0x140004500
jmp 0x14000457f
mov eax, 0x89bfb55a
jmp 0x140004500
mov eax, 0x66202512
jmp 0x140004470
mov eax, 0x559d78c6
jmp 0x140004470
mov eax, dword [0x1402b5af0]
mov ecx, dword [0x1402b5af4]
lea edx, [rax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl r9b
xor r9b, r8b
mov r8d, 0xb5ee369a
mov r9d, 0xa1dae94d
cmovne r8d, r9d
test eax, edx
mov eax, r8d
cmove eax, r9d
cmp ecx, 0xa
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 8], rcx
cmovge eax, r8d
jmp 0x140004470
sub rsp, 0x20
call fcn.1400c0b30
add rsp, 0x20
mov eax, 0x354e3b8c
jmp 0x140004470
mov eax, 0xe9738f9d
jmp 0x140004420
mov eax, 0x6391ecc1
nop word cs:[rax + rax]
cmp eax, 0x3b5b688d
je 0x1400045d0
cmp eax, 0x6391ecc1
jne 0x1400045b0
mov qword [rbp - 0x18], r15
mov eax, 0x3b5b688d
mov rcx, qword [rbp - 0x18]
jmp 0x1400045b0
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rbx
mov rax, qword [rbp - 8]
movsxd rax, dword [rax]
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
mov rax, qword [rbp - 0x18]
mov eax, 0x6d42a49b
nop
cmp eax, 0xc8dba27e
je 0x140004620
cmp eax, 0x6d42a49b
jne 0x1400045f0
sub rsp, 0x20
lea rcx, [rbp - 8]
mov rdx, r15
call fcn.1400e8580
add rsp, 0x20
mov eax, 0xc8dba27e
jmp 0x1400045f0
sub rsp, 0x20
lea rcx, [rbp - 8]
call fcn.1400e7d70
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14029bfca]
call fcn.140002110
add rsp, 0x20
mov ecx, dword [0x1402b5b40]
mov eax, dword [0x1402b5b44]
lea r8d, [rcx + 1]
imul r8d, ecx
mov edx, r8d
xor edx, 0xfffffffe
and edx, r8d
sete r10b
setne r8b
cmp eax, 0xa
setl r11b
setge r9b
cmp r11b, r10b
jne 0x140004682
or r9b, r8b
jne 0x1400041f0
mov r10, qword [rbp - 0x28]
lea r8d, [r10 + 1]
lea r9d, [r10 + 4]
test r8d, r8d
cmovns r9d, r8d
and r9d, 0xfffffffc
neg r9d
add r10d, r9d
inc r10d
mov qword [rbp - 0x28], r10
test edx, edx
setne dl
sete r9b
cmp eax, 0xa
setge r8b
setl r10b
xor r10b, r9b
jne 0x140003e00
or r8b, dl
je 0x140003e00
nop dword [rax]
jmp 0x1400046d0
jmp 0x1400046e0
jmp 0x1400046f0
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret