joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b1c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x004ce624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x40b348
mov rax, qword [0x004ce628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40b20c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x40b295
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x40b1f0
mov rcx, rbx
call fcn.0040be60
test rax, rax
mov r12, rax
je 0x40b37d
mov rax, qword [0x004ce628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.0040bf90
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004ce628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40b360
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40b28e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x40b2f0
add dword [0x004ce624], 1
cmp edi, 8
jae 0x40b2c3
test dil, 4
jne 0x40b334
test edi, edi
je 0x40b2b8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40b34f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x40b2b8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40b2dc
jmp 0x40b2b8
add rsi, qword [0x004ce628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40b28e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004a1000
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x40b2b8
xor esi, esi
jmp 0x40b217
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x40b2b8
mov rax, qword [0x004ce628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.004a1000
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.004a1000
nop
nop dword [rax]

Function at 0x40bad0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004ce900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004ce8e0]
test rbx, rbx
je 0x40bb24
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40bb1b
test rsi, rsi
je 0x40bb1b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40bb00
lea rcx, [0x004ce900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x40be60
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004aa470]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40becd
mov rcx, r8
call fcn.0040bd40
test eax, eax
je 0x40becd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40becd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40bec4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40becf
add rax, 0x28
cmp rax, r9
jne 0x40beb0
xor eax, eax
add rsp, 0x28
ret

Function at 0x418910
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x004a2158], eax
je 0x41892a
add rsp, 0x28
ret
call sub.msvcrt.dll_abort
nop

Function at 0x418e30
Capabilities:
Print debug messages

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
test rcx, rcx
mov rbx, rcx
je 0x418e53
call fcn.004187d0
cmp eax, 1
je 0x418e5e
mov qword [rbx], 0xffffffffffffffff
add rsp, 0x90
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
xor eax, eax
mov ecx, 0xa
lea rsi, str.Error_cleaning_up_spin_keys_for_thread
rep movsd dword [rdi], dword [rsi]
lea rdi, [rsp + 0x48]
mov ecx, 0x43
rep stosb byte [rdi], al
lea rbx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rbx + 0x27]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x418ed5
mov eax, 0x28
jmp 0x418eba
add rax, 1
cmp rax, 0x6b
je 0x418ec7
cmp byte [rbx + rax], 0
mov edx, eax
jne 0x418eb0
cmp eax, 0x6a
jne 0x418eda
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov edx, 0x27
movsxd rax, edx
mov byte [rsp + rax + 0x20], 0xa
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rax + 0x20], 0
jmp 0x418ec7
Function at 0x418f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [0x004cf3e0], 1
je 0x418f96
call fcn.00418ef0
mov ecx, dword [0x004a2158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x418fc0
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.00418d70
cmp qword [0x004d2050], 0
mov rsi, rax
je 0x418faa
test rax, rax
je 0x418faa
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
mov dword [rsi + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea rcx, [rsi + 0x68]
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x30], rax
call fcn.00418e30
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsi + 0xb8], 0
mov qword [rsi + 0x28], 0
call rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rbx
mov dword [rsp + 0x30], 2
mov r8, rbp
mov rdx, rdi
mov dword [rsp + 0x28], 0
lea r9, [rsi + 0x28]
mov rcx, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4190b0
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rdx, rsi
mov ecx, dword [0x004a2158]
mov dword [rsi + 0xbc], 0
mov dword [rsi + 0xc0], eax
movzx eax, byte [rsi + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rsi + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4190b0
mov rbx, rsi
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.msvcrt.dll_abort
nop
nop word cs:[rax + rax]
Function at 0x46c2a0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
jmp 0x46c2c8
call r12
cmp dword [rax], 4
jne 0x46c2e6
mov rcx, rbp
call fcn.0046c1a0
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x46c2c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x4a0aa0
Capabilities:
Encode data using xor
Execute command

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
call fcn.0040ad50
mov ecx, 0x32
call fcn.0049ff20
mov ecx, 0x32
mov rbp, rax
call fcn.0049ff20
lea rcx, str.Bir_karakter_dizisi_giriniz:
mov rsi, rax
call fcn.00401550
mov rcx, rbp
call sub.msvcrt.dll_gets
lea rcx, str.Anahtar_giriniz:
call fcn.00401550
mov rcx, rsi
call sub.msvcrt.dll_gets
mov ecx, 0x32
call fcn.0049ff20
mov ecx, 0x32
mov rbx, rax
call fcn.0049ff20
mov rdi, rax
xor eax, eax
nop dword [rax + rax]
movzx ecx, byte [rbp + rax]
xor cl, byte [rsi + rax]
mov byte [rbx + rax], cl
add rax, 1
cmp rax, 0x32
jne 0x4a0b10
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rbx + rax]
xor cl, byte [rsi + rax]
mov byte [rdi + rax], cl
add rax, 1
cmp rax, 0x32
jne 0x4a0b30
mov rdx, rbx
lea rcx, str.Sifreli_Hali:_s__n
call fcn.00401550
mov rdx, rdi
lea rcx, str.Cozulmus_Hali:_s__n
call fcn.00401550
lea rcx, str.pause
call sub.msvcrt.dll_system
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x4a1000
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp fcn.00401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00416ee0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00416ee0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x1400074f0
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 0x14000754d
lea rbx, [0x14003a080]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140007534
cmp r10, 2
jb 0x140007534
cmp byte [r9], r8b
jne 0x140007534
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 0x140007510
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000758f
lea rbx, [0x14003a080]
cmp r8b, 0x23
jne 0x140007573
cmp byte [r9], r8b
jne 0x140007573
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 0x140007560
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400076d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400076ea
mov qword [r8], 0
lea rdx, [0x140039ddc]
call fcn.1400075a0
mov rbx, rax
test rax, rax
jne 0x14000770a
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 0x1400077e1
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 0x1400077e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400077e1
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 0x1400077e1
cmp rdi, 0xffffffffffffffff
je 0x1400077e1
mov rax, qword [0x140045b48]
test rax, rax
je 0x14000777e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400077e1
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 0x1400077ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140045b48]
test rax, rax
je 0x1400077c3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400077ea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400077dc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400077ec
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 0x140009600
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14003a080]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x140045b48]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x14000968d
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x14000969c
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x1400096b3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001a990
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140014870
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140045b48]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x1400148d1
cmp byte [rbx + 0x41ce], 0
jne 0x1400148d1
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140007470
test dil, 1
je 0x1400149f8
jmp 0x14001495a
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003e9cc]
mulss xmm1, dword [0x14003e9c0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x14003e948]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.140007470
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400149b0
lea r11, [0x14003a080]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014993
cmp byte [r8], r9b
jne 0x140014993
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 0x140014980
not ecx
call fcn.14000e140
test rax, rax
je 0x1400149f8
cmp byte [rax + 0x8e], 0
je 0x1400149f8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.140007470
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140010810
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140036830
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400196e0
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019787
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001973a
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.14001b760
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007bf0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140045b40]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001978f
mov rcx, rbx
call fcn.140007bf0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400362bc
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 0x1400362f6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400362fb
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 0x140036344
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140039640]
cmp byte [rcx + rax], 0
je 0x140036344
dec r8
sub rdx, 1
jne 0x14003632a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003744c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, r9
mov r14, r8
mov r12d, edx
mov r15, rcx
mov dword [rbp - 0x20], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x140001971
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor esi, esi
mov qword [rbp - 8], rsi
mov byte [rbp + 0x30], sil
mov al, byte [rcx + 0x5c]
neg al
sbb rdx, rdx
and edx, 4
cmp r8, 0x7e
sbb rax, rax
not rax
and eax, 2
add rdx, rax
cmp r8, 0x10000
sbb rax, rax
and rax, 0xfffffffffffffffa
add rax, 8
add rdx, rax
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.1400023d4
mov dl, 0x80
or r12b, dl
mov rdi, qword [rbp - 0x18]
mov byte [rdi], r12b
mov al, byte [r15 + 0x5c]
cmp r14, 0x7e
jae 0x14000184d
neg al
sbb al, al
and al, dl
or al, r14b
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x1400018d9
mov dword [rdi + 2], 0x78563412
jmp 0x1400018d9
mov rcx, r14
shr rcx, 8
cmp r14, 0x10000
jae 0x14000187e
neg al
sbb al, al
and al, dl
add al, 0x7e
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], r14b
cmp byte [r15 + 0x5c], sil
je 0x1400018d9
mov dword [rdi + 4], 0x78563412
jmp 0x1400018d9
neg al
sbb al, al
and al, dl
add al, 0x7f
mov byte [rdi + 1], al
mov rax, r14
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, r14
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, r14
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, r14
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, r14
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, r14
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], r14b
cmp byte [r15 + 0x5c], sil
je 0x1400018d9
mov dword [rdi + 0xa], 0x78563412
lea r12, [r15 + 0x20]
mov r9, qword [rbp - 0x10]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
mov rcx, r12
call fcn.1400013bc
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.1400013bc
cmp byte [r15 + 0x5c], sil
je 0x140001941
mov r8, qword [r12 + 8]
sub r8, qword [r12]
sub r8, r14
test r14, r14
je 0x140001941
mov rdx, qword [r12]
add rdx, rsi
mov cl, byte [rdx + r8]
mov rax, rsi
and eax, 3
xor cl, byte [rbp + rax - 0x20]
mov byte [rdx + r8], cl
inc rsi
cmp rsi, r14
jne 0x140001920
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001969
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000198a
mov rcx, rdi
call fcn.1400278d0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14002e6dc
int3
Function at 0x140002c04
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
lea r8, [0x1400515e0]
mov rbx, rcx
mov r9d, edx
movups xmmword [rsp + 0x48], xmm0
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
lea edx, [rdi + 0x11]
movups xmmword [rsp + 0x68], xmm0
call fcn.1400016d8
cmp qword [rbx + 0x18], 0xf
jbe 0x140002c65
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140002cd1
and qword [rsp + 0x30], 0
lea rbx, [0x14008aa90]
mov r9d, 0x400
mov r8d, eax
mov dword [rsp + 0x28], r9d
xor edx, edx
mov ecx, 0x12ff
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, 2
call fcn.14002e874
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
mov rcx, rax
call fcn.1400032b8
mov eax, 1
jmp 0x140002d31
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002d25
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002d17
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002d20
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140002cdb
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140027da0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x140017ae4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x140017b4e
cmp ecx, 0x7c
je 0x140017b53
cmp ecx, 0x29
jne 0x140017b5e
cmp dword [rdi + 0x1c], 0
jne 0x140017b53
test dword [rdi + 0x80], 0x10000000
je 0x140017c8e
cmp ecx, 0x5d
jne 0x140017b2d
test dword [rdi + 0x80], 0x10000000
je 0x140017c9c
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.140017104
mov rcx, rdi
call fcn.14001ac6c
mov rcx, rdi
call fcn.14001af88
mov ecx, dword [rdi + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140017af8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x140017b6e
lea rcx, [rdi + 0x40]
call fcn.14001737c
jmp 0x140017b39
cmp ecx, 0x5c
jne 0x140017bc0
mov rcx, rdi
call fcn.14001ac6c
test byte [rdi + 0x80], 0x80
je 0x140017bb6
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x140017b9e
lea rcx, [rdi + 0x40]
call fcn.140017ad8
mov rcx, rdi
call fcn.14001ac6c
jmp 0x140017b49
cmp al, 0x42
jne 0x140017bb6
lea rcx, [rdi + 0x40]
call fcn.140017ad8
lea rcx, [rdi + 0x40]
call fcn.14001ac08
jmp 0x140017b94
mov rcx, rdi
call fcn.140017cac
jmp 0x140017b41
cmp ecx, 0x5b
jne 0x140017beb
mov rcx, rdi
call fcn.14001ac6c
mov rcx, rdi
call fcn.1400184e0
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140019a28
jmp 0x140017b41
cmp ecx, 0x28
jne 0x140017c20
mov rcx, rdi
call fcn.14001ac6c
mov rcx, rdi
call fcn.14001b888
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140019a28
test bl, bl
je 0x140017b49
jmp 0x140017b41
cmp ecx, 0x5e
jne 0x140017c33
lea rcx, [rdi + 0x40]
call fcn.1400170f8
jmp 0x140017b94
cmp ecx, 0x24
jne 0x140017c46
lea rcx, [rdi + 0x40]
call fcn.14001746c
jmp 0x140017b94
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140017c72
cmp ecx, 0x3f
je 0x140017c72
cmp ecx, 0x7b
je 0x140017c72
cmp ecx, 0x7d
jne 0x140017b18
test dword [rdi + 0x80], 0x10000000
je 0x140017c80
jmp 0x140017b2d
mov edx, 0xa
mov rcx, rdi
call fcn.140019a1c
int3
mov edx, 6
mov rcx, rdi
call fcn.140019a1c
int3
mov edx, 5
mov rcx, rdi
call fcn.140019a1c
int3
mov edx, 4
mov rcx, rdi
call fcn.140019a1c
int3