Function at 0x1400148b0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp + 0x140], rax
test cl, cl
je 0x140014ac0
call fcn.140016610
mov rcx, rax
xor edi, edi
test rax, rax
setne dil
test edi, edi
jne 0x14001490c
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x54], 0x104
mov dword [rbp - 0x56], 0x6e616d6d
mov word [rbp - 0x5f], 0x5c6c
mov dword [rbp - 0x5c], 0x5c6e6570
mov word [rbp - 0x52], 0x64
mov dword [rbp - 0x68], 0x70747468
mov dword [rbp - 0x63], 0x6c656873
mov word [rbp - 0x58], 0x6f63
mov byte [rbp - 0x5d], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x64], 0x5c
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140014989
mov edx, 0x104
lea rcx, [rsp + 0x48]
call fcn.14001ba70
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
lea r8, [0x140123920]
lea rdx, [rbp - 0x68]
mov rcx, 0xffffffff80000000
call fcn.1400374a0
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140072b78
test eax, eax
js 0x140014ab5
cmp eax, dword [rbx - 0xc]
jg 0x140014ab5
mov dword [rbx - 0x10], eax
cdqe
mov byte [rax + rbx], 0
lea rcx, [rsp + 0x48]
call fcn.14001a340
mov dword [rsp + 0x68], 0x45524946
mov byte [rsp + 0x6c], 0
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 0x10], 0
jl 0x140014a1b
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014a1b
cmp eax, ebx
js 0x140014a1b
lea rdx, [rbx - 0x18]
jmp 0x140014ef2
mov dword [rbp - 0x7e], 0x454d4f52
mov byte [rbp - 0x7a], 0
mov word [rbp - 0x80], 0x4843
cmp dword [rbx - 0x10], 0
jl 0x140014a66
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014a66
cmp eax, ebx
js 0x140014a66
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014a5c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, 1
jmp 0x140014f07
mov word [rsp + 0x35], 0x45
mov byte [rsp + 0x34], 0x49
cmp dword [rbx - 0x10], 0
jl 0x140014aac
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014aac
cmp eax, ebx
js 0x140014aac
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014aa2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 3
jmp 0x140014f07
lea rdx, [rbx - 0x18]
jmp 0x140014ed3
mov ecx, 0x80070057
call fcn.14000f440
nop
call fcn.140016610
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x140014ae1
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x50], 0x104
mov dword [rbp + 0x26], 0x6f684372
mov dword [rbp - 0xe], 0x6e69575c
mov word [rbp - 0x13], 0x736f
mov word [rbp + 0xf], 0x6c72
mov word [rbp - 2], 0x6c6c
mov word [rbp - 0x20], 0x6f53
mov word [rbp - 0x16], 0x6369
mov dword [rbp - 0xa], 0x73776f64
mov dword [rbp - 0x1d], 0x72617774
mov dword [rbp + 0xa], 0x5c736e6f
mov word [rbp + 2], 0x7373
mov word [rbp - 5], 0x6853
mov dword [rbp + 0x2a], 0x656369
mov dword [rbp + 0x11], 0x6f737341
mov dword [rbp + 0x1e], 0x70747468
mov dword [rbp + 0x15], 0x74616963
mov dword [rbp + 0x19], 0x736e6f69
mov word [rbp + 5], 0x6963
mov byte [rbp - 0x14], WSAStartup
mov word [rbp - 0x11], 0x666f
mov word [rbp + 8], 0x6974
mov word [rbp], 0x415c
mov word [rbp - 0x19], 0x5c65
mov dword [rbp + 0x22], 0x6573555c
mov byte [rbp - 0xf], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 4], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 6], 0x5c
mov byte [rbp + 0xe], 0x55
mov byte [rbp - 3], 0x65
mov byte [rbp - 0x1e], 0x66
mov byte [rbp + 0x1d], 0x5c
mov byte [rbp + 7], reloc.OLEAUT32.dll_VarCyFromUI1
mov byte [rbp - 0x17], Ordinal_79
mov byte [rbp + 0x30], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x31]
call fcn.140071640
mov edx, 0x104
lea rcx, [rbp + 0x30]
call fcn.1400145d0
call fcn.140016610
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140014c01
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov word [rsp + 0x78], 0x7325
mov word [rsp + 0x7b], 0x7325
mov byte [rsp + 0x7d], 0
mov byte [rsp + 0x7a], 0x5c
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140013110
mov word [rbp - 0x75], 0x6967
mov word [rbp - 0x78], 0x7250
mov word [rbp - 0x73], 0x64
mov byte [rbp - 0x76], reloc.WS2_32.dll_WSAGetLastError
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140014c7d
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14001ba70
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
lea r8, [rbp - 0x78]
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, 0xffffffff80000003
call fcn.1400374a0
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140072b78
test eax, eax
js 0x140014ee7
cmp eax, dword [rbx - 0xc]
jg 0x140014ee7
mov dword [rbx - 0x10], eax
cdqe
mov byte [rax + rbx], 0
lea rcx, [rsp + 0x40]
call fcn.14001a340
mov word [rsp + 0x70], 0x4946
mov word [rsp + 0x73], 0x45
mov byte [rsp + 0x72], 0x52
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
jl 0x140014d30
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014d30
cmp eax, ebx
js 0x140014d30
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014d22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
jmp 0x140014ef2
mov word [rbp - 0x6b], 0x45
mov dword [rbp - 0x70], 0x4f524843
mov byte [rbp - 0x6c], Ordinal_79
cmp dword [rbx - 0x10], 0
jl 0x140014d98
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014d98
cmp eax, ebx
js 0x140014d98
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014d71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014a5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 1
jmp 0x140014f07
mov word [rsp + 0x39], 0x45
mov byte [rsp + 0x38], 0x49
cmp dword [rbx - 0x10], 0
jl 0x140014dfc
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014dfc
cmp eax, ebx
js 0x140014dfc
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014dd5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014aa2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 3
jmp 0x140014f07
mov word [rbp - 0x3b], 0x4630
mov dword [rbp - 0x35], 0x50414550
mov word [rbp - 0x2e], 0x5638
mov word [rbp - 0x46], 0x454d
mov word [rbp - 0x50], 0x5041
mov word [rbp - 0x38], 0x4151
mov word [rbp - 0x3e], 0x334e
mov dword [rbp - 0x4b], 0x56454630
mov dword [rbp - 0x43], 0x36535950
mov byte [rbp - 0x36], gethostname
mov byte [rbp - 0x39], 0x42
mov word [rbp - 0x4d], 0x5158
mov word [rbp - 0x31], 0x4b59
mov byte [rbp - 0x3c], 0x45
mov byte [rbp - 0x47], 0x5a
mov byte [rbp - 0x44], reloc.WLDAP32.dll_Ordinal_50
mov byte [rbp - 0x2f], 0x52
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x3f], reloc.WLDAP32.dll_Ordinal_50
mov byte [rbp - 0x4e], 0x50
cmp dword [rbx - 0x10], 0
jl 0x140014eb5
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400732bc
test rax, rax
je 0x140014eb5
cmp eax, ebx
js 0x140014eb5
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014e95
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014eae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 4
jmp 0x140014f07
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014eca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014ee3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
jmp 0x140014f07
mov ecx, 0x80070057
call fcn.14000f440
nop
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014f02
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 2
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret