joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014330
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.140014610
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x14001444a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x140014394
mov rax, qword [0x140028008]
cmp qword [rsp + 0x20], rax
ja 0x140014394
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140014356
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400114b0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.1400115e6
test rax, rax
jne 0x1400143c5
jmp 0x14001444a
cmp dword [rsp + 0x50], 0x10000
jne 0x14001442d
cmp qword [rsp + 0x48], 0x10000
jb 0x14001442d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call fcn.1400115fa
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14001440b
mov rax, qword [rsp + 0x28]
jmp 0x14001444c
call fcn.14001114a
cmp eax, 0x677
jne 0x14001441b
xor eax, eax
jmp 0x14001444c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140014445
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.140014610
mov qword [rsp + 0x20], rax
jmp 0x140014356
xor eax, eax
add rsp, 0x68
ret

Function at 0x1400144a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.140014660
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1400145b6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1400144fb
mov rax, qword [0x140028008]
cmp qword [rsp + 0x20], rax
ja 0x1400144fb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1400144bd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400114b0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.1400115e6
test rax, rax
jne 0x14001452c
jmp 0x1400145b6
cmp dword [rsp + 0x50], 0x10000
jne 0x140014594
cmp qword [rsp + 0x48], 0x10000
jb 0x140014594
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call fcn.1400115fa
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140014572
mov rax, qword [rsp + 0x28]
jmp 0x1400145b8
call fcn.14001114a
cmp eax, 0x677
jne 0x140014582
xor eax, eax
jmp 0x1400145b8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1400145b1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140014660
mov qword [rsp + 0x20], rax
jmp 0x1400144bd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400146c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400115ff
mov qword [rsp + 0x28], 0
cmp qword [0x140028478], 0
jne 0x140014708
cmp qword [0x140028470], 0
je 0x140014708
mov rax, qword [0x140028470]
mov qword [0x140028478], rax
cmp qword [0x140028478], 0
je 0x1400147ae
mov rax, qword [0x140028478]
cmp qword [rax + 0x10], 0
je 0x1400147ae
mov rax, qword [0x140028478]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1400147ae
mov rax, qword [0x140028478]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1400147ae
mov rax, qword [0x140028478]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x140014774
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x14001477b
xor eax, eax
jmp 0x140014925
mov rax, qword [0x140028478]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.1400114b0
mov rax, qword [rsp + 0x28]
jmp 0x140014925
mov rax, qword [0x140028470]
mov qword [0x140028478], rax
jmp 0x1400147d0
mov rax, qword [0x140028478]
mov rax, qword [rax + 8]
mov qword [0x140028478], rax
cmp qword [0x140028478], 0
je 0x14001481d
cmp qword [0x140028478], 0
je 0x14001481b
mov rax, qword [0x140028478]
cmp qword [rax + 0x10], 0
je 0x14001481b
mov rax, qword [0x140028478]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x14001481b
mov rax, qword [0x140028478]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x14001481b
jmp 0x14001474c
jmp 0x1400147be
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400149d0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140014923
mov rax, qword [rsp + 0x48]
mov qword [0x140028478], rax
mov rax, qword [0x140028478]
mov dword [rax], 0x52727464
mov rax, qword [0x140028478]
mov qword [rax + 0x10], 0
mov rax, qword [0x140028478]
mov rcx, qword [0x140028470]
mov qword [rax + 8], rcx
mov rax, qword [0x140028478]
mov qword [0x140028470], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x140028478]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1400148d4
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x14001490e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1400148ca
mov rax, qword [0x140028478]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x14001474c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140015a20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.1400115e6
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015a67
xor al, al
jmp 0x140015b09
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x140015a91
xor al, al
jmp 0x140015b09
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x140015b01
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x140015b01
mov al, 1
jmp 0x140015b09
jmp 0x140015b07
xor al, al
add rsp, 0x78
ret

Function at 0x140015f80
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140028470]
mov qword [rsp + 0x28], rax
jmp 0x140015fa0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140015fcf
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call fcn.140011573
test eax, eax
jne 0x140015fcd
call fcn.14001114a
jmp 0x140015fd1
jmp 0x140015f92
xor eax, eax
add rsp, 0x38
ret
Function at 0x140017ce0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x80], 0
jne 0x140017d0d
xor ecx, ecx
call fcn.1400115c3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017d2d
mov ecx, 0xc1
call fcn.1400111f9
xor eax, eax
jmp 0x140017ea6
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x140017d64
mov ecx, 0xbf
call fcn.1400111f9
xor eax, eax
jmp 0x140017ea6
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x140017d82
mov ecx, 0xc0
call fcn.1400111f9
xor eax, eax
jmp 0x140017ea6
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140017dae
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140017e8a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, str..detour
mov rcx, rax
call fcn.1400116b8
test eax, eax
jne 0x140017e85
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0xc], 0
je 0x140017e13
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x10], 0
jne 0x140017e15
jmp 0x140017e8a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp rax, 0x40
jb 0x140017e5b
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x727444
je 0x140017e5d
jmp 0x140017e8a
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140017e77
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
xor ecx, ecx
call fcn.1400111f9
mov rax, qword [rsp + 0x28]
jmp 0x140017ea6
jmp 0x140017da4
mov ecx, 0xc0
call fcn.1400111f9
xor eax, eax
jmp 0x140017ea6
add rsp, 0x78
ret
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov dl, 1
mov cl, dl
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001072
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001072
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x140001047
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010be
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010ab
mov rcx, qword [str.openjdk]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010d5
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010e4
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 3
mov byte [rsp + 0x58], 1
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000230c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002310]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400079a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400130c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x140013650]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400079e8
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x1400079dc
mov rax, qword [rax + 0x10]
jmp 0x1400079e2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400079d0
cmp byte [rcx + 0x19], 0
jne 0x140007ac4
cmp dword [rcx + 0x20], 4
jg 0x140007ac4
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140007a11
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x140007a43
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x140007a30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140007370
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140007a7e
cmp rcx, qword [rbx + 8]
je 0x140007a7e
cmp qword [rbx + 0x10], 1
jne 0x140007a82
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000bac0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x140007a68
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140007af0
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.140004b30
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140007940
lea rdx, [0x1400110f0]
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 0x14000c804
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c84e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c84e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c84e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c84e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c84e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c850
xor al, al
add rsp, 0x28
ret
Function at 0x407f90
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.004082e0
mov esi, eax
test sil, sil
jne 0x408152
test ebx, ebx
je 0x408152
xor rdi, rdi
test r13d, r13d
jle 0x408077
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x408056
cmp ebx, 0xffffffff
je 0x408003
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x408003
xor rsi, rsi
jmp 0x408152
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x408056
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x408044
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x408044
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x408152
lea rcx, [rbp + 0x3c]
call fcn.00407c60
sub r13d, 1
test r13d, r13d
jg 0x407fea
nop
cmp ebx, 0xffffffff
je 0x408077
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x408072
xor rsi, rsi
jmp 0x408152
sub eax, r14d
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x407fad
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408077
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.00408200
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x0046d990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x4080e1
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x4080de
sub eax, r14d
sub ebx, eax
jmp 0x4080e1
xor rbx, rbx
test sil, sil
je 0x408113
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x408110
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 0x4080e6
mov dil, 1
nop
jmp 0x408130
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 0x408113
mov dil, 1
test dil, dil
je 0x40809a
nop
test sil, sil
je 0x408152
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 0x409ae0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0046d098], 0
je 0x409b7e
cmp word [0x0046d3a8], 0xd7b2
jne 0x409b13
cmp dword [0x0046d3b0], 0
jbe 0x409b13
lea rcx, [0x0046d3a0]
call qword [0x0046d3c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x00460758]
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, [0x00409bb4]
call fcn.0040ade0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x409ba0
cmp byte [0x0045f052], 0
jne 0x409ba0
xor rcx, rcx
lea rdx, [0x00460758]
lea r8, [0x00460668]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40ccc0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00471c80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00471ca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00471c78], al
cmp byte [0x00471c78], 0
je 0x40cd5f
lea rcx, [0x0040cd64]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cd7e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00471c60], rax
lea rcx, [0x0040cd64]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cd9c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00471c68], rax
lea rcx, [0x0040cd64]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cdba]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00471c70], rax
add rsp, 0x28
ret
Function at 0x40d030
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.00409f90
movzx rax, word [rbp + 0x4e]
cmp word [0x00460d40], ax
ja 0x40d118
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x00461140]
mov word [rbp + 0x4e], ax
ja 0x40d118
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40d117
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x00460d40]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40d0d1
mov ecx, eax
sub ecx, 1
jmp 0x40d112
lea rdx, [0x00460d40]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40d0f3
mov r8d, eax
add r8d, 1
jmp 0x40d112
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x00460d48]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040ced0
jmp 0x40d117
cmp ecx, r8d
jae 0x40d0a0
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40d1fa
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d1fa
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040b480
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040b480
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040b480
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040d254]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040d264]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040b870
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040a070
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40d470
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x00471c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00471ca8], ax
jne 0x40d4db
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00471caa]
mov r8d, 0x55
call fcn.0040b480
lea rcx, [0x00471c80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d5e6
lea rcx, [0x00471c80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00409f90
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d5a0
cmp byte [0x00471c78], 0
je 0x40d534
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040d300
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040a570
jmp 0x40d5a0
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040d030
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a570
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40d5a0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40d57f
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040d634]
call fcn.0040b660
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040d030
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040b660
lea rcx, [0x00471c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00471ca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040b3b0
lea rcx, [0x00471caa]
mov edx, 0xaa
mov r8, rax
call fcn.0040cdf0
lea rcx, [0x00471c80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040a070
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40e010
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.0040a120
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b480
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040b750
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040de30
test al, al
jne 0x40e0de
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b480
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040b750
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040de30
test al, al
jne 0x40e0de
mov rcx, qword [rbp + 0x20]
call fcn.00409f90
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040a070
lea rcx, [rbp + 0x70]
call fcn.00409f90
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret