joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027950
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401ac560]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x1400279b1
cmp byte [rbx + 0x4a92], 0
jne 0x1400279b1
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400172e0
test dil, 2
je 0x140027adf
jmp 0x140027a3c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14019c7e8]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x14019c7d4]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x14019c708]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.1400172e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140027a90
lea r11, [0x140076100]
nop dword [rax]
cmp r9b, 0x23
jne 0x140027a73
cmp byte [r8], r9b
jne 0x140027a73
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140027a60
not ecx
call fcn.14001eb40
test rax, rax
je 0x140027adf
cmp byte [rax + 0xb6], 0
je 0x140027adf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.1400172e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400212b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140068040
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14002cf50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14002cff7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002cfaa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002f350
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140017b90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401ac558]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002cfff
mov rcx, rbx
call fcn.140017b90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14002d480
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401ac560]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14002d4e3
mov qword [rsp], rbx
lea rbx, [0x140076100]
nop dword [rax]
cmp r9b, 0x23
jne 0x14002d4c3
cmp byte [r8], r9b
jne 0x14002d4c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14002d4b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002d50f
cmp dword [r8 + 8], eax
je 0x14002d516
add r8, 0x48
cmp r8, rcx
jne 0x14002d500
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140050840
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor edx, edx
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
cmp qword [rcx + 0x18], 0xf
jbe 0x14005088e
mov rcx, qword [rcx]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400508e6
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140050a26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x26
lea rdx, str.Failed_to_launch_program._Error_code:
lea rcx, [rsp + 0x78]
call fcn.140008090
nop
lea r10, [rbp + 0x35]
mov r8d, ebx
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140050920
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x35]
mov rdx, r10
lea rcx, [rsp + 0x58]
call fcn.14000c230
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.140006ff0
cmp qword [rax + 0x18], 0xf
jbe 0x14005098b
mov rax, qword [rax]
mov r9d, 0x40
lea r8, [0x14019bc08]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400509e5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400509df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400509df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140050a24
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
mov eax, ebx
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140068040
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x140059080
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 0x1400590e1
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 0x1400590a0
mov ecx, dword [r9]
jmp 0x1400591cb
cmp ecx, 0x4e0
jb 0x1400591cb
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 0x140059100
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 0x140059150
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 0x140060340
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x4f0
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
xor edx, edx
mov r8d, 0x138
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 9
jb 0x14006057b
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400603a7
mov r9, qword [rbx]
mov qword [rsp + 0x30], 9
lea rax, str.ipify.php
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140058890
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.140059640
mov rbx, rax
xor edx, edx
mov r8d, 0x2e8
lea rcx, [rsp + 0x1f0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x1f0]
call fcn.140069800
nop
mov rdx, rbx
lea rcx, [rsp + 0x1f0]
call fcn.14006a880
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x1f0]
call fcn.14006a1a0
nop
lea rcx, [rsp + 0x1f0]
call fcn.140060e70
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x1400604a8
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400604a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400604a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
movdqa xmm0, xmmword [0x14019c8b0]
movdqu xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x90], 0
lea r9, [fcn.140005600]
mov edx, 0x20
mov r8d, 1
lea rcx, [rsp + 0x68]
call fcn.1400686e0
mov eax, dword [rsp + 0xc0]
cmp eax, 0x194
jne 0x140060510
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x14019c130]
lea rdx, str.Please_make_sure_that_you_are_connected_to_the_internet.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test eax, eax
jne 0x140060539
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x14019c130]
lea rdx, str.Our_servers_are_facing_some_issues_right_now._Comeback_later_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rsp + 0xc8]
mov rcx, rdi
call fcn.1400056a0
nop
lea rcx, [rsp + 0xb0]
call fcn.14005b200
mov rax, rdi
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140068040
mov rbx, qword [rsp + 0x510]
add rsp, 0x4f0
pop rdi
ret
call fcn.140001a90
int3
Function at 0x140067690
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 0x1400676ca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400676cf
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 0x140067718
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140067718
dec r8
sub rdx, 1
jne 0x1400676fe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140067d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140067730
mov ebx, eax
test eax, eax
jne 0x140067db0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140067e13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140067e0a
test al, 0x10
je 0x140067e0a
bt eax, 0xa
jae 0x140067e03
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140067e24
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140067dff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140067dff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140067e0a
and dword [rsp + 0x3c], 0
jmp 0x140067e0f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140068f4c
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1401ac520]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006bd28
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x14006bd1c
mov rax, qword [rax + 0x10]
jmp 0x14006bd22
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14006bd10
cmp byte [rcx + 0x19], 0
jne 0x14006be04
cmp dword [rcx + 0x20], 4
jg 0x14006be04
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14006bd51
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14006bd83
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x14006bd70
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14006b6b0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006bdbe
cmp rcx, qword [rbx + 8]
je 0x14006bdbe
cmp qword [rbx + 0x10], 1
jne 0x14006bdc2
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140068040
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x14006bda8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14006be30
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.140058320
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14006bc80
lea rdx, [0x1401a7a18]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x140001340
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [0x1400087f0]
lea r8, [rsp + 0x38]
xor r9d, r9d
lea edx, [r9 + 5]
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov rcx, qword [0x1400087f0]
lea r8, [rsp + 0x3c]
xor r9d, r9d
mov ebx, eax
lea edx, [r9 + 0xc]
call qword [sym.imp.USER32.dll_GetDlgItemInt]
cmp dword [rsp + 0x38], 0
mov r8d, eax
je 0x140001576
cmp dword [rsp + 0x3c], 0
je 0x140001576
test rbx, rbx
je 0x14000140a
cmp byte [0x140008082], 0
jne 0x140001417
xorps xmm0, xmm0
test rbx, rbx
js 0x1400013bf
cvtsi2ss xmm0, rbx
jmp 0x1400013d4
mov rax, rbx
and ebx, 1
shr rax, 1
or rax, rbx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [0x140005a58]
divss xmm1, xmm0
movss xmm0, dword [0x140005a54]
comiss xmm0, xmm1
cvttss2si rax, xmm1
mov dword [0x14000807c], eax
mov ebx, eax
jbe 0x14000141f
xor eax, eax
mov dword [0x14000807c], 0
xor ebx, ebx
jmp 0x14000141f
cmp byte [0x140008082], 0
je 0x140001576
mov dword [0x14000807c], ebx
mov eax, ebx
cmp byte [0x14000876b], 0
je 0x140001459
mov edx, eax
xor eax, eax
add rdx, r8
mov ecx, ebx
sub rcx, r8
test rcx, rcx
cmovg eax, ecx
mov dword [rsp + 0x30], eax
mov eax, 0xffffffff
cmp rdx, rax
cmovb eax, edx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [0x140008088], rax
cmp byte [0x14000876c], 0
jne 0x140001478
mov dword [0x1400087d4], 2
mov dword [0x140008744], 4
jmp 0x14000148c
mov dword [0x1400087d4], 8
mov dword [0x140008744], 0x10
cmp qword [0x140008758], 0
jne 0x140001597
cmp byte [0x140008080], 0
je 0x1400014ab
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov rcx, qword [0x1400087f0]
mov edx, 3
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [0x1400087f0]
mov edx, 4
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x140001200]
mov byte [0x140008768], 1
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x140008758], rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x1400087f0]
lea r8, str.Program_Is_Running_
mov edx, 9
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [0x1400087f0]
lea r9, [0x1400011c0]
mov rdx, 0xffffffffffffffff
mov r8d, 0x7d0
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140003900
add rsp, 0x50
pop rbx
ret
mov rcx, qword [0x1400087f0]
lea r8, str.Error
mov r9d, 0x10
lea rdx, [0x140005540]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140003900
add rsp, 0x50
pop rbx
ret
Function at 0x1400042b4
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1407e91df
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 0x1407e9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e906f
add dl, dl
jne 0x1407e9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e90f6
xor eax, eax
add dl, dl
jne 0x1407e90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407e91ad
add dl, dl
jne 0x1407e90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407e90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407e907e
mov eax, 1
add dl, dl
jne 0x1407e9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407e9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e90fb
sub eax, ebx
mov ebx, 1
jne 0x1407e914c
mov ecx, 1
add dl, dl
jne 0x1407e912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407e9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407e9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407e915d
cmp eax, 0x7d00
jae 0x1407e919b
cmp eax, 0x500
jb 0x1407e9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e907e
cmp eax, 0x7f
ja 0x1407e919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407e907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407e91d2
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 0x1407e907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001830c
Capabilities:
Create thread

Disassembly:
jmp 0x1400210f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140059040]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14006111a]
call fcn.140018f1e
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140018474
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1400187ad
nop
lea rax, [0x1400189ec]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140018a23
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1400211cc
lea rcx, [rbp + 8]
call fcn.14001867c
nop
jmp 0x1400211e5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140018352
nop
lea rcx, [rbp + 8]
call fcn.140018631
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14004f830]
call fcn.140018c76
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140018758
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14001837f
Capabilities:
Create process on windows

Disassembly:
jmp 0x140036a10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140059040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x140061314]
call fcn.140018f1e
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140018b3b
nop
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 1
xor eax, eax
mov word [rbp + 0x50], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.140018b3b
nop
mov rcx, qword [rbp + 0x1a0]
call fcn.140018505
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140036b1c
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x140051030]
call fcn.140018c76
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140018758
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret