joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14048ef20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x14048ef71
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x14048f19b
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x14048ef65
inc edx
cmp edx, r9d
jl 0x14048ef45
jmp 0x14048f19b
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x14076e510]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x14048f0db
add rax, 0x10
cmp rax, r8
jb 0x14048efb8
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x14048f19b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14000ac40
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea r12, [rsp + 0xc8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r12
mov rbx, qword [r12]
mov rsi, rbx
xor rsi, r13
mov qword [rsp + 0x68], rsi
mov qword [r12], r15
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000acbb
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000acf9
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [r12], rbx
jmp 0x14000ae14
mov ebp, dword [rsp + 0x48]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
test rbp, rbp
je 0x14000ad6d
cmp rbp, 0x1000
jb 0x14000ad45
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14000ae42
call fcn.14002bc68
mov rcx, rax
test rax, rax
je 0x14000ade5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000ad4d
mov rcx, rbp
call fcn.14002bc68
mov qword [rsp + 0x50], rax
lea rbx, [rax + rbp]
mov qword [rsp + 0x60], rbx
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x58], rbx
mov edx, dword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14000ad7b
mov r14, qword [r14]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, 1
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000adf3
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000ae0d
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000adec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000adec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002bc60
jmp 0x14000ae0d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
xor rsi, r13
mov qword [r12], rsi
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14002bc40
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001860
nop
int3
Function at 0x14001e6a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x14001e6d1
xor eax, eax
jmp 0x14001e81b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001e70e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14001e70e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14001e81b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14001e810
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001e755
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14001e763
movzx ecx, di
jmp 0x14001e7b7
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001e7d0
sub eax, 1
je 0x14001e7d0
cmp eax, 2
jne 0x14001e810
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x14001e813
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14001e7fe
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14001e810
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002bc40
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001fac0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x14001fae0
mov dword [rcx], 0x270
mov rax, rcx
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001fc44
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001fc30
ret
Function at 0x1400206c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140020795
cmp byte [rcx + 0x72], 0
je 0x140020795
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140020791
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140020756
sub eax, 1
je 0x14002075a
cmp eax, 2
jne 0x140020791
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002bc40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140020788
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140020791
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14002073e
xor al, al
jmp 0x14002073e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002bc40
add rsp, 0x60
pop rbx
ret

Function at 0x140020e20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x140020e30
mov dword [rcx], 0x270
ret
Function at 0x140024390
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400243f1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400243b0
mov ecx, dword [r9]
jmp 0x1400244db
cmp ecx, 0x4e0
jb 0x1400244db
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140024410
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140024460
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400271e0
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 0x1400272a5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400272a5
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 0x1400272be
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140027295
cmp byte [rcx], 0x5c
jne 0x14002728e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14002728e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002727c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14002728b
test r8b, 0x10
jne 0x14002728e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14002728e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140023690
test edi, edi
jne 0x140027200
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.140023680
int3

Function at 0x14002b640
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 0x14002b67a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14002b67f
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 0x14002b6c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002f740]
cmp byte [rcx + rax], 0
je 0x14002b6c8
dec r8
sub rdx, 1
jne 0x14002b6ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002c83c
Capabilities:
Parse pe header

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

Disassembly:
push rbx
mov eax, 0x10a0
call fcn.1000905f0
sub rsp, rax
mov rax, qword [0x10009f140]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov eax, 0x9c4f
cmp edx, eax
jg 0x10002d830
je 0x10002d81f
sub edx, 0x9c42
je 0x10002d802
sub edx, 1
je 0x10002d7de
sub edx, 1
je 0x10002d946
sub edx, 1
je 0x10002d934
sub edx, 1
je 0x10002d989
sub edx, 1
je 0x10002d7d4
sub edx, 1
je 0x10002d7ca
sub edx, 2
je 0x10002d7b7
cmp edx, 1
jne 0x10002d9b5
mov rbx, qword [0x1000aaa38]
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x40], 0
sete al
mov byte [rcx + 0x40], al
call fcn.100032104
mov r11, qword [rbx + 0x10]
mov byte [r11 + 0x114], 1
jmp 0x10002d9b5
cmp byte [0x1000aaaa0], 0
sete byte [0x1000aaaa0]
jmp 0x10002d9b5
call fcn.100042864
jmp 0x10002d9b5
call fcn.1000351e0
jmp 0x10002d9b5
mov rcx, qword [0x1000aac30]
mov dl, 1
call fcn.10003dce4
call fcn.1000390ec
lea r8, [0x100034f8c]
mov ecx, 0x65
jmp 0x10002d965
mov rcx, qword [0x1000aac30]
mov dl, 1
call fcn.10003dce4
call fcn.1000390ec
call fcn.100034854
jmp 0x10002d9b5
mov rcx, qword [0x1000aaa38]
call fcn.10002a65c
jmp 0x10002d9b5
sub edx, 0x9c50
je 0x10002d989
sub edx, 1
je 0x10002d946
sub edx, 2
je 0x10002d934
sub edx, 1
je 0x10002d910
sub edx, 1
je 0x10002d8f8
sub edx, 1
je 0x10002d8e2
sub edx, 1
je 0x10002d8c6
cmp edx, 2
jne 0x10002d9b5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r8, [rsp + 0x40]
mov r9d, 0x824
mov rcx, rax
mov edx, 0xa9
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x10002d9b5
lea r8, [rsp + 0x40]
lea rdx, [0x1000149c0]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10002d9b5
mov rcx, qword [0x1000aaa38]
cmp dword [rcx + 0x40], 1
je 0x10002d9b5
mov r8d, 1
mov edx, dword [rcx + 0x44]
jmp 0x10002d927
mov rcx, qword [0x1000aaa38]
cmp dword [rcx + 0x40], 0
je 0x10002d9b5
xor r8d, r8d
jmp 0x10002d8dd
mov rcx, qword [0x1000aaa38]
cmp dword [rcx + 0x44], 1
je 0x10002d9b5
mov edx, 1
jmp 0x10002d923
mov rcx, qword [0x1000aaa38]
cmp dword [rcx + 0x44], 0
je 0x10002d9b5
xor edx, edx
mov r8d, dword [rcx + 0x40]
mov r9b, 1
call fcn.10002ba28
jmp 0x10002d9b5
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10002d9b5
mov rcx, qword [0x1000aac30]
mov dl, 1
call fcn.10003dce4
call fcn.1000390ec
lea r8, [0x100034414]
mov ecx, 0x93
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov rdx, qword [0x1000aac60]
mov r9d, 2
mov byte [rsp + 0x20], 0
call fcn.100063a60
jmp 0x10002d9b5
mov rcx, qword [0x1000aaa38]
mov rax, qword [rcx + 0x18]
cmp dword [rax + 0x1c], 0
jle 0x10002d9a7
cmp dword [rcx + 0x38], 1
jne 0x10002d9a7
call fcn.1000352a0
jmp 0x10002d9b5
mov r9b, 1
xor r8d, r8d
mov dl, r9b
call fcn.10002ad0c
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.10008f560
add rsp, 0x10a0
pop rbx
ret
Function at 0x1000351e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov dl, 1
mov rcx, qword [0x1000aac30]
call fcn.10003dce4
cmp byte [0x1000aaaa1], 0
je 0x100035222
mov edx, 0x6f
mov rcx, qword [0x1000aaa90]
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
jmp 0x100035237
mov edx, 0x6e
mov rcx, qword [0x1000aaa90]
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
call fcn.1000390ec
mov edx, 0x6c
lea rcx, [rsp + 0x40]
call fcn.10005dc30
mov rbx, rax
mov edx, 0x66
lea rcx, [rsp + 0x28]
call fcn.10005dc30
mov r9, rdi
mov r8, qword [rbx + 0x10]
mov rdx, qword [rax + 0x10]
mov rcx, qword [0x1000aac60]
call qword [sym.imp.SHELL32.dll_ShellAboutW]
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_free
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.1000426c0
Function at 0x1000426c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
lea rdx, [0x10001ecc8]
mov ecx, 8
call fcn.100061728
cmp dword [0x1000a85b0], 0
jne 0x100042713
lea rcx, [0x1000a85c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x100042713
lea rdx, [0x10001ec60]
lea ecx, [rax + 8]
call fcn.100061728
mov ecx, 0x21
mov dword [0x1000a85b0], 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
cmp dword [0x1000a85b0], 1
jne 0x100042728
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x1000a85c8], eax
add rsp, 0x28
jmp fcn.1000545a4

Function at 0x100042738
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
cmp byte [0x1000aac3d], 0
je 0x100042802
lea r9, [0x10001a1e8]
lea r8, [0x10001a210]
mov edx, 0x244
mov ecx, 0x10
call fcn.100061370
cmp byte [0x1000aacb8], 0
jne 0x1000427e2
mov edx, 0x373
mov byte [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea ecx, [rdx + 0x12]
mov r9d, 0xfffe
mov r8d, 1
call fcn.100062dc8
mov rcx, qword [0x1000aac60]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x1000a6564]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rcx, qword [0x1000aac60]
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], eax
mov eax, dword [0x1000a5e7c]
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1000427f0
mov rcx, qword [0x1000aac30]
mov byte [rcx + 0xa5], 0
xor ecx, ecx
call fcn.10004744c
test al, al
je 0x100042802
mov al, 1
add rsp, 0x58
ret
lea r9, [0x10001a220]
lea r8, [0x10001a210]
mov edx, 0x25d
mov ecx, 0x10
call fcn.100061370
mov edx, 0x37d
mov byte [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea ecx, [rdx + 8]
mov r9d, 0xfffe
mov r8d, 1
call fcn.100062dc8
mov cl, byte [0x1000aacb8]
call fcn.100060aa8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10004744c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov dil, cl
cmp cl, byte [0x1000aac3d]
je 0x1000475e8
mov rcx, qword [0x1000aac68]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov cl, 1
call fcn.100043e04
mov rcx, qword [0x1000aac60]
mov r9d, 0x107
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rbx, qword [0x1000aad60]
mov byte [0x1000aac3d], dil
test rbx, rbx
je 0x1000474fb
xor esi, esi
cmp dword [rbx + 0x18], esi
jbe 0x1000474dc
xor ebp, ebp
mov rax, qword [rbx + 0x10]
mov dl, dil
mov rcx, qword [rax + rbp]
mov rax, qword [rcx]
call qword [rax + 0x40]
inc esi
add rbp, 8
cmp esi, dword [rbx + 0x18]
jb 0x1000474b9
mov rbx, qword [0x1000aad60]
mov rcx, rbx
call fcn.10004f504
mov rcx, qword [0x1000aad60]
call fcn.10004f444
test al, al
jne 0x1000474fb
xor al, al
jmp 0x1000475ea
mov rbx, qword [0x1000aac30]
test rbx, rbx
je 0x100047580
cmp dword [rbx + 0xd4], 0
je 0x100047580
lea r9, [0x100018868]
lea r8, [0x100018140]
mov edx, 0x201
mov ecx, 2
call fcn.100061370
mov rcx, rbx
call fcn.10003db80
mov rcx, rbx
call fcn.10003d9fc
test al, al
je 0x1000474f4
cmp dword [0x1000aacfc], 0
jne 0x100047571
cmp byte [0x1000aac3d], 0
mov r8d, dword [0x1000a5634]
mov edx, dword [0x1000a53e4]
mov rcx, qword [0x1000aac30]
je 0x10004756c
add r8d, r8d
add edx, edx
call fcn.10003eefc
mov rax, qword [0x1000aac30]
mov byte [rax + 0x14], 1
mov byte [rax + 0x58], 1
call fcn.100047608
mov rcx, qword [0x1000aac68]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1000aac60]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
cmp qword [0x1000aac30], 0
je 0x1000475e8
mov ecx, 0x25
call fcn.10004ce88
mov rcx, qword [0x1000aac30]
mov rcx, qword [rcx + 0x78]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x18]
test rbx, rbx
je 0x1000475e8
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret