Function at 0x140047cfc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14029fd68]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x30], rcx
mov rbx, rcx
mov qword [rdx], r12
test rcx, rcx
je 0x140047fdf
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], 0x790053
xor edx, edx
mov dword [rbp - 0x1c], 0x740073
lea rcx, [rbp - 0x38]
mov dword [rbp - 0x18], 0x6d0065
mov dword [rbp - 0x14], 0x6f0052
mov dword [rbp - 0x10], 0x74006f
mov word [rbp - 0xc], r12w
mov qword [rbp - 0x38], r12
call fcn.140036c2c
test eax, eax
je 0x140047d8f
cmp eax, 0x16
je 0x140048005
call fcn.1400371cc
mov ebx, dword [rax]
jmp 0x140047eea
mov rax, qword [rbp - 0x38]
or rsi, 0xffffffffffffffff
test rax, rax
je 0x140047daf
mov r15, rsi
inc r15
cmp word [rax + r15*2], r12w
jne 0x140047d9f
add r15, 0xc
jmp 0x140047db5
mov r15d, reloc.WS2_32.dll_inet_addr
mov r13d, 2
cmp qword [rbx], r12
je 0x140047de2
mov rcx, rbx
mov rdx, qword [rcx]
mov rax, rsi
lea rcx, [rcx + 8]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140047dcd
inc r13
add r13, rax
cmp qword [rcx], r12
jne 0x140047dc3
call fcn.140044710
xor ecx, ecx
mov rdi, rax
test rax, rax
jne 0x140047dfe
call fcn.140036280
lea ebx, [rdi + 0x16]
jmp 0x140047eea
mov dx, 0x3d
mov r12, rdi
cmp word [rax], dx
je 0x140047e26
mov rax, rsi
inc rax
cmp word [r12 + rax*2], cx
jne 0x140047e0d
lea r12, [r12 + rax*2]
add r12, 2
cmp word [r12], dx
jne 0x140047e0a
mov r14, r12
cmp word [r14 + 2], cx
je 0x140047e5b
cmp word [r14 + 4], 0x3a
jne 0x140047e5b
cmp word [r14 + 6], dx
jne 0x140047e5b
mov rax, rsi
inc rax
cmp word [r14 + rax*2 + 8], cx
jne 0x140047e42
lea r14, [r14 + rax*2]
add r14, 0xa
cmp word [r14], dx
je 0x140047e29
mov rax, qword [rbx]
sub r14, r12
sar r14, 1
mov rsi, rbx
jmp 0x140047e94
lea rdx, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], cx
jne 0x140047e71
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14004baa8
xor ecx, ecx
test eax, eax
je 0x140047e9b
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x140047e69
jmp 0x140047e9d
mov cl, 1
lea rax, [r14 + r13]
mov byte [rbp - 0x40], cl
test cl, cl
lea r13, [rax + r15]
mov edx, 2
cmovne r13, rax
mov rcx, r13
call fcn.1400396e8
mov rbx, rax
test rax, rax
jne 0x140047efa
lea ecx, [rax + 0xe]
call fcn.140037140
call fcn.1400371cc
xor ecx, ecx
mov dword [rax], InitCommonControls
call fcn.140036280
mov rcx, rdi
call fcn.140036280
mov ebx, ntohs
mov rcx, qword [rbp - 0x38]
call fcn.140036280
mov eax, ebx
jmp 0x140047fe1
mov rsi, rbx
test r14, r14
je 0x140047f1a
lea rsi, [r14 + r14]
mov rdx, r12
mov r8, rsi
mov rcx, rbx
call fcn.140052f00
add rsi, rbx
sub r13, r14
mov r14, qword [rbp - 0x30]
xor r12d, r12d
jmp 0x140047f58
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.14003c7c0
test eax, eax
jne 0x140048005
mov rcx, qword [r14]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140047f40
inc rax
sub r13, rax
add r14, 8
lea rsi, [rsi + rax*2]
mov rax, qword [r14]
test rax, rax
jne 0x140047f23
cmp byte [rbp - 0x40], r12b
jne 0x140047faf
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, rsi
call fcn.14003c7c0
test eax, eax
jne 0x140048005
lea r8, [0x14020bef8]
mov rdx, r15
mov rcx, rsi
call fcn.14003ca94
test eax, eax
jne 0x140048005
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140047fab
mov rdx, r15
mov rcx, rsi
call fcn.14003ca94
test eax, eax
jne 0x140048005
lea rsi, [rsi + r15*2]
cmp rsi, rbx
jne 0x140047fbc
mov word [rsi], r12w
add rsi, 2
mov rax, qword [rbp - 0x28]
xor ecx, ecx
mov word [rsi], r12w
mov qword [rax], rbx
call fcn.140036280
mov rcx, rdi
call fcn.140036280
mov rcx, qword [rbp - 0x38]
call fcn.140036280
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14017f910
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140038e78
int3