joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e8580
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov dword [rsp + 0x40], 0
xor edx, edx
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x70], 0
je 0x1400e85ca
mov eax, dword [rsp + 0x24]
or eax, 0x1000000
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x30]
call fcn.140017800
nop
mov dword [rsp + 0x28], 0x40
mov eax, dword [rsp + 0x28]
shl eax, 1
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140049700
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x28]
add r8d, 1
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140024780
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
je 0x1400e85dd
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140024510
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x30]
call fcn.140017890
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x140144490
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1401435e0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call fcn.14002e530
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x140144544
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x140144510
mov ebx, dword [rsp + 0x28]
add ebx, 1
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140049700
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x140144533
mov edx, 0xff
mov rcx, qword [rsp + 0x50]
call fcn.140017d90
mov r8d, 0x100
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.140024780
jmp 0x140144585
mov rcx, qword [rsp + 0x50]
call fcn.1400178e0
mov r9, rax
mov r8, 0xffffffffffffffff
mov edx, 0x14d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp rax, 0xffffffffffffffff
jne 0x140144585
mov rcx, qword [rsp + 0x50]
call fcn.1400178e0
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.14007df20
add rsp, 0x30
pop rbx
ret
Function at 0x14016a387
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1402e9ae8]
jne 0x140153cfa
rol rcx, 0x10
test cx, 0xffff
jne 0x140153cf6
repz ret
ror rcx, 0x10
jmp 0x14016a2e0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402f0af0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1402f0be8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14016a365
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1402f0af0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14016a387
mov rax, qword [rsp + 0x88]
mov qword [0x1402f0be8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1402f0b88], rax
mov rax, qword [0x1402f0be8]
mov qword [0x1402f0a60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1402f0b70], rax
mov dword [0x1402f0a50], 0xc0000409
mov dword [0x1402f0a54], 1
mov rax, qword [0x1402e9ae8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402e9af0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402f0ae8], eax
mov ecx, 1
call fcn.140172f80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str.P_n__
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402f0ae8], 0
jne 0x14016a40e
mov ecx, 1
call fcn.140172f80
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x797c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.007c7180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x007cf5e0]
xor eax, eax
movdqa xmm12, xmmword [0x007cf5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x007cf610]
movdqa xmm6, xmmword [0x007cf630]
movdqa xmm13, xmmword [0x007cf670]
movdqa xmm14, xmmword [0x007cf680]
movdqa xmm15, xmmword [0x007cf690]
movdqa xmm7, xmmword [0x007cf6a0]
movdqa xmm10, xmmword [0x007cf6b0]
movdqa xmm11, xmmword [0x007cf6c0]
nop dword [rax + rax]
Function at 0x7a0140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x15a985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x7a020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x7a02b4
jne 0x7a02b4
jmp 0x1e8eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x7a0385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x7a014e
cmp edx, 0x8664
je 0x7a02d1
cmp edx, 0x14c
jne 0x7a018b
je 0x7a026b
jne 0x7a026b
jmp 0x7a8bbe
jne 0x7a02c6
add byte [rax], al
add byte [rax], al
jmp 0x7a0193
jne 0x7a0342
je 0x10c38d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x7a0303
jne 0x7a0303
jmp 0x7a02f4
je 0x7a0285
jne 0x7a0285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x7a018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x7a028c
jne 0x7a028c
je 0x28a4706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x7a0342
jmp 0x7a01e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x7a02c6
jmp 0x7a01d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x7a024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x7a023c
jne 0x7a023c
jmp 0x792972
jmp 0x7a01b0
jne 0x7a02f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x7a02dd
je 0x8cb8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x7a0228
jne 0x7a0317
jmp 0x58a4790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x7a02e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x7a0339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x7a0212
jne 0x7a0212
jmp 0x7a02b2
jmp 0x7a01a0
je 0x7a0317
jmp 0x7a02c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x7a0383
jne 0x7a0383
jmp 0x7a0317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x7a035d
lea rdx, [r9 + 1]
jmp 0x7a02f9
mov qword [rcx + 0x10], rdx
je 0x7a036d
jne 0x7a036d
jmp 0x8cb8e8e
mov rdx, qword [rcx + 8]
je 0x7a025f
jne 0x7a025f
je 0x791641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x7a01e1
jne 0x7a01e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x7a01ed
jne 0x7a01ed
jmp 0xffffffffc6bdae72
jmp 0x7a032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x7a02f4
jmp 0x7a028a
invalid
Function at 0x7aa860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x7aaab8
mov edi, edx
jmp 0x7aab91
je 0x7aaabe
jne 0x7aaabe
je 0x53d00218
push rsi
push rdi
push rbp
push rbx
jmp 0x7aabba
sub rsp, 0xa8
jmp 0x7aa9b8

Function at 0x7b8c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x007cfbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0x7b8d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0x7bed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x7bed8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0x7bf7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.007bf520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.007bc170
mov rcx, rdi
mov rdx, rbx
call fcn.007bc0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x7bf810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x7bf830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.007b9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.007b9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.007b9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.007bb4a0
mov rcx, rbx
mov rdx, rbx
call fcn.007b9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.007b9fa0
lea rcx, [rsp + 0x80]
call fcn.007b9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.007b91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.007b9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.007b9200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.007b93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.007b93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.007bb4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.007bb4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.007b9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.007b9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.007b9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.007b9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.007b9a90
mov rcx, rbx
mov rdx, rsi
call fcn.007b9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.007b9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.007bb4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.007b9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.007bb4a0
mov rcx, rdi
mov rdx, rdi
call fcn.007b9a90
mov rcx, r14
mov rdx, rbx
call fcn.007baae0
mov rcx, r12
mov rdx, r12
call fcn.007b9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.007b9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.007b9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.007b9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x7bf900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.007b93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.007b93b0
mov rcx, rdi
mov rdx, rdi
call fcn.007b9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.007b9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.007ba810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14243a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14243a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14243a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14243a06f
add dl, dl
jne 0x14243a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14243a0f6
xor eax, eax
add dl, dl
jne 0x14243a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14243a1ad
add dl, dl
jne 0x14243a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14243a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14243a07e
mov eax, 1
add dl, dl
jne 0x14243a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14243a0fb
sub eax, ebx
mov ebx, 1
jne 0x14243a14c
mov ecx, 1
add dl, dl
jne 0x14243a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14243a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14243a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14243a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14243a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14243a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14243a15d
cmp eax, 0x7d00
jae 0x14243a19b
cmp eax, 0x500
jb 0x14243a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14243a07e
cmp eax, 0x7f
ja 0x14243a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14243a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14243a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14243a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x40bc20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.0040c1c0
mov esi, eax
test sil, sil
jne 0x40bde2
test ebx, ebx
je 0x40bde2
xor rdi, rdi
test r13d, r13d
jle 0x40bcff
call sub.kernel32.dll_GetTickCount
mov r14d, eax
test r13d, r13d
jle 0x40bcde
cmp ebx, 0xffffffff
je 0x40bc8b
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40bc8b
xor rsi, rsi
jmp 0x40bde2
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x40bcde
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x40bcd0
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40bcd0
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40bde2
call fcn.0040c350
sub r13d, 1
test r13d, r13d
jg 0x40bc72
nop
cmp ebx, 0xffffffff
je 0x40bcff
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x40bcfa
xor rsi, rsi
jmp 0x40bde2
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40bc3b
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40bcff
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.0040be90
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x008ea9a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40bd6c
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x40bd69
sub eax, r14d
sub ebx, eax
jmp 0x40bd6c
xor rbx, rbx
test sil, sil
je 0x40bda0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40bd9d
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40bd71
mov dil, 1
nop
jmp 0x40bdbf
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40bda0
mov dil, 1
test dil, dil
je 0x40bd24
nop
test sil, sil
je 0x40bde2
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x40dac0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x008ea0a8], 0
je 0x40db5e
cmp word [0x008ea3b8], 0xd7b2
jne 0x40daf3
cmp dword [0x008ea3c0], 0
jbe 0x40daf3
lea rcx, [0x008ea3b0]
call qword [0x008ea3d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0088e1c0]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rbx, rax
lea rcx, [0x0040db94]
call fcn.0040f020
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40db80
cmp byte [0x0088c052], 0
jne 0x40db80
xor rcx, rcx
lea rdx, [0x0088e1c0]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40de50
Capabilities:
Create thread

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
cmp qword [0x0088c058], 0
je 0x40de81
mov rcx, rsi
mov rdx, rdi
call qword [0x0088c058]
mov r13, rax
jmp 0x40de97
mov ecx, 0x10
call fcn.00408400
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x008ea0a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x0040dde0]
mov r9, r13
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov rbx, rax
test rbx, rbx
jne 0x40dedc
mov rcx, r13
call fcn.00408430
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x411af0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x008eec90]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x008eecb8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x008eec88], al
cmp byte [0x008eec88], 0
je 0x411b8f
lea rcx, [0x00411b94]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411bae]
call sub.kernel32.dll_GetProcAddress
mov qword [0x008eec70], rax
lea rcx, [0x00411b94]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411bcc]
call sub.kernel32.dll_GetProcAddress
mov qword [0x008eec78], rax
lea rcx, [0x00411b94]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411bea]
call sub.kernel32.dll_GetProcAddress
mov qword [0x008eec80], rax
add rsp, 0x28
ret
Function at 0x411e20
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040e060
movzx rax, word [rbp + 0x4e]
cmp word [0x0088e948], ax
ja 0x411f08
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x0088ed48]
mov word [rbp + 0x4e], ax
ja 0x411f08
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x411f07
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x0088e948]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x411ec1
mov ecx, eax
sub ecx, 1
jmp 0x411f02
lea rdx, [0x0088e948]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x411ee3
mov r8d, eax
add r8d, 1
jmp 0x411f02
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x0088e950]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.00411cc0
jmp 0x411f07
cmp ecx, r8d
jae 0x411e90
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x411fea
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x411fea
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040f770
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040f770
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040f770
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00412044]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00412054]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040fbf0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040e140
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret