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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14010d190]
mov edi, ecx
cmp byte [rbx + 0x4df5], 0
jne 0x14003aea1
cmp byte [rbx + 0x4df6], 0
jne 0x14003aea1
movsx r9d, word [rbx + 0x6020]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140027ea0
test dil, 2
je 0x14003afdf
jmp 0x14003af3b
movss xmm0, dword [rbx + 0x3a10]
mov eax, dword [rbx + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400a29f8]
mulss xmm0, dword [0x1400a29ec]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x14003aefc
xor ecx, ecx
movss dword [rbx + 0x4ad0], xmm1
mov qword [rbx + 0x4ad8], rcx
or eax, 1
movss dword [rbx + 0x4ad4], xmm0
mov dword [rbx + 0x4ac4], 1
movss xmm0, dword [rbx + 0x3a6c]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x1400a2904]
lea rcx, [rsp + 0x20]
movsx r9d, word [rbx + 0x6020]
or eax, 0x40
mov edx, 0x10
mov dword [rbx + 0x4ac0], eax
movss dword [rbx + 0x4b20], xmm0
call fcn.140027ea0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14003af90
lea r11, [0x14009b4a0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14003af73
cmp byte [r8], r9b
jne 0x14003af73
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 0x14003af60
not ecx
call fcn.140030720
test rax, rax
je 0x14003afdf
cmp byte [rax + 0xca], 0
je 0x14003afdf
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x6020]
movsx r9d, word [rbx + 0x6020]
call fcn.140027ea0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140033620
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005da30
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140040330
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 + 0x6180], 0
lea rbx, [rcx + 0x6188]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400403d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004038a
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.140042bf0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400289a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6180]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6190]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14010d115]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400403df
mov rcx, rbx
call fcn.1400289a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140040640
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
mov rbx, qword [0x14010d190]
xor ebp, ebp
cmp byte [rbx + 0x60d0], bpl
jne 0x14004071f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140040718
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140028320
mov rsi, rax
test rax, rax
je 0x140040718
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400406a4
mov rcx, rax
call fcn.140040870
mov r8, qword [0x14010d190]
test r8, r8
je 0x14004070f
movsx rdx, word [r8 + 0x6260]
lea rcx, [r8 + 0x6264]
mov r9d, dword [r8 + 0x3ff0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140040704
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6260], cx
movsx rax, cx
lea rcx, [r8 + 0x6264]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x625c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x60d0], 1
movss xmm0, dword [rbx + 0x60d4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400407ae
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x60d4], xmm0
jb 0x1400407ae
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400407a1
mov rax, qword [0x14010d190]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x60d4], ebp
call fcn.140040ad0
lea rdx, [0x1400a1fd0]
mov rcx, rdi
mov rsi, rax
call fcn.140028170
mov rdi, rax
test rax, rax
je 0x1400407a8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400407a8
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x60d4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400407d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14010d190]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140040833
mov qword [rsp], rbx
lea rbx, [0x14009b4a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140040813
cmp byte [r8], r9b
jne 0x140040813
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 0x140040800
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60e8]
not eax
mov r8, qword [r10 + 0x60f0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14004085f
cmp dword [r8 + 8], eax
je 0x140040866
add r8, 0x48
cmp r8, rcx
jne 0x140040850
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14005b8d0
Capabilities:
Encode data using xor
Execute command

Disassembly:
sub rsp, 0x78
movzx eax, word [0x1400a24b0]
xor ecx, ecx
cmp dword [0x1400ac010], 2
movups xmm0, xmmword [str.AWDSRSWP]
mov word [rsp + 0x50], ax
movups xmm1, xmmword [0x1400a24a0]
movzx eax, byte [0x1400a24b2]
mov byte [rsp + 0x52], al
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
jl 0x14005ba43
movdqa xmm0, xmmword [0x1400a2d30]
lea rdx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1400a2b30]
movdqa xmm3, xmmword [0x1400a3280]
movdqa xmm5, xmmword [0x1400a2bb0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400a2be0]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x14005b950
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x23
jge 0x14005ba7f
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x23
jl 0x14005ba50
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x78
ret
Function at 0x14005c710
Capabilities:
Get system information on windows
Load ntoskrnl
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
mov dword [rsp + 0x28], 0
mov ecx, 0xb
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
xor edi, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14005c7ab
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x28]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14005c760
test eax, eax
jns 0x14005c7c4
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
jmp 0x14005c831
xor ebx, ebx
mov qword [rsp + 0x60], rbp
cmp dword [rdi], ebx
jbe 0x14005c819
lea rsi, [rdi + 0x2e]
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rsi]
lea rdx, [0x1400a2538]
add rcx, 0x30
movsxd rax, ebx
imul rbp, rax, 0x128
add rcx, rbp
add rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005c8bc
inc ebx
add rsi, 0x128
cmp ebx, dword [rdi]
jb 0x14005c7e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
mov rbp, qword [rsp + 0x60]
xor edx, edx
lea rcx, [0x1400a2548]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x20], 0xd38b48ff
mov word [rsp + 0x24], 0x8d4c
mov byte [rsp + 0x26], 5
test eax, eax
je 0x14005c8e3
lea r10, [rdi + 4]
mov r11d, eax
nop dword [rax]
xor eax, eax
lea rcx, [rsp + 0x24]
mov r9, r10
lea rdx, [rsp + 0x20]
sub r9, rcx
movzx ecx, byte [r9 + rdx]
cmp byte [rdx], cl
jne 0x14005c8da
cmp eax, 6
je 0x14005c8d7
inc eax
inc rdx
cmp eax, 7
jb 0x14005c8a2
jmp 0x14005c8da
mov rsi, qword [rdi + rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14005c82c
mov r8, r10
inc r10
sub r11, 1
jne 0x14005c890
mov ebx, dword [r8 + 3]
lea rdx, str.ZwFlushInstructionCache
add ebx, 7
movabs rax, 0xffffffff00000000
add ebx, r8d
mov rcx, rdi
and r8, rax
add rbx, r8
sub rbx, rdi
add rbx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rdi
lea rcx, [rbx + 0x20]
add rax, rsi
mov qword [r14], rcx
mov qword [r14 + 8], rax
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005da30
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14005c950
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, rdx
lea r8, str.RegistryMachineSystemCurrentControlSetServices_
mov rbx, rdx
mov rsi, rcx
mov edx, 0x35
mov edi, 0x34
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movzx ecx, word [rbx]
mov rdx, rbx
test cx, cx
je 0x14005c9ee
nop dword [rax]
add rdx, 2
cmp cx, 0x5c
mov rax, rdx
cmovne rax, rbx
movzx ecx, word [rdx]
mov rbx, rax
test cx, cx
jne 0x14005c9a0
movzx ecx, word [rax]
test cx, cx
je 0x14005c9ee
movzx eax, word [rax]
lea rcx, [rsi + 0x68]
movzx edx, ax
nop dword [rax]
cmp dx, 0x2e
je 0x14005c9ee
add rbx, 2
mov word [rcx], ax
inc edi
add rcx, 2
movzx eax, word [rbx]
movzx edx, ax
test ax, ax
jne 0x14005c9d0
movsxd rax, edi
xor ecx, ecx
mov rdx, rsi
mov word [rsi + rax*2], cx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x14005cab7
lea r8, [0x1400a2580]
mov dword [rsp + 0x30], 1
mov edx, 5
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, r14
lea rcx, [rsp + 0x40]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14005ca50
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x40]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x14005cab7
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005da30
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
Function at 0x14005e76c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call fcn.1400b4000
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1400087ec
add rsp, 0x28
jmp 0x140008188
Function at 0x140003f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004007
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004007
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140003ff4
cmp rbx, rcx
jae 0x140004007
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140003fdf
cmp rbx, rcx
jae 0x140004007
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x140004009
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140004a40
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140313918]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
cmp byte [rcx + 0x53a], 0
jne 0x140004b5d
mov byte [rcx + 0x53a], 1
mov byte [0x140322e83], 1
call fcn.1400071c8
nop
jmp 0x140004a89
mov rax, qword [rdi + 0x540]
test rax, rax
je 0x140004aa7
mov rcx, qword [rax]
test rcx, rcx
je 0x140004aa7
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rdx, qword [rdi + 0x558]
test rdx, rdx
je 0x140004abd
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov edx, 0x1a
mov rcx, rdi
call fcn.14000556c
xor r8d, r8d
lea edx, [r8 + 0x19]
mov rcx, rdi
call fcn.1400055dc
and qword [rsp + 0x20], 0
call fcn.140079258
mov rcx, rax
test rax, rax
je 0x140004b77
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov ecx, 0x1e
call fcn.14007be78
test rax, rax
je 0x140004b26
mov r8d, 0x1e
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140004020
mov rbx, qword [rsp + 0x20]
lea rcx, [rdi + 0x340]
mov rdx, rbx
call fcn.14009bab4
mov edx, 2
mov rcx, rdi
call fcn.14009e924
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004b5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140215e10
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002d2c
int3
Function at 0x1400059b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialogEx.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x14009e1cb
cmp dword [rcx + 0xe8], 0
jne 0x14009e1cb
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.14009dd2c
mov r8d, 5
mov rdx, rsi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x14009e538
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x14009e58d
call fcn.14008edd4
mov rdx, rax
test rax, rax
je 0x14009e58b
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1401b9669.0]
mov rbx, rax
jmp 0x14009e58d
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14009e2a0

Function at 0x1400062c8
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140313918]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
lea rcx, [0x140006244]
call fcn.14008ec94
mov qword [rbx], rax
test rax, rax
jne 0x140006369
and qword [rsp + 0x30], rax
lea rdx, str.Thread_creation_failed
lea rcx, [rsp + 0x30]
call fcn.140003f10
nop
call fcn.1400062a4
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140006348
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000637a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000637a
and dword [rax + 0x50], 0
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140215e10
add rsp, 0x40
pop rbx
ret

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

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000a3f4
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14000a426
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14000a409
mov rax, r8
ret
Function at 0x14000bda8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x14000bf45
cmp ecx, 0x7c
je 0x14000bf45
cmp ecx, 0x29
jne 0x14000bdf3
cmp dword [rbx + 0x1c], 0
jne 0x14000bf45
lea rdi, [rbx + 0x80]
test dword [rdi], 0x10000000
je 0x14000bf50
jmp 0x14000befa
lea rdi, [rbx + 0x80]
cmp ecx, 0x2e
jne 0x14000be1a
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000c0c4
mov rcx, rbx
call fcn.14000bd6c
jmp 0x14000bf33
cmp ecx, 0x5c
jne 0x14000be7a
mov rcx, rbx
call fcn.14000bd6c
test byte [rdi], 0x80
je 0x14000be6d
cmp word [rbx + 0x78], 0x62
jne 0x14000be4e
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000c0c4
mov rcx, rbx
call fcn.14000bd6c
jmp 0x14000bf3b
cmp word [rbx + 0x78], 0x42
jne 0x14000be6d
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000c0c4
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000be41
mov rcx, rbx
call fcn.14000d188
jmp 0x14000bf33
cmp ecx, 0x5b
jne 0x14000be9e
mov rcx, rbx
call fcn.14000bd6c
mov rcx, rbx
call fcn.14000d038
cmp dword [rbx + 0x7c], 0x5d
jne 0x14000bf5b
jmp 0x14000be0d
cmp ecx, 0x28
jne 0x14000bec2
mov rcx, rbx
call fcn.14000bd6c
mov rcx, rbx
call fcn.14000d2e8
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14000bf66
jmp 0x14000bf26
cmp ecx, 0x5e
jne 0x14000becf
lea edx, [rcx - 0x5c]
jmp 0x14000be38
cmp ecx, 0x24
jne 0x14000bedc
lea edx, [rcx - 0x21]
jmp 0x14000be38
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000bf87
cmp ecx, 0x3f
je 0x14000bf87
cmp ecx, 0x7b
je 0x14000bf87
cmp ecx, 0x7d
jne 0x14000bf09
test dword [rdi], 0x10000000
je 0x14000bf71
jmp 0x14000bf16
cmp ecx, 0x5d
jne 0x14000bf16
test dword [rdi], 0x10000000
je 0x14000bf7c
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14000d530
mov dil, 1
mov rcx, rbx
call fcn.14000bd6c
test dil, dil
je 0x14000bf3b
mov rcx, rbx
call fcn.14000d3fc
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x14000bdba
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
call fcn.14000a9a8
int3
mov edx, 4
call fcn.14000a9a8
int3
mov edx, 5
call fcn.14000a9a8
int3
mov edx, 6
call fcn.14000a9a8
int3
mov edx, 4
call fcn.14000a9a8
int3
mov edx, 0xa
call fcn.14000a9a8
int3