joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d690
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x14006128c]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x14002d6ec
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14002d6cc
mov dword [0x14006128c], 1
jmp 0x14002d6ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14002d6e6
mov dword [0x14006128c], 2
jmp 0x14002d769
mov eax, dword [0x14006128c]
cmp eax, 1
jne 0x14002d760
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14002d73a
cmp word [rdi], bp
mov rax, rdi
je 0x14002d719
add rax, 2
cmp word [rax], bp
jne 0x14002d707
add rax, 2
cmp word [rax], bp
jne 0x14002d707
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.1400320c0
test rax, rax
mov rbx, rax
jne 0x14002d741
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x14002d85b
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14002b7a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x14002d85b
cmp eax, 2
je 0x14002d769
test eax, eax
jne 0x14002d73a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x14002d73a
cmp byte [rax], bpl
mov rbx, rax
je 0x14002d7b8
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14002d73a
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x14002d780
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.140032130
test rax, rax
mov r12, rax
jne 0x14002d7dd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14002d85b
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x14002d845
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14002d86e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x14002d7f0
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.14002a380
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14002d856
Function at 0x14002e7a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14005af80]
jne 0x140029b5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140029b56
repz ret
ror rcx, 0x10
jmp 0x14002e700
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140061350]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140061448]
mov qword [rsp + 0x58], rax
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 0x14002e785
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, [0x140061350]
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 0x14002e7a7
mov rax, qword [rsp + 0x88]
mov qword [0x140061448], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400613e8], rax
mov rax, qword [0x140061448]
mov qword [0x1400612c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400613d0], rax
mov dword [0x1400612b0], 0xc0000409
mov dword [0x1400612b4], 1
mov rax, qword [0x14005af80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14005af88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140061348], eax
mov ecx, 1
call fcn.140037770
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140048b68]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140061348], 0
jne 0x14002e82e
mov ecx, 1
call fcn.140037770
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 0x14002e900
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140061820]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.14002df20
test rax, rax
je 0x14002e954
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x14002e9e9
mov ecx, 2
call fcn.140037770
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.14002ac20
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14002e9d5
test ebx, ebx
jne 0x14002e9d5
lea ecx, [rax + 2]
call fcn.140037770
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140037220
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002de30
xor ebx, ebx
cmp qword [0x140061be0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14003734c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14003745f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003745f
mov rcx, rax
call fcn.14002dd60
lea rdx, [0x140048d00]
mov rcx, rsi
mov qword [0x140061be0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14002dd60
lea rdx, [0x140048ce8]
mov rcx, rsi
mov qword [0x140061be8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14002dd60
lea rcx, [rsp + 0x98]
mov qword [0x140061bf0], rax
call fcn.14002c1c0
test eax, eax
je 0x1400372ff
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.14002e860
cmp dword [rsp + 0x98], 2
jne 0x14003734c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14002dd60
test rax, rax
mov qword [0x140061c00], rax
je 0x14003734c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14002dd60
mov qword [0x140061bf8], rax
mov rcx, qword [0x140061bf8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400373f8
cmp qword [0x140061c00], rbp
je 0x1400373f8
call fcn.14002df20
mov rcx, qword [0x140061c00]
mov rsi, rax
call fcn.14002df20
test rsi, rsi
mov r12, rax
je 0x1400373f8
test rax, rax
je 0x1400373f8
call rsi
test rax, rax
je 0x1400373c3
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400373c3
test byte [rsp + 0x40], 1
jne 0x1400373f8
lea rcx, [rsp + 0x30]
call fcn.14002c210
test eax, eax
je 0x1400373e5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.14002e860
cmp dword [rsp + 0x30], 4
jb 0x1400373f2
bts edi, 0x15
jmp 0x140037436
bts edi, 0x12
jmp 0x140037436
mov rcx, qword [0x140061be8]
cmp rcx, rbp
je 0x140037436
call fcn.14002df20
test rax, rax
je 0x140037436
call rax
test rax, rax
mov rbx, rax
je 0x140037436
mov rcx, qword [0x140061bf0]
cmp rcx, rbp
je 0x140037436
call fcn.14002df20
test rax, rax
je 0x140037436
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140061be0]
call fcn.14002df20
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14003745f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140037461
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140039ab0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14005af80]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140039af7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140029b40
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14003b8e0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140029b40
add rsp, 0x38
ret
Function at 0x140040bd8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14005af80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14002ac20
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.14002ac20
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x140040c6b
cmp dword [rsp + 0x24], 5
jb 0x140040c85
jmp 0x140040c81
cmp dword [rsp + 0x30], esi
jne 0x140040c85
cmp dword [rsp + 0x24], 4
ja 0x140040c81
jne 0x140040c85
cmp dword [rsp + 0x28], 0
jbe 0x140040c85
mov byte [rbx + 0x18], sil
lea rax, [0x14004a120]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140040a98
movzx ecx, byte [0x140061f88]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140061f88], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140029b40
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180003570
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.18001c700
test al, al
jne 0x180003594
nop dword [rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.18001c700
test al, al
je 0x180003580
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1800035a0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x20a
call fcn.180020ea4
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
mov rbx, rax
call fcn.1800235c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.mstsc
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x180003614
call fcn.18001c700
test al, al
jne 0x180003614
nop dword [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.18001c700
test al, al
je 0x180003600
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1800044d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x18005f038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebp, r8d
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov dword [rsp + 0x48], r15d
mov edi, r15d
cmp qword [rcx + 0x18], 8
jb 0x180004512
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000456b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x180061f28]
mov r10, qword [rcx]
mov r9d, eax
lea r8d, [rsi + 3]
lea rdx, str.SwapMethod___Overwrite:_CreateFileW_failed__d
call qword [r10 + 0x10]
jmp 0x180004637
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1800045ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SwapMethod___Overwrite:_SetFilePointer_failed__d
mov edi, eax
mov rcx, qword [0x180061f28]
mov r8d, 2
mov r9d, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18000462d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800045df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x180061f28]
mov rax, qword [rcx]
mov r9d, edi
mov r8d, 2
lea rdx, str.SwapMethod___Overwrite:_SetEndOfFile_failed__d
call qword [rax + 0x10]
jmp 0x18000462d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x180004581
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x48]
mov r8d, ebp
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180004624
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SwapMethod___Overwrite:_WriteFile_failed__d
jmp 0x18000458e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180004672
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000466d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800046a5
mov rcx, r8
call fcn.180020a10
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800209f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180027abc
int3
Function at 0x18000c4e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18000c514
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18000c500
ret
Function at 0x1800100d0
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 0x18001019c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18001019c
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 0x1800101b5
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 0x18001018c
cmp byte [rax], 0x5c
jne 0x180010186
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180010186
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180010172
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180010183
test r8b, 0x10
jne 0x180010186
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180010186
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18000cbd0
test edi, edi
jne 0x1800100f0
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.18000cbc0
int3
Function at 0x1800145a0
Capabilities:
Encode data using xor

Disassembly:
movzx r10d, byte [rdx]
mov r11, rdx
mov r9, qword [rcx + 0x18]
movzx r8d, r10b
movzx eax, byte [r9 + 0x1d]
xor r8b, byte [rax + rcx + 0x71]
xor byte [r9], r8b
mov r9, qword [rcx + 0x18]
movzx eax, byte [r9 + 0x1e]
movzx r8d, byte [rax + rcx + 0x71]
xor byte [r9 + 1], r8b
mov r9d, 5
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0x1f]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 2], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0x1c]
movzx edx, byte [rax + rcx + 0x71]
movzx eax, r10b
xor byte [r8 + 3], dl
add r10b, r10b
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor dl, r10b
mov r10b, 4
mov byte [r11], dl
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rcx + 0x18]
movzx eax, r10b
add r10b, 4
lea r8, [rdx + r9]
movzx edx, byte [rax + rdx - 4]
xor byte [r8 - 1], dl
mov rax, qword [rcx + 0x18]
lea rdx, [rax + r9]
movzx eax, byte [rax + r9 - 4]
xor byte [rdx], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 3]
xor byte [rdx + 1], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 2]
xor byte [rdx + 2], al
lea r9, [r9 + 4]
cmp r10b, 0x10
jb 0x180014620
mov r8, qword [rcx + 0x18]
mov r10b, 0x14
mov r9d, 0x15
movzx eax, byte [r8 + 0xc]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x10], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0xd]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x11], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0xe]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x12], dl
mov r8, qword [rcx + 0x18]
movzx eax, byte [r8 + 0xf]
movzx edx, byte [rax + rcx + 0x71]
xor byte [r8 + 0x13], dl
nop word [rax + rax]
mov rdx, qword [rcx + 0x18]
movzx eax, r10b
add r10b, 4
lea r8, [rdx + r9]
movzx edx, byte [rax + rdx - 4]
xor byte [r8 - 1], dl
mov rax, qword [rcx + 0x18]
lea rdx, [rax + r9]
movzx eax, byte [rax + r9 - 4]
xor byte [rdx], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 3]
xor byte [rdx + 1], al
mov rax, qword [rcx + 0x18]
lea rdx, [r9 + rax]
movzx eax, byte [r9 + rax - 2]
xor byte [rdx + 2], al
lea r9, [r9 + 4]
cmp r10b, 0x20
jb 0x1800146d0
ret
Function at 0x180014e50
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
mov eax, 0x1050
call fcn.180021620
sub rsp, rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x44], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov dword [rsp + 0x44], 1
mov word [rsp + 0x1088], r14w
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1088]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
je 0x180015037
mov r8d, 0x1bb
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
test rax, rax
je 0x180015037
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, rsi
lea rdx, [0x1800546b0]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbp, rax
test rax, rax
je 0x180015037
mov dword [rsp + 0x48], 0x3300
lea r9d, [r14 + 4]
lea r8, [rsp + 0x48]
lea edx, [r14 + 0x1f]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x180015037
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x180015037
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x180015037
mov dword [rsp + 0x40], r14d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.1800235c0
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rsp + 0x40]
cmp eax, 0x1000
mov r8d, 0x1000
ja 0x180014fbc
mov r8d, eax
lea r9, [rsp + 0x4c]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov esi, dword [rsp + 0x4c]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180015014
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180014ffa
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180022e40
mov byte [rbx + rsi], 0
jmp 0x18001502c
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1800097d0
cmp dword [rsp + 0x40], 0
ja 0x180014f83
mov rax, rdi
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800152f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x60], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor edi, edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dil
mov dword [rsp + 0x60], 1
test r8b, 3
jne 0x180015449
lea rbp, [r8 - 1]
test rbp, rbp
je 0x180015449
lea rsi, [rdx + 1]
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx eax, byte [rsi - 1]
cmp al, 0x3d
je 0x180015449
movzx r8d, byte [rsi]
cmp r8b, 0x3d
je 0x180015449
xor cl, cl
mov edx, eax
movsx rax, cl
movsx eax, byte [rax + r14]
cmp edx, eax
je 0x18001538b
inc cl
cmp cl, 0x40
jae 0x180015449
jmp 0x180015371
cmp cl, 0xff
je 0x180015449
xor r9b, r9b
nop word [rax + rax]
movsx rax, r9b
movsx eax, byte [rax + r14]
cmp r8d, eax
je 0x1800153bd
inc r9b
cmp r9b, 0x40
jae 0x180015449
jmp 0x1800153a0
cmp r9b, 0xff
je 0x180015449
mov rax, rdi
and eax, 3
je 0x1800153f1
sub rax, 1
je 0x1800153e4
cmp rax, 1
jne 0x18001543a
and r9b, 0x3f
shl cl, 6
jmp 0x1800153fc
shr r9b, 2
and r9b, 0xf
shl cl, 4
jmp 0x1800153fc
shr r9b, 4
and r9b, 3
shl cl, 2
add r9b, cl
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x18001542b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180015420
mov rax, qword [rbx]
mov byte [rax + rcx + 1], 0
mov byte [rax + rcx], r9b
jmp 0x18001543a
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.180009440
inc rdi
inc rsi
cmp rdi, rbp
jb 0x180015353
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x18001b820
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18001b877
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x18001b8b9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18001b850
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call fcn.1800235c0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
nop
cmp qword [rsp + 0x48], rdi
je 0x18001b8ca
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x18001b8a0
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18001b8b9
mov rcx, rdi
cmp eax, 1
je 0x18001b8e5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x18001b830
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]