joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007cd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180007d99
cmp byte [rcx + 0x71], 0
je 0x180007d99
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180007d8c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180007d48
sub eax, 1
je 0x180007d4c
cmp eax, 2
jne 0x180007d8c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x180007d7a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180007d8c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x180015400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rcx
movabs rcx, 0x100000001b3
movabs r8, 0xcbf29ce484222325
mov r9, qword [rax + 0x28]
nop dword [rax]
nop dword [rax + rax]
movsx rdx, byte [r9]
lea r9, [r9 + 1]
xor r8, rdx
imul r8, rcx
test dl, dl
jne 0x180015430
mov rcx, qword [0x18006cc38]
mov rax, qword [0x18006cc40]
mov qword [rsp + 0x50], r8
cmp rcx, rax
je 0x180015490
nop dword [rax + rax]
cmp qword [rcx], r8
jne 0x18001546b
cmp qword [rcx + 8], rbx
je 0x180015474
add rcx, 0x18
cmp rcx, rax
jne 0x180015460
cmp rcx, rax
je 0x180015490
lea rdx, [rcx + 0x18]
sub rax, rdx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
sub qword [0x18006cc40], 0x18
lea rdx, [rsp + 0x50]
lea rcx, [0x18006cc50]
call fcn.180016140
mov rcx, qword [rax + 8]
cmp qword [rax], rcx
je 0x180015511
mov rax, qword [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, qword [0x18006cc40]
cmp rdx, qword [0x18006cc48]
movss xmm0, dword [rax + 0x1941638]
movss dword [rsp + 0x30], xmm0
je 0x180015500
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [0x18006cc40], 0x18
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x20]
lea rcx, [0x18006cc38]
call fcn.180016410
add rsp, 0x40
pop rbx
ret
Function at 0x180015ed0
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180015f16
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180015f12
mov al, 1
jmp 0x180015f16
jmp 0x180015f16
add rsp, 0x20
pop rbx
ret

Function at 0x180016050
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x180016077
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.180015ed0
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x180015f20]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18001b780
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x18001b8e0
test r8, r8
je 0x18001b8e0
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001b8e0
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.180055064
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x18001b7e0
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18001b82d
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x18001b800
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x18001b8c4
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x18001b874
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x18001b895
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x18001b860
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.180054f60
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x18001b8e2
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001e9e0
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 0x18001ea3d
lea rbx, [0x18005c010]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001ea24
cmp r10, 2
jb 0x18001ea24
cmp byte [r9], r8b
jne 0x18001ea24
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 0x18001ea00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001ea7f
lea rbx, [0x18005c010]
cmp r8b, 0x23
jne 0x18001ea63
cmp byte [r9], r8b
jne 0x18001ea63
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 0x18001ea50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001ebe0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001ebfa
mov qword [r8], 0
lea rdx, [0x1800619d0]
call fcn.18001ea90
mov rbx, rax
test rax, rax
jne 0x18001ec1a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18001ed05
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001ed05
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001ed05
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001ed05
cmp rdi, 0xffffffffffffffff
je 0x18001ed05
mov rax, qword [0x18006c9a8]
test rax, rax
je 0x18001ec96
inc dword [rax + 0xf4]
mov rdx, qword [0x18006c9a0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x18001ed05
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001ecf2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18006c9a8]
test rax, rax
je 0x18001ece1
dec dword [rax + 0xf4]
mov rdx, qword [0x18006c9a0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18001ed0e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001ed00
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001ed10
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800208a0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x18005c010]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18002092b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180032ac0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18002c4c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x18006c9a8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x18002c512
cmp byte [rbx + 0x4a56], 0
jne 0x18002c512
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001e8d0
test dil, 1
je 0x18002c63f
jmp 0x18002c59b
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800628d0]
mulss xmm1, dword [0x1800628bc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x18006283c]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.18001e8d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002c5f0
lea r11, [0x18005c010]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18002c5d3
cmp byte [r8], r9b
jne 0x18002c5d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002c5c0
not ecx
call fcn.180023f90
test rax, rax
je 0x18002c63f
cmp byte [rax + 0xb6], 0
je 0x18002c63f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.18001e8d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1800265e0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1800313c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180031467
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003141a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180033690
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001f060
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18006c991]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18003146f
mov rcx, rbx
call fcn.18001f060
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180031910
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18006c9a8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180031973
mov qword [rsp], rbx
lea rbx, [0x18005c010]
nop dword [rax]
cmp r9b, 0x23
jne 0x180031953
cmp byte [r8], r9b
jne 0x180031953
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180031940
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800319a7
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800319ae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180031994
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x180031c30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18006c9a8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bc4], ecx
test rbx, rbx
je 0x180031c9f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180031cb0
lea rdx, [0x1800619d4]
mov rcx, rbx
mov rdi, rax
call fcn.18001ea90
mov rbx, rax
test rax, rax
je 0x180031c9a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800441b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18006c9a8]
mov edx, 0x210
call fcn.180029350
cmp byte [rax], 0
je 0x180044226
xor edx, edx
mov ecx, 0x210
call fcn.18002b880
test al, al
je 0x180044226
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180044226
mov rbx, qword [0x18006c9a8]
cmp byte [rbx + 0x37b9], 0
je 0x180044212
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.18001e380
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x18006c9a8]
mov edx, 0x214
call fcn.180029350
cmp byte [rax], 0
je 0x180044296
xor edx, edx
mov ecx, 0x214
call fcn.18002b880
test al, al
je 0x180044296
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180044296
mov rbx, qword [0x18006c9a8]
cmp byte [rbx + 0x37b9], 0
je 0x180044282
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.18001e380
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x18006c9a8]
mov edx, 0x212
call fcn.180029350
cmp byte [rax], 0
je 0x180044306
xor edx, edx
mov ecx, 0x212
call fcn.18002b880
test al, al
je 0x180044306
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180044306
mov rbx, qword [0x18006c9a8]
cmp byte [rbx + 0x37b9], 0
je 0x1800442f2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.18001e380
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x18006c9a8]
mov edx, 0x216
call fcn.180029350
cmp byte [rax], 0
je 0x180044376
xor edx, edx
mov ecx, 0x216
call fcn.18002b880
test al, al
je 0x180044376
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180044376
mov rbx, qword [0x18006c9a8]
cmp byte [rbx + 0x37b9], 0
je 0x180044362
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.18001e380
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x18004a0e0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x60], 8
mov r14, rdx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov dword [rsp + 0x68], ebx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, str.HTTPREAD
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
mov rcx, rax
mov dword [rsp + 0x20], 0x80000002
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20000005
mov rdi, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18004a1a3
mov ecx, eax
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x18004a1b9
xor r8d, r8d
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
lea rcx, str._Error_Http:_s__ReadFileLen:_d_n
call fcn.18001cd90
test rdi, rdi
je 0x18004a1c7
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x18004a1d5
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18004f380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x140]
mov rdi, rcx
mov esi, r8d
mov rbx, rdx
movabs rcx, 0x100000001b3
movabs r10, 0xcbf29ce484222325
mov r11, qword [rax + 0x28]
nop word [rax + rax]
movsx r9, byte [r11]
lea r11, [r11 + 1]
xor r10, r9
imul r10, rcx
test r9b, r9b
jne 0x18004f3c0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r10
lea rcx, [0x18006cc50]
call fcn.180016140
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x18004f4c4
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x18006cc50]
movaps xmmword [rsp + 0x20], xmm7
call fcn.180016140
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
cmp eax, 1
jbe 0x18004f431
movss xmm6, dword [rbx + 0x1d28]
jmp 0x18004f488
xor ecx, ecx
lea rax, [rbx + 0x5428]
nop word [rax + rax]
cmp dword [rax], 0x209b
je 0x18004f45d
inc rcx
add rax, 4
cmp rcx, 6
jl 0x18004f440
movss xmm6, dword [rsp + 0x50]
jmp 0x18004f46b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x1800628d4]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [rax + 0x1934810]
cmp dword [rcx + 8], 0xc
jne 0x18004f488
addss xmm6, dword [0x180062904]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x18004f4a7
movaps xmm1, xmm6
addss xmm1, dword [0x180062914]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x18004f4e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x140]
mov rdi, rcx
mov esi, r8d
mov rbx, rdx
movabs rcx, 0x100000001b3
movabs r10, 0xcbf29ce484222325
mov r11, qword [rax + 0x28]
nop word [rax + rax]
movsx r9, byte [r11]
lea r11, [r11 + 1]
xor r10, r9
imul r10, rcx
test r9b, r9b
jne 0x18004f520
mov rax, qword [0x18006cc38]
mov rcx, qword [0x18006cc40]
movaps xmmword [rsp + 0x20], xmm7
cmp rax, rcx
je 0x18004f564
nop dword [rax]
cmp qword [rax + 8], rbx
jne 0x18004f55b
cmp qword [rax], r10
je 0x18004f57c
add rax, 0x18
cmp rax, rcx
jne 0x18004f550
xorps xmm0, xmm0
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, dword [0x180062978]
jp 0x18004f58c
je 0x18004f564
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x1941638]
call fcn.18004f380
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
jmp 0x18004f567
Function at 0x1800548e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r10, rdx
mov r9, rcx
lea rbx, [rcx + 0x42e8]
cmp byte [rcx + 0x1504], 0
jne 0x180054948
mov word [rcx + 0x1505], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x1508], al
movzx eax, byte [rsp + 0x31]
mov byte [rcx + 0x1509], al
movzx eax, byte [rsp + 0x32]
mov byte [rcx + 0x150a], al
movzx eax, byte [rsp + 0x33]
mov byte [rcx + 0x150b], al
mov byte [rcx + 0x150c], 0
mov byte [rcx + 0x1504], 1
mov dword [rsp + 0x40], r8d
mov eax, dword [rcx + 0x1508]
mov dword [rsp + 0x30], eax
movzx eax, byte [rcx + 0x1505]
test al, al
je 0x180054984
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180054970
movzx eax, byte [r9 + 0x1506]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x1800549b4
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x1800549a0
movzx eax, byte [r9 + 0x150c]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r9 + rcx*4 + 0x1510], eax
mov byte [r9 + 0x150c], cl
mov dword [rbx + 0x38], r8d
mov r9, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r11
test cl, cl
jne 0x180054a00
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x180054a3a
lea eax, [r8 - 0x1d]
cmp eax, 7
ja 0x180054aaf
mov byte [rbx + 0x9c], cl
jmp 0x180054ae2
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180054a5e
lea eax, [r8 - 0x1a]
cmp eax, 6
ja 0x180054aaf
mov byte [rbx + 0x9c], 0
jmp 0x180054ae2
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x180054a73
cmp r8d, 0x10
jmp 0x180054a86
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x180054a91
cmp r8d, 6
jne 0x180054aaf
mov byte [rbx + 0x9c], 0
jmp 0x180054ae2
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180054ad0
cmp rdx, rax
je 0x180054ad0
cmp byte [rbx + 0x9c], 0xff
je 0x180054ae2
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180054ae2
mov byte [rbx + 0x9c], 0xff
jmp 0x180054ae2
cmp r8d, 7
jne 0x180054afe
cmp rdx, rcx
je 0x180054b09
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add rax, 0x1a4ef0
mov dl, 1
mov rcx, rbx
call rax
nop
add rsp, 0x20
pop rbx
ret
cmp r8d, 6
jne 0x180054adb
cmp rdx, rax
jne 0x180054adb
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rdx, r10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.180048ec0