joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180146650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
and eax, 7
test eax, eax
je 0x180146681
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
and eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.18014c570
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jle 0x1801466dc
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
and eax, 0xff
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
shr eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
sub eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x10], eax
jmp 0x180146689
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jge 0x1801466f8
lea rcx, str.zlib_corrupt
call fcn.18013cc30
jmp 0x18014683c
cmp dword [rsp + 0x20], 4
jge 0x18014671e
mov rcx, qword [rsp + 0x50]
call fcn.18014c320
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1801466f8
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 0
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x28]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
xor eax, 0xffff
cmp dword [rsp + 0x2c], eax
je 0x18014678e
lea rcx, str.zlib_corrupt
call fcn.18013cc30
jmp 0x18014683c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 8]
jbe 0x1801467b7
lea rcx, str.read_past_buffer
call fcn.18013cc30
jmp 0x18014683c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 0x28]
jbe 0x1801467f0
mov r8d, dword [rsp + 0x24]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.18014c1d0
test eax, eax
jne 0x1801467f0
xor eax, eax
jmp 0x18014683c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rdx]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov eax, 1
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x18015d900
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.18020737c
add rsp, 0x28
ret

Function at 0x18015dbc0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x18026fa10]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x18015dc4e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x18015dbf2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x18015dc60
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x18026fa10]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x18015dd64
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x18015dd5f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x18015dd34
cmp qword [rsp + 0x38], 2
jb 0x18015dd34
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18015dd34
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18015dd34
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x18015dca7
jmp 0x18015ddf6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x18015ddf6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x18015ddcc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18015ddcc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18015ddcc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x18015dd64
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x18017b260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.180151d30
lea rcx, [rsp + 0x48]
call fcn.18015de10
vmovss xmm1, dword [0x18026f490]
vdivss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x34], xmm0
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x90]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
jmp 0x18017b301
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
jae 0x18017b420
mov rax, qword [rsp + 0x28]
lea r8, [rsp + 0x98]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180151d30
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1801760c0
vmovss dword [rsp + 0x30], xmm0
vmovss xmm0, dword [rsp + 0x30]
vmulss xmm0, xmm0, dword [rsp + 0x34]
vmovss xmm2, dword [0x18026f490]
vxorps xmm1, xmm1, xmm1
call fcn.18014e690
vmovss dword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0xb0]
and eax, 0xff
mov ecx, dword [rsp + 0xa8]
and ecx, 0xff
vmovss xmm2, dword [rsp + 0x20]
mov edx, eax
call fcn.1801703d0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xb0]
shr eax, 8
and eax, 0xff
mov ecx, dword [rsp + 0xa8]
shr ecx, 8
and ecx, 0xff
vmovss xmm2, dword [rsp + 0x20]
mov edx, eax
call fcn.1801703d0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [rsp + 0xa8]
shr ecx, 0x10
and ecx, 0xff
vmovss xmm2, dword [rsp + 0x20]
mov edx, eax
call fcn.1801703d0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
shl eax, 8
mov ecx, dword [rsp + 0x3c]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
shl ecx, 0x10
or eax, ecx
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
and ecx, 0xff000000
or eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x10], eax
jmp 0x18017b2f3
add rsp, 0x78
ret
Function at 0x18018b4a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.18015c750
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1803a2bd8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
vcvtsi2ss xmm1, xmm1, eax
vmovups xmm2, xmm0
lea rcx, [rsp + 0x48]
call fcn.18003d4b0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1803a2be0]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vcvtsi2ss xmm1, xmm1, qword [0x1803a2be8]
vdivss xmm0, xmm0, xmm1
mov rax, qword [rsp + 0x20]
vmovss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x40]
mov qword [0x1803a2be0], rax
mov ecx, select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18018b56d
mov dword [rsp + 0x28], 1
jmp 0x18018b575
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x140], cl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18018b5a4
mov dword [rsp + 0x2c], 1
jmp 0x18018b5ac
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x141], cl
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18018b5db
mov dword [rsp + 0x30], 1
jmp 0x18018b5e3
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x142], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x143], 0
call fcn.18018be30
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x18018b61e
mov dword [rsp + 0x34], 0xffffffff
jmp 0x18018b627
call fcn.18015c8b0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x18018b64a
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.18018bd00
call fcn.18018b670
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x78
ret
Function at 0x180195740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jne 0x180195769
vxorps xmm0, xmm0, xmm0
jmp 0x180195934
vmovss xmm0, dword [rsp + 0x80]
vucomiss xmm0, dword [0x18026f490]
jp 0x18019577e
je 0x180195793
cmp dword [rsp + 0x60], 8
je 0x18019578c
cmp dword [rsp + 0x60], 9
jne 0x180195793
mov byte [rsp + 0x20], 1
jmp 0x180195798
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jge 0x1801957c3
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.18018fc70
mov dword [rsp + 0x28], eax
jmp 0x1801957d9
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.18018fc70
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x180195910
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x24]
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x180195887
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x78]
xor ecx, ecx
call fcn.1801900b0
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x30]
idiv ecx
vcvtsi2ss xmm0, xmm0, eax
vmovss xmm1, dword [0x18026f490]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x34], xmm0
vmovss xmm0, dword [0x18026f490]
vdivss xmm0, xmm0, dword [rsp + 0x80]
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0x34]
call fcn.1801a1df0
vmovss xmm1, dword [0x18026f490]
vsubss xmm0, xmm1, xmm0
vmulss xmm0, xmm0, dword [rsp + 0x88]
jmp 0x180195934
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.180170410
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.180170410
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x38]
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x3c]
idiv ecx
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [0x18026f490]
vdivss xmm0, xmm0, dword [rsp + 0x80]
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0x40]
call fcn.1801a1df0
vmovss xmm1, dword [0x18026f490]
vsubss xmm1, xmm1, dword [rsp + 0x88]
vmulss xmm0, xmm0, xmm1
vmovss xmm1, dword [rsp + 0x88]
vaddss xmm0, xmm1, xmm0
jmp 0x180195934
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
vcvtsi2ss xmm1, xmm1, eax
vdivss xmm0, xmm0, xmm1
add rsp, 0x58
ret
Function at 0x180195940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jne 0x180195969
vxorps xmm0, xmm0, xmm0
jmp 0x180195b45
vmovss xmm0, dword [rsp + 0x80]
vucomiss xmm0, dword [0x18026f490]
jp 0x18019597e
je 0x180195993
cmp dword [rsp + 0x60], 8
je 0x18019598c
cmp dword [rsp + 0x60], 9
jne 0x180195993
mov byte [rsp + 0x20], 1
jmp 0x180195998
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jae 0x1801959c3
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.18018fcc0
mov dword [rsp + 0x28], eax
jmp 0x1801959d9
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.18018fcc0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x180195b1b
mov eax, dword [rsp + 0x24]
vcvtsi2ss xmm0, xmm0, rax
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x180195a8e
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x78]
xor ecx, ecx
call fcn.1801900e0
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
xor edx, edx
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
mov ecx, dword [rsp + 0x30]
div ecx
mov eax, eax
vcvtsi2ss xmm0, xmm0, rax
vmovss xmm1, dword [0x18026f490]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x34], xmm0
vmovss xmm0, dword [0x18026f490]
vdivss xmm0, xmm0, dword [rsp + 0x80]
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0x34]
call fcn.1801a1df0
vmovss xmm1, dword [0x18026f490]
vsubss xmm0, xmm1, xmm0
vmulss xmm0, xmm0, dword [rsp + 0x88]
jmp 0x180195b45
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.18018ffc0
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.18018ffc0
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
xor edx, edx
mov ecx, dword [rsp + 0x38]
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
div ecx
mov eax, eax
vcvtsi2ss xmm0, xmm0, rax
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [0x18026f490]
vdivss xmm0, xmm0, dword [rsp + 0x80]
vmovups xmm1, xmm0
vmovss xmm0, dword [rsp + 0x40]
call fcn.1801a1df0
vmovss xmm1, dword [0x18026f490]
vsubss xmm1, xmm1, dword [rsp + 0x88]
vmulss xmm0, xmm0, xmm1
vmovss xmm1, dword [rsp + 0x88]
vaddss xmm0, xmm1, xmm0
jmp 0x180195b45
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov eax, eax
vcvtsi2ss xmm0, xmm0, rax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov eax, eax
vcvtsi2ss xmm1, xmm1, rax
vdivss xmm0, xmm0, xmm1
add rsp, 0x58
ret
Function at 0x1801b1450
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x88]
call fcn.180019550
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x80]
call fcn.180019550
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x78]
call fcn.180019550
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1801b1be0
nop
lea rax, [0x1801b13a0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
call fcn.180021cb0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call fcn.180218ebc
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1801b151b
lea rcx, [rsp + 0x30]
call fcn.1801322b0
jmp 0x1801b1532
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1801d4ff0
nop
lea rcx, [rsp + 0x30]
call fcn.1801b3670
add rsp, 0x68
ret

Function at 0x1801b3d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x39
mov byte [rsp + 1], 0x69
mov byte [rsp + 2], 0x58
mov byte [rsp + 3], 0x4b
mov byte [rsp + 4], 0x4d
mov byte [rsp + 5], 0x40
mov byte [rsp + 6], 0x61
mov byte [rsp + 7], 0x5b
mov byte [rsp + 8], 0x56
mov byte [rsp + 9], 0x41
mov byte [rsp + 0xa], 0x75
mov byte [rsp + 0xb], 0x50
mov byte [rsp + 0xc], 0x4f
mov byte [rsp + 0xd], 0x5c
mov byte [rsp + 0xe], reloc.WS2_32.dll_socket
mov byte [rsp + 0xf], 0x5d
mov byte [rsp + 0x10], 0x55
mov byte [rsp + 0x11], 0x55
mov byte [rsp + 0x12], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_send
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1801b4a20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1801b4cc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.Started_PlayerlistThread__n
call fcn.1801b61e0
add rsp, 0x38
ret
Function at 0x1801b6300
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x30], 0xfffffffe
mov rax, qword [rsp + 0x50]
inc rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1801b6376
lea rcx, str._Time_expired_
call fcn.1801b61e0
mov dword [rsp + 0x30], 0xfffffffe
jmp 0x1801b63a3
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x1801b63a3
mov dword [rsp + 0x30], 0xfffffffe
cmp dword [rsp + 0x30], 0xffffffff
jne 0x1801b63b2
mov dword [rsp + 0x30], 0xfffffffe
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1801b6d50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1801b6e80
cmp dword [rsp + 0x30], 1
je 0x1801b6d81
jmp 0x1801b6f6c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
movzx eax, byte [0x18038eed8]
test eax, eax
je 0x1801b6dd9
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call fcn.180206470
mov r8, rax
lea rdx, [0x180274e20]
lea rcx, [0x180274e28]
call fcn.180218d28
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x40], rax
lea rcx, str._Console__Init_n
call fcn.18012ee90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1801b9150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1801b8360]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str._Main__Init_n
call fcn.18012ee90
call fcn.1801b9da0
test eax, eax
je 0x1801b6e44
lea rcx, str._Main__MH_INIT_error_n
call fcn.18012ee90
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x1800b26e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1801b4a20
jmp 0x1801b6f6c
cmp qword [0x18038f728], 0
je 0x1801b6eae
mov r8, qword [0x18038f728]
mov edx, 0xfffffffc
mov rcx, qword [0x18038f720]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18038f728], 0
xor ecx, ecx
call fcn.1801ba3f0
call fcn.1801b9e20
call fcn.18015c750
mov rcx, qword [rax + 0xa0]
call fcn.180175230
cmp qword [0x18038f710], 0
je 0x1801b6f00
call fcn.18018b180
xor ecx, ecx
call fcn.180159540
mov rax, qword [0x18038f710]
mov rax, qword [rax]
mov rcx, qword [0x18038f710]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x18038f710], 0
cmp qword [0x18038f708], 0
je 0x1801b6f29
mov rax, qword [0x18038f708]
mov rax, qword [rax]
mov rcx, qword [0x18038f708]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x18038f708], 0
cmp qword [0x18038f700], 0
je 0x1801b6f52
mov rax, qword [0x18038f700]
mov rax, qword [rax]
mov rcx, qword [0x18038f700]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x18038f700], 0
lea rcx, str._MAIN__DLL_PROCESS_DETACH_n
call fcn.18012ee90
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 1
add rsp, 0x58
ret