joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017260
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x1400de010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400172d0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14001734a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400172fb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14006e960
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14001734a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14001734d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14001735a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140017372
inc rbx
test eax, eax
jne 0x140017360
test ecx, ecx
mov rcx, rsi
je 0x1400173d2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400172c1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400173ce
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400173c9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017449
mov rcx, r8
call fcn.14006dc88
xor eax, eax
jmp 0x140017415
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140017412
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14001740d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017449
mov rcx, r8
call fcn.14006dc88
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.14006d8f0
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001ae70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001aea4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001ae90
ret
Function at 0x14001f310
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14001f3dc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001f3dc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14001f3f5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14001f3cc
cmp byte [rax], 0x5c
jne 0x14001f3c6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14001f3c6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001f3b2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14001f3c3
test r8b, 0x10
jne 0x14001f3c6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14001f3c6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001c0e0
test edi, edi
jne 0x14001f330
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14001c0d0
int3

Function at 0x140025100
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 0x14002515d
lea rbx, [0x1400c7a30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140025144
cmp r10, 2
jb 0x140025144
cmp byte [r9], r8b
jne 0x140025144
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 0x140025120
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002519f
lea rbx, [0x1400c7a30]
cmp r8b, 0x23
jne 0x140025183
cmp byte [r9], r8b
jne 0x140025183
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 0x140025170
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400252e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400252fa
mov qword [r8], 0
lea rdx, [0x1400ce4a0]
call fcn.1400251b0
mov rbx, rax
test rax, rax
jne 0x14002531a
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 0x1400253f1
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 0x1400253f1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400253f1
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 0x1400253f1
cmp rdi, 0xffffffffffffffff
je 0x1400253f1
mov rax, qword [0x140160988]
test rax, rax
je 0x14002538e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400253f1
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 0x1400253de
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140160988]
test rax, rax
je 0x1400253d3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400253fa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400253ec
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400253fc
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 0x1400291c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1400c7a30]
mov rax, qword [rcx + 0xf8]
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
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140029256
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14003d910
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140029260
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1400c7a30]
vmovss xmm3, dword [rcx + 0x110]
vmovss xmm4, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140036200
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400de010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140160988]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x140036261
cmp byte [rbx + 0x4a76], 0
jne 0x140036261
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140024f60
test dil, 1
je 0x14003638f
jmp 0x1400362e9
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x1400cf5a8]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x1400cf5c0]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47ac], 1
vmovss dword [rbx + 0x47b8], xmm2
vmovss dword [rbx + 0x47bc], xmm0
mov qword [rbx + 0x47c0], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x38f8]
vmulss xmm1, xmm0, dword [0x1400cf4f8]
or dword [rbx + 0x47a8], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4808], xmm1
call fcn.140024f60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140036340
lea r11, [0x1400c7a30]
nop dword [rax]
cmp r9b, 0x23
jne 0x140036323
cmp byte [r8], r9b
jne 0x140036323
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 0x140036310
not ecx
call fcn.14002d080
test rax, rax
je 0x14003638f
cmp byte [rax + 0xb6], 0
je 0x14003638f
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 + 0x5b9a]
movsx r9d, word [rbx + 0x5b9a]
call fcn.140024f60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14002f7b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d8f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14003c220
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 + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14003c2c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14003c27a
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.14003e630
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140025ab0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140160865]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14003c2cf
mov rcx, rbx
call fcn.140025ab0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14003c740
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140160988]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14003c7a3
mov qword [rsp], rbx
lea rbx, [0x1400c7a30]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003c783
cmp byte [r8], r9b
jne 0x14003c783
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 0x14003c770
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14003c7d7
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14003c7de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14003c7c4
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 0x14006d728
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14006d7ac
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140072be0]
cmp byte [rcx + rax], 0
je 0x14006d7ac
dec r8
sub rdx, 1
jne 0x14006d792
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14006e5c4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov qword [rcx + 0x20], rbp
mov qword [rcx + 0x28], rbp
mov dword [rcx + 0x30], ebp
mov dword [rsp + 0x70], 0x3a98
mov r14, qword gs:[0x60]
test r14, r14
je 0x180001b2b
mov rax, qword [r14 + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, rdi
nop
lea rdx, str.KERNEL32.DLL
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180001b27
mov rbx, qword [rbx]
mov rdi, qword [rbx]
mov rax, qword [r14 + 0x18]
cmp rbx, qword [rax + 0x20]
jne 0x180001b00
jmp 0x180001b2b
mov rbp, qword [rdi + 0x20]
lea rdx, str.LoadLibraryA
mov rcx, rbp
call fcn.1800020c0
mov rbx, rax
lea rdx, [0x18002f4b0]
mov rcx, rbp
call fcn.1800020c0
mov rdi, rax
lea rcx, str.Wininet.dll
call rbx
mov qword [rsi + 0x38], rax
lea rdx, str.InternetOpenA
mov rcx, rax
call rdi
mov qword [rsi + 0x50], rax
lea rdx, str.InternetSetOptionA
mov rcx, qword [rsi + 0x38]
call rdi
mov qword [rsi + 0x58], rax
lea rdx, str.InternetOpenUrlW
mov rcx, qword [rsi + 0x38]
call rdi
mov qword [rsi + 0x68], rax
lea rdx, str.InternetReadFile
mov rcx, qword [rsi + 0x38]
call rdi
mov qword [rsi + 0x60], rax
mov dword [rsp + 0x20], 0xa4000000
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, r15
call qword [rsi + 0x50]
mov qword [rsi + 0x20], rax
test rax, rax
je 0x180001c02
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 - 2]
mov rcx, rax
call qword [rsi + 0x58]
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 + 4]
mov rcx, qword [rsi + 0x20]
call qword [rsi + 0x58]
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 + 3]
mov rcx, qword [rsi + 0x20]
call qword [rsi + 0x58]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800020c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, dword [rcx + 0x3c]
xor r15d, r15d
mov rbp, rdx
mov rdi, rcx
mov r11d, r15d
mov ebx, dword [r12 + rcx + 0x88]
add rbx, rcx
mov r14d, dword [rbx + 0x24]
mov r10d, dword [rbx + 0x20]
add r14, rcx
add r10, rcx
cmp rdx, 0x10000
jae 0x18000213d
mov r8d, dword [rbx + 0x10]
movzx edx, bp
cmp edx, r8d
jb 0x180002285
mov ecx, dword [rbx + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x180002285
mov ecx, dword [rbx + 0x1c]
sub edx, r8d
add rcx, rdi
mov r11, qword [rcx + rdx*8]
jmp 0x180002197
mov esi, dword [rbx + 0x18]
mov r9d, r15d
test esi, esi
je 0x18000219a
nop word [rax + rax]
mov r8d, dword [r10]
mov rax, rbp
add r8, rdi
sub r8, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180002173
inc rax
test ecx, ecx
jne 0x180002160
test edx, edx
je 0x180002185
inc r9d
add r10, 4
cmp r9d, esi
jb 0x180002150
jmp 0x18000219a
mov ecx, dword [rbx + 0x1c]
mov eax, r9d
add rcx, rdi
movzx edx, word [r14 + rax*2]
mov r11d, dword [rcx + rdx*4]
add r11, rdi
cmp r11, rbx
jb 0x180002263
mov eax, dword [r12 + rdi + 0x8c]
add rax, rbx
cmp r11, rax
jae 0x180002263
mov rcx, r11
call fcn.1800183fc
mov rbp, rax
test rax, rax
je 0x180002285
mov edx, 0x2e
mov rcx, rax
call fcn.180012f70
mov r14, rax
mov byte [rax], r15b
mov rsi, qword gs:[0x60]
test rsi, rsi
je 0x18000222b
mov rax, qword [rsi + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, rdi
nop word [rax + rax]
mov rcx, qword [rdi + 0x50]
lea rdx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180002227
mov rbx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rdi, qword [rbx]
cmp rbx, qword [rax + 0x20]
jne 0x180002200
jmp 0x18000222b
mov r15, qword [rdi + 0x20]
lea rdx, str.LoadLibraryA
mov rcx, r15
call fcn.1800020c0
test rax, rax
je 0x180002285
mov rcx, rbp
call rax
mov rcx, rbp
mov rbx, rax
call fcn.180018474
test rbx, rbx
je 0x180002285
lea rdx, [r14 + 1]
mov rcx, rbx
call fcn.1800020c0
mov r11, rax
mov rax, r11
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
xor eax, eax
jmp 0x180002266

Function at 0x180002290
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword gs:[0x60]
mov rbp, rcx
test rsi, rsi
je 0x1800022e1
mov rax, qword [rsi + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, rdi
mov rcx, qword [rdi + 0x50]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800022f8
mov rbx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rdi, qword [rbx]
cmp rbx, qword [rax + 0x20]
jne 0x1800022c0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rdi + 0x20]
jmp 0x1800022e3
Function at 0x18000b970
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18000ba3c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18000ba3c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18000ba55
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18000ba2c
cmp byte [rax], 0x5c
jne 0x18000ba26
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18000ba26
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18000ba12
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18000ba23
test r8b, 0x10
jne 0x18000ba26
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18000ba26
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18000df60
test edi, edi
jne 0x18000b990
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18000c9d0
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18000e784
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18000e770
ret
Function at 0x180025368
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180025398
xor eax, eax
jmp 0x18002545b
mov rbp, rbx
cmp word [rax], si
je 0x1800253bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800253a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800253a0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180023a50
movsxd r14, eax
test eax, eax
jne 0x1800253fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180025391
mov rcx, r14
call fcn.1800200ec
mov rdi, rax
test rax, rax
jne 0x180025414
xor ecx, ecx
call fcn.18001fde8
jmp 0x1800253f0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180023a50
test eax, eax
jne 0x180025445
mov rcx, rdi
call fcn.18001fde8
jmp 0x18002544f
xor ecx, ecx
call fcn.18001fde8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180027ff4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18001e208
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180028095
cmp ebx, dword [rsp + 0x30]
je 0x18002808e
test esi, esi
je 0x18002808e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180028069
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180028076
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180028053
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18002807a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180028097
mov eax, 1
jmp 0x180028097
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret