joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180033590
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x18005cec0]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40cc], ebx
jne 0x18003362b
mov r8, r10
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.180030a60
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800336c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x18005cec0]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x180034830
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18003488d
lea rbx, [0x18005cec0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180034874
cmp r10, 2
jb 0x180034874
cmp byte [r9], r8b
jne 0x180034874
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180034850
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800348cf
lea rbx, [0x18005cec0]
cmp r8b, 0x23
jne 0x1800348b3
cmp byte [r9], r8b
jne 0x1800348b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800348a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180034b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x180000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x180034bd0
cmp rax, rdi
jae 0x180034d48
movzx r8d, byte [rax]
test r8b, r8b
je 0x180034d48
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x5dc20]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x180034c06
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x180034c1e
movzx r15d, byte [rcx]
jmp 0x180034c21
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x180034c30
movzx r14d, byte [rcx]
jmp 0x180034c33
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x180034c41
movzx ebp, byte [rcx]
jmp 0x180034c44
xor bpl, bpl
lea r10, [r9*4]
movzx ecx, sil
mov r9d, dword [r10 + r13 + 0x5dc40]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r11d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r11d
shr r11d, 2
and ecx, 0x3f
or r11d, edx
shl r9d, 6
shr r11d, 2
or r9d, ecx
mov ecx, dword [r10 + r13 + 0x5dc70]
or r11d, r8d
shr r9d, cl
shr r11d, 2
mov edx, r9d
cmp r9d, dword [r10 + r13 + 0x5dc58]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r11d, ecx
mov ecx, pe_nt_image_headers64
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r11d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r10 + r13 + 0x5dc88]
or r11d, edx
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x180034d3a
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x180034bc2
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret
Function at 0x180034dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x180034fd7
mov qword [r11 + 0x18], rbp
lea rbp, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x180034e1e
cmp r8, rsi
jae 0x180034fb4
movzx edx, byte [r8]
test dl, dl
je 0x180034fb4
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x5dc20]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x180034e52
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x180034e6b
movzx r13d, byte [rax]
jmp 0x180034e6e
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x180034e7d
movzx r12d, byte [rax]
jmp 0x180034e80
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x180034e8f
movzx r15d, byte [rax]
jmp 0x180034e92
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x5dc40]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x5dc70]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x5dc58]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, pe_nt_image_headers64
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x5dc88]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x180034f96
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x180000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x180034e10
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x180034fed
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180036d40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6148], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x180036dc2
xor edx, edx
add rcx, 0x6150
call fcn.180027e40
mov r8, rsi
lea rcx, [rbx + 0x6150]
mov rdx, rbp
call fcn.180045220
mov eax, dword [rbx + 0x6150]
xor ecx, ecx
mov r9, qword [rbx + 0x6148]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x6158]
cmove edx, ecx
test rax, rax
movsxd r8, edx
lea rcx, [0x18008e508]
cmovne rcx, rax
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x180036dce
add rcx, 0x6150
call fcn.180045220
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003fa20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18008e500]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x609c], ecx
test rbx, rbx
je 0x18003fa8d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.18003faa0
lea rdx, [0x18005e4f4]
mov rcx, rbx
mov rdi, rax
call fcn.180034300
mov rbx, rax
test rax, rax
je 0x18003fa88
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180055930
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.1800334c0
test rax, rax
je 0x18005594e
call fcn.1800338b0
mov rbx, qword [rax + 0x90]
jmp 0x180055950
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18005597b
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800cf4da
Capabilities:
Encode data using base64

Disassembly:
call fcn.1800c1f5a
invalid
shr r11b, 0xcd
add r11w, 0xee0a
push rbp
jne 0x1800a67a8
add qword [rsp], 0x7fef2f6c
push qword [rsp + 8]
popfq
mov qword [rsp + 8], 0x656522cb
lea rsp, [rsp + 8]
call fcn.1800f15d4
mov eax, 0x7eaeabb1
call fcn.180102bc6

Function at 0x1800d3774
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + rax*2 - 0x170], 0xffffffff94af3827
not al
lea r10d, [r10 + rax*2 + 0x7a360713]
mov ecx, 0xca8af7bc
neg qword [rsp + rax*4 - 0x11c]
neg r10d
mov word [rsp + rax - 0x41], cx
not qword [rsp + rax - 0x47]
call fcn.1800dc95d

Function at 0x1800f2dd5
Capabilities:
Manually build aes constants

Disassembly:
mov cl, byte [r11 + rbx - 0x7437401b]
mov qword [rsp + rbx - 0x7437402b], 0x63b7bf14
sal bx, 0xc4
movsx edx, bl
lea r11, [r11 + rbx - 0x743702a6]
xor word [rsp + rbx - 0x743702ab], 0xa434
shrd rdi, r10, cl
pop rcx
inc bx
and rbx, rcx
mov qword [r11 + rbx - 0x60370210], rdi
shl ecx, 0x2e
call fcn.1800e5f98
inc eax
or rcx, 0xffffffffdf071922
movsx ebx, r8w
sub qword [rsp + rcx + 0x606209], r10
xor eax, 0x5c06a103
mov edi, ebx
rol eax, 1
mov edx, 0x602141a
dec dword [rsp + r10*2 - 0x553509f3]
js 0x1800f9b6c
lea eax, [rax + rcx - 0x7cb48494]
setno r8b
mov qword [rsp + r10*2 - 0x553509f6], r9
inc r8w
not ecx
call fcn.1800dc3ee
pop rax
and rcx, rdx
mov ebx, r8d
not r8
not rcx
dec ax
xadd r8b, al
mov qword [r11 + rax - 0x7eaeab46], rcx
lea r10, [rax*8 + 0x210360a8]
movsx edi, r10b
movzx eax, byte [rbp + rdi*4 - 0x61]
xor al, r9b
call fcn.1800e2089
mov edx, 0x15852b04
call fcn.1800d077a
xor word [rsp + r10 - 0x69340792], r10w
and bl, 0x8f
mov edx, dword [rbp + rcx - 0x6934c000]
setl r8b
jge 0x1801036d7
xor edx, r9d
mov edi, ebx
rol r10d, 0x74
xadd byte [rsp + r10 - 0x7976933c], bl
neg edx
dec ax
setle r10b
sal qword [rsp + rcx - 0x6934c000], 0xed
inc edx
bswap edx
call fcn.1800e3bbb

Function at 0x1800f8056
Capabilities:
Encode data using base64

Disassembly:
mov r10d, 0x49d0f00
movsx edx, r10w
lea rbp, [r10 + rbp - 0x49d0f04]
push rdx
mov edx, dword [rbp + r10 - 0x49d0f00]
mov ebx, dword [rsp + r10*4 - 0x12743c00]
xchg dword [rsp + rbx*8 - 0x77fd], ebx
xor edx, r9d
rol edx, 2
lea rcx, [r10 + 0x7c37efa2]
xor bl, r10b
jle 0x1801097bb
ror r10w, 0x2a
or byte [rsp + r10 - 0x49dc003], r10b
xor dword [rsp + r10 - 0x49dbffb], edx
sub al, bl
adc dword [rsp + rbx*4 - 0x1fe], 0xdc3ccf0b
mov r9, qword [rsp + r10 - 0x49dbffb]
movsxd rdx, edx
cmovbe bx, r10w
adc rsi, rdx
jmp 0x1800fbf4e
movsxd r10, r10d
call fcn.1800ddf40
jmp 0x1800e3321
inc edx
push rcx
jmp 0x180109a04
xor edx, 0x31931382
add bl, byte [rsp + r10 - 0x49d0ef4]
ror rcx, cl
movsx eax, byte [rsp + r10 - 0x49d0ef7]
rol edx, 3
inc edx
sar byte [rsp + rbx*2 - 0xf], 0xc6
and cx, ax
xadd dword [rsp + r10 - 0x49d0efd], ebx
xor edx, 0xb5830401
add cl, 0x34
mov qword [rsp + r10 - 0x49d0ef8], r9
ja 0x1800e6578

Function at 0x1800fff63
Capabilities:
Manually build aes constants

Disassembly:
mov eax, 0x4f03f836
lea rbp, [rbp + rax - 0x4f03f837]
shl r10, 0x9b
shr rax, cl
dec edx
or dil, cl
mov qword [rsp + r8 - 0x69129ea4], rdi
adc rdi, rcx
bswap edx
setp bl
js 0x1800e7ad7
jmp 0x1800eac36
Function at 0x180103704
Capabilities:
Manually build aes constants

Disassembly:
adc qword [rsp + r10*8 - 0xd0], 0xffffffffb40db304
pop rbx
pop r10
jne fcn.1800cff31

Function at 0x180103719
Capabilities:
Manually build aes constants

Disassembly:
bswap rcx
mov dword [r11 + rbx*2], r8d
add rbx, rsi
jmp rbx
mov qword [rsp + rdx*4 - 0x3723c], rsi
ret
and byte [rsp + rdx - 0xdc89], 0x3c
mov dword [rdx + rax - 0xdc8f], edi
movsx edi, word [rsp + rdx*2 - 0x1b91c]
sar r8w, 0xa6
jp 0x1800d7bfe
ror rax, 0xe
xor dword [rsp + rcx - 0x7f000000], r8d
shr r10, 0x66
shl al, 1
pop r9
movsxd r8, r8d
call fcn.1800eb4d2
mov rdx, qword [r11]
mov eax, dword [r11 + 8]
add r11, 0xc
movzx ecx, bx
mov dword ss:[rdx + rcx - 0xeab1], eax
jmp 0x1800fb76b
ror edx, 1
call fcn.1800fbaac
mov ebx, 0xed8ceab1
movsx edx, bx
jmp 0x1800eff9e
not ecx
sub rbp, 4
mov eax, ebx
lea r8, [rax + 0x10088e90]
mov r10d, dword [rbp + riz]
mov edi, 0xd6871f1d
xor al, ah
xchg rdi, rax
xor r10d, r9d
movsx edx, dil
xor ecx, edi
sub r8b, dl
not r10d
inc r8b
lea rdi, [rax + r8*4 + 0x12075529]
xchg dl, r8b
lea r10d, [rcx + r10 + 0x621f5375]
not r10d
sal ax, 0xa1
sal ax, 0xc8
sar edx, cl
xor r10d, 0xdf32a09a
inc r8
add cx, di
dec r10d
bswap rax
neg cx
shl bl, 0xa1
bswap r10d
add edx, 0xf2ae088d
setno dil
call fcn.1800f0147
mov edi, dword [r11 + rdx*4 - 0x7edc]
ror dx, 0x69
lea r11, [r11 + rdx*2 - 0x1b912]
add r10, 0x4a1eda7
ja 0x1800e72c7
mov eax, 0xd998328c
movsx edx, al
mov edx, dword [rbp + riz - 4]
xor edx, r9d
xor edx, 0x78969b8e
neg edx
mov ebx, 0x9fa91f95
add bl, al
jb 0x1800f7a14
neg r10b
push rdi
sar dx, 0xd
not byte [rsp + rdx + 0xc]
inc r10b
shr word [rsp + rcx - 0x77340016], 0xca
xor r9b, r10b
xchg word [rsp + rcx - 0x7734001b], cx
ror byte [rsp + rcx - 0x7733fff2], 0xc5
lea r10, [rsp + r10 + 0x10]
sub dword [rsp + rdx + 1], ecx
lea rax, [rdx + r8*2 - 0xcd46e43]
pop rdi
xor r8b, byte [rcx + r10 - 0x77340000]
mov word [rdx + r11 - 2], r8w
sal byte [rsp + rcx - 0x7733fffb], 0x65
rol dil, 0xc1
mov r10d, eax
adc edx, dword [rbp + rdx*4 - 5]
lea r8, [rdi + 0x193dcb8d]
call fcn.18010abf0
mov r8d, dword [r11 + rbx*2 - 0x48010716]
mov cl, byte [r11 + rbx - 0x24008387]
sar rbx, 0x70
xadd eax, r10d
lea r11, [r11 + rbx + 2]
sal r8d, cl
lea rcx, [rbx + rax*4 + 0x26a94cbc]
jmp 0x1800d6e23
shl r8, 0x99
mov rax, qword [r11 + rdx - 0x1fb9]
mov qword [rsp + rdx*2 - 0x3f72], rdi
jne 0x180101a9f
xor ax, word [rdi + rax - 0x36270000]
lea r11, [r11 + r10 - 0x51a2ca83]
dec r10
or rcx, rbx
mov word [r8 + r11 - 0x64552d03], ax
movzx edi, r8w
lea rbp, [rdi + rbp - 0x2d07]
ror r10b, 0x67
mov ebx, dword [r10 + rbp - 0x51a2ca01]
call fcn.1800e5b83
jmp 0x1800e6037
Function at 0x1800012a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x18001a008]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rcx + 0x18], recv
mov qword [rcx + 0x10], r13
mov byte [rcx], r13b
xor r8d, r8d
lea rdx, [0x180017348]
call fcn.180001de0
mov dword [rsp + 0x20], 1
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180001470
nop
mov r14, qword [rsp + 0x50]
test r14, r14
jne 0x180001339
lea rcx, str.invalid_string_position
call fcn.1800022f4
int3
lea rax, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
cmp rbp, 0x10
cmovae rax, rsi
movsx r15d, byte [rax]
lea rcx, [r14 - 1]
cmp r14, rcx
ja 0x18000136a
lea rcx, str.invalid_string_position
call fcn.1800022f4
int3
lea rax, [rsp + 0x40]
cmp rbp, 0x10
cmovae rax, rsi
movsx r12d, byte [rax + rcx]
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x61]
call fcn.18000aa70
mov edx, r13d
add r14, 0xfffffffffffffffe
je 0x1800013ca
mov rcx, r13
nop
lea rax, [rsp + 0x40]
cmp rbp, 0x10
cmovae rax, rsi
movzx eax, byte [rax + rcx + 1]
xor al, r12b
sub al, r15b
mov byte [rsp + rcx + 0x60], al
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r14
jb 0x1800013a0
cmp byte [rsp + 0x60], 0
jne 0x1800013d6
mov r8, r13
jmp 0x1800013ea
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800013e0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180001de0
nop
cmp qword [rsp + 0x58], 0x10
jb 0x18000140a
mov rcx, qword [rsp + 0x40]
call fcn.180002ee8
mov qword [rsp + 0x58], socket
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x40], 0
cmp qword [rbx + 0x18], 0x10
jb 0x18000142c
mov rcx, qword [rbx]
call fcn.180002ee8
mov qword [rbx + 0x18], recv
mov qword [rbx + 0x10], r13
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180002340
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800017e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x180001807
lea rax, [rsp + 0x48]
lea r8, [0x180001920]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], edx
call fcn.180002c0c
mov eax, 1
add rsp, 0x38
ret
Function at 0x180001820
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18001a008]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov esi, edx
mov rdi, rcx
mov ebp, 2
lea edx, [r8 + 1]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000186c
or rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
jne 0x18000188c
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdx, qword [rdi + 0x18]
movsx r8, word [rdi + 0x12]
lea rcx, [rsp + 0x24]
mov rdx, qword [rdx]
call fcn.180002370
movzx ecx, si
mov word [rsp + 0x20], bp
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1800018f4
nop
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1800018d0
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180002340
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x180003464
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1800032cc
Function at 0x180d48058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180d481df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180d48089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d4806f
add dl, dl
jne 0x180d48096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d480f6
xor eax, eax
add dl, dl
jne 0x180d480a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d481ad
add dl, dl
jne 0x180d480b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d480c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d480d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d480dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180d480ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180d4807e
mov eax, 1
add dl, dl
jne 0x180d48106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d48113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d480fb
sub eax, ebx
mov ebx, 1
jne 0x180d4814c
mov ecx, 1
add dl, dl
jne 0x180d4812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d4813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d48123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d4807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180d48168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d48175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d4815d
cmp eax, 0x7d00
jae 0x180d4819b
cmp eax, 0x500
jb 0x180d48196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d4807e
cmp eax, 0x7f
ja 0x180d4819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d4807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180d481d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180d4807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20