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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1408060a0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1408023c0]
test eax, eax
je 0x140070dbf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1408023c0]
test eax, eax
jne 0x140070dc8
call fcn.14003a3e0
test eax, eax
je 0x140070de4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1407fa098]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140070dec
xor eax, eax
jmp 0x140070e51
test rbx, rbx
jne 0x140070e0c
lea rcx, str.DestroyPropertySheetPage
call fcn.140070f68
mov rbx, rax
test rax, rax
je 0x140070e1f
mov qword [0x1408060a0], rax
mov rcx, rbx
call fcn.1401e8fe0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140070e34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140070e36
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140070e4f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140070e68
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x1408060a8]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1408023c0]
test eax, eax
je 0x140070eb7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1408023c0]
test eax, eax
jne 0x140070ec0
call fcn.14003a3e0
test eax, eax
je 0x140070edc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1407fa098]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140070ee6
or rax, 0xffffffffffffffff
jmp 0x140070f50
test rbx, rbx
jne 0x140070f06
lea rcx, str.PropertySheetA
call fcn.140070f68
mov rbx, rax
test rax, rax
je 0x140070f1b
mov qword [0x1408060a8], rax
mov rcx, rbx
call fcn.1401e8fe0
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x140070f32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140070f34
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140070f4d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140075984
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140806128]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1408023c0]
test eax, eax
je 0x1400759cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1408023c0]
test eax, eax
jne 0x1400759d8
call fcn.14003a3e0
test eax, eax
je 0x1400759f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1407fa098]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400759fc
xor eax, eax
jmp 0x140075a61
test rbx, rbx
jne 0x140075a1c
lea rcx, str.GetOpenFileNameA
call fcn.140047fb4
mov rbx, rax
test rax, rax
je 0x140075a2f
mov qword [0x140806128], rax
mov rcx, rbx
call fcn.1401e8fe0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140075a44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140075a46
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140075a5f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140075a78
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140806130]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1408023c0]
test eax, eax
je 0x140075ac3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1408023c0]
test eax, eax
jne 0x140075acc
call fcn.14003a3e0
test eax, eax
je 0x140075ae8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1407fa098]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140075af0
xor eax, eax
jmp 0x140075b55
test rbx, rbx
jne 0x140075b10
lea rcx, str.GetSaveFileNameA
call fcn.140047fb4
mov rbx, rax
test rax, rax
je 0x140075b23
mov qword [0x140806130], rax
mov rcx, rbx
call fcn.1401e8fe0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140075b38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140075b3a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140075b53
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400818b4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x1400818e6
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400818e6
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.14008df20
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400818f8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140081923
mov r8, rdx
mov rdx, qword [rdi]
call fcn.140063278
jmp 0x14008199b
cmp byte [0x1408061b8], 0
jne 0x14008196a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14008195a
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1408061b0], rax
jmp 0x140081961
mov rbx, qword [0x1408061b0]
mov byte [0x1408061b8], 1
jmp 0x140081971
mov rbx, qword [0x1408061b0]
test rbx, rbx
je 0x14008198f
mov rcx, rbx
call fcn.1401e8fe0
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x14008199b
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b4650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x1400b4681
call fcn.14003cab8
mov rdi, qword [rax + 0x18]
lea r8, [0x140242348]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x1400b46a0
xor eax, eax
jmp 0x1400b46ec
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400b469c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400b46e1
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400b4708
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400b73b8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140806c48]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1408023c0]
test eax, eax
je 0x1400b7403
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1408023c0]
test eax, eax
jne 0x1400b740c
call fcn.14003a3e0
test eax, eax
je 0x1400b7428
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1407fa098]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400b7430
xor eax, eax
jmp 0x1400b7495
test rbx, rbx
jne 0x1400b7450
lea rcx, str.ImageList_GetImageCount
call fcn.140039dc4
mov rbx, rax
test rax, rax
je 0x1400b7463
mov qword [0x140806c48], rax
mov rcx, rbx
call fcn.1401e8fe0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400b7478
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400b747a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400b7493
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14013cf10
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14013d0e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x14013d122
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x14013d58c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14013d65e
test rbx, rbx
je 0x14013d664
test r9, r9
je 0x14013d66a
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14013d647
cmp dword [rsp + 0x48], 3
jne 0x14013d647
test eax, eax
jne 0x14013d647
cmp dword [rdi], eax
je 0x14013d647
mov ecx, dword [rdi]
call fcn.14002e0ec
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14013d63b
cmp dword [rsp + 0x48], 3
jne 0x14013d63b
test eax, eax
jne 0x14013d63b
mov eax, 1
jmp 0x14013d649
mov rcx, qword [rbx]
call fcn.14002e0f4
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14002e158
int3
call fcn.14002e158
int3
call fcn.14002e158
int3

Function at 0x14013d990
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013d9a1
xor eax, eax
jmp 0x14013d9cf
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14013d9d8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013d9e9
xor eax, eax
jmp 0x14013da0d
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140199f78
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14080a948]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1408023c0]
test eax, eax
je 0x140199fc3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1408023c0]
test eax, eax
jne 0x140199fcc
call fcn.14003a3e0
test eax, eax
je 0x140199fe8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1407fa098]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140199ff0
xor eax, eax
jmp 0x14019a055
test rbx, rbx
jne 0x14019a010
lea rcx, str.ChooseColorA
call fcn.140047fb4
mov rbx, rax
test rax, rax
je 0x14019a023
mov qword [0x14080a948], rax
mov rcx, rbx
call fcn.1401e8fe0
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14019a038
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14019a03a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019a053
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1402009c8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14020079c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14020079c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14020079c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14020079c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14020079c
cmp dword [rcx + 0x84], 0xe
jbe 0x14020079c
cmp dword [rcx + 0xf8], esi
je 0x14020079c
mov ecx, r14d
call fcn.1402008e4
mov ecx, 2
call fcn.140206f74
nop
cmp byte [0x14080c8f8], 0
jne 0x140200866
mov r15d, 1
mov eax, r15d
xchg dword [0x14080c8e8], eax
test ebx, ebx
jne 0x14020080f
mov rdi, qword [0x1407fb600]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14080c8f0]
cmp rcx, rax
je 0x140200806
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400da73c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14080ca28]
jmp 0x14020081b
cmp ebx, r15d
jne 0x140200821
lea rcx, [0x14080ca40]
call fcn.14020147c
nop
test ebx, ebx
jne 0x140200838
lea rdx, [0x14021bb78]
lea rcx, [0x14021bb58]
call fcn.1402017b4
lea rdx, [0x14021bb88]
lea rcx, [0x14021bb80]
call fcn.1402017b4
movzx eax, byte [0x14080c8f8]
test esi, esi
cmove eax, r15d
mov byte [0x14080c8f8], al
jmp 0x140200866
mov ecx, 2
call fcn.140206fc8
test esi, esi
jne 0x14020087d
mov ecx, r14d
call fcn.140200898
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14020072c
Function at 0x140f43058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f431df
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 0x140f43089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f4306f
add dl, dl
jne 0x140f43096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f430f6
xor eax, eax
add dl, dl
jne 0x140f430a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f431ad
add dl, dl
jne 0x140f430b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f430c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f430d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f430dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f430ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f4307e
mov eax, 1
add dl, dl
jne 0x140f43106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f43113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f430fb
sub eax, ebx
mov ebx, 1
jne 0x140f4314c
mov ecx, 1
add dl, dl
jne 0x140f4312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f4313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f43123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f4307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f43168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f43175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f4315d
cmp eax, 0x7d00
jae 0x140f4319b
cmp eax, 0x500
jb 0x140f43196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f4307e
cmp eax, 0x7f
ja 0x140f4319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f4307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f431d2
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 0x140f4307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x407260
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.004075b0
mov esi, eax
test sil, sil
jne 0x407422
test ebx, ebx
je 0x407422
xor rdi, rdi
test r13d, r13d
jle 0x407347
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x407326
cmp ebx, 0xffffffff
je 0x4072d3
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x4072d3
xor rsi, rsi
jmp 0x407422
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x407326
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x407314
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x407314
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x407422
lea rcx, [rbp + 0x3c]
call fcn.00406f30
sub r13d, 1
test r13d, r13d
jg 0x4072ba
nop
cmp ebx, 0xffffffff
je 0x407347
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x407342
xor rsi, rsi
jmp 0x407422
sub eax, r14d
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40727d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x407347
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.004074d0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x0046c990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x4073b1
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x4073ae
sub eax, r14d
sub ebx, eax
jmp 0x4073b1
xor rbx, rbx
test sil, sil
je 0x4073e3
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x4073e0
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4073b6
mov dil, 1
nop
jmp 0x407400
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4073e3
mov dil, 1
test dil, dil
je 0x40736a
nop
test sil, sil
je 0x407422
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x408db0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0046c098], 0
je 0x408e4e
cmp word [0x0046c3a8], 0xd7b2
jne 0x408de3
cmp dword [0x0046c3b0], 0
jbe 0x408de3
lea rcx, [0x0046c3a0]
call qword [0x0046c3c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0045f5f8]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rbx, rax
lea rcx, [0x00408e84]
call fcn.0040a0b0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x408e70
cmp byte [0x0045e052], 0
jne 0x408e70
xor rcx, rcx
lea rdx, [0x0045f5f8]
lea r8, [0x0045f508]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40bf90
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00470c80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00470ca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00470c78], al
cmp byte [0x00470c78], 0
je 0x40c02f
lea rcx, [0x0040c034]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040c04e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00470c60], rax
lea rcx, [0x0040c034]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040c06c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00470c68], rax
lea rcx, [0x0040c034]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040c08a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00470c70], rax
add rsp, 0x28
ret