joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db960
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4dbc06
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
lea rax, [0x004fa3e0]
nop dword [rax]
call fcn.0040cbe0
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x00506b93]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004fa3e0]
call fcn.0040cbe0
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x0050681c]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004fa4a0]
call fcn.0040cbe0
cmp dword [0x0065c030], 0
jne 0x4dba09
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
jmp 0x4dba17
lea rdi, [rax + 0x18]
mov rcx, qword [rsp + 0x70]
call fcn.0045fd20
mov qword [rsp + 0x60], rax
mov qword [rax + 8], 0xd
lea rcx, [0x00507af9]
mov qword [rax], rcx
nop
lea rax, [0x004fa4a0]
call fcn.0040cbe0
cmp dword [0x0065c030], 0
jne 0x4dba4f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x18], rcx
jmp 0x4dba5d
lea rdi, [rax + 0x18]
mov rcx, qword [rsp + 0x68]
call fcn.0045fd20
mov qword [rsp + 0x58], rax
mov qword [rax + 8], 0xc
lea rcx, [0x005076c9]
mov qword [rax], rcx
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rcx
lea rax, [0x004e99c0]
call fcn.0040cbe0
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004cbf60
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4dbbf6
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004e9840]
call fcn.0040cbe0
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
call fcn.004cbf60
movzx ecx, word [0x0065bd58]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x78], rdx
lea rax, [0x004e9a80]
call fcn.0040cbe0
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004c7d80
xorps xmm15, xmm15
mov r14, qword [0x0065bf50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
call fcn.0045c420
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
xor eax, eax
mov rcx, rax
nop dword [rax + rax]
call fcn.004600c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045da60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004db960
Function at 0x415540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4156eb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431d20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4155ae
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4155c1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4155e5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4155f9
cmp rbx, 0x1000
jae 0x4155b8
nop
jmp 0x415669
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41560d
xor edx, edx
jmp 0x415660
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431d20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4155ef
jmp 0x4155d5
call fcn.0045fba0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004362e0
lea rax, [0x004ac63b]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00436be0
mov rax, qword [rsp + 0x38]
call fcn.004368e0
lea rax, [0x004ac6fb]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436be0
mov rax, qword [rsp + 0x30]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004ae899]
mov ebx, 0x21
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415540
Function at 0x415720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41594a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41579b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4157ae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4157d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4157e4
cmp rbx, 0x1000
jae 0x4157a5
jmp 0x41586e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4157f6
xor esi, esi
jmp 0x415860
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00431da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4157da
jmp 0x4157c2
call fcn.0045fba0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4158e9
call fcn.004362e0
lea rax, [0x004acab1]
mov ebx, 0x19
call fcn.00436be0
mov rax, qword [rsp + 0x68]
call fcn.004368e0
lea rax, [0x004ac6fb]
mov ebx, 0x19
nop
call fcn.00436be0
mov eax, dword [rsp + 0x34]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004a9711]
mov ebx, 0xd
call fcn.00434a20
cmp eax, 0x5af
je 0x415893
call fcn.004362e0
lea rax, [0x004acab1]
mov ebx, 0x19
call fcn.00436be0
mov rax, qword [rsp + 0x38]
call fcn.004368e0
lea rax, [0x004ac6fb]
mov ebx, 0x19
nop dword [rax]
call fcn.00436be0
mov eax, dword [rsp + 0x34]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004ae1ab]
mov ebx, 0x1f
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415720
Function at 0x41e020
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00597351], 0
jne 0x41e10f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41e105
lea rbx, [0x005697b0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41e0e7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045e700
lea rax, [0x004b0155]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00434a20
nop
int3

Function at 0x420860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x420961
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x4208a0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x420951
test byte [rax], al
lea rcx, [rax + 0x100c0]
mov rax, rcx
call fcn.004213c0
nop dword [rax]
test rax, rax
je 0x420951
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004209a0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 8]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.0045bec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42093f
xor eax, eax
jmp 0x420949
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x420892
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00420860
Function at 0x442f60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4430cf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x442f78
cmp edx, ecx
jne 0x4430bd
nop dword [rax]
test rsi, rsi
jne 0x4430bd
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442fd6
nop
call fcn.00460000
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
nop dword [rax + rax]
call fcn.00442e60
mov rcx, qword [0x00543558]
mov rdx, qword [0x00543550]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
sar esi, 5
mov r8d, esi
shl esi, 5
sub edi, esi
test edi, edi
jl 0x4430b8
cmp edi, 0x20
sbb esi, esi
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x4430ad
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00543ef0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00543ef0], rbx
mov edx, 1
lea rsi, [0x00543ef8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x44309c
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1228], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004af8ff]
mov ebx, 0x28
call fcn.00434a20
mov rcx, rax
mov rax, rsi
call fcn.0045e6e0
call fcn.00432f40
lea rax, [0x004aede7]
mov ebx, 0x23
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00442f60
Function at 0x408150
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r14d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.004084e0
mov esi, eax
test sil, sil
jne 0x408322
test ebx, ebx
je 0x408322
xor rdi, rdi
test r14d, r14d
jle 0x408231
call sub.kernel32.dll_GetTickCount
mov r13d, eax
test r14d, r14d
jle 0x408210
cmp ebx, 0xffffffff
je 0x4081bb
call sub.kernel32.dll_GetTickCount
sub eax, r13d
cmp eax, ebx
jb 0x4081bb
xor rsi, rsi
jmp 0x408322
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x408210
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x408202
mov rcx, qword [rsp + 0x28]
mov edx, 1
xor r8, r8
call fcn.004030f0
test eax, eax
jne 0x408202
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x408322
call 0x408540
sub r14d, 1
test r14d, r14d
jg 0x4081a2
nop
cmp ebx, 0xffffffff
je 0x408231
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r13d
cmp ecx, ebx
jb 0x40822c
xor rsi, rsi
jmp 0x408322
sub eax, r13d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax]
test r13d, r13d
je 0x40816b
mov rcx, qword [rsp + 0x28]
mov edx, r13d
add edx, 2
mov r8d, r13d
call fcn.004030f0
cmp eax, r13d
jne 0x408231
nop
call sub.kernel32.dll_GetTickCount
mov r13d, eax
mov rcx, qword [rsp + 0x28]
call fcn.004083e0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x0048a990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x4082a3
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r13d
cmp ecx, ebx
jae 0x4082a0
sub eax, r13d
sub ebx, eax
jmp 0x4082a3
xor rbx, rbx
test sil, sil
je 0x4082dc
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax]
mov eax, r13d
test eax, 1
jne 0x4082d9
mov rcx, qword [rsp + 0x28]
mov edx, r13d
sub edx, 2
or edx, 1
mov r8d, r13d
call fcn.004030f0
cmp eax, r13d
jne 0x4082a8
mov dil, 1
nop
jmp 0x4082ff
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax]
mov rcx, qword [rsp + 0x28]
mov edx, r13d
sub edx, 2
mov r8d, r13d
call fcn.004030f0
cmp eax, r13d
jne 0x4082dc
mov dil, 1
test dil, dil
je 0x40825b
nop
test sil, sil
je 0x408322
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x409bf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0048a098], 0
je 0x409c8e
cmp word [0x0048a3a8], 0xd7b2
jne 0x409c23
cmp dword [0x0048a3b0], 0
jbe 0x409c23
lea rcx, [0x0048a3a0]
call qword [0x0048a3c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0047b67c]
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, [0x00409cc4]
call fcn.0040ad70
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x409cb0
cmp byte [0x0047a052], 0
jne 0x409cb0
xor rcx, rcx
lea rdx, [0x0047b67c]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40ce00
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0048ec80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x0048eca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0048ec78], al
cmp byte [0x0048ec78], 0
je 0x40ce9f
lea rcx, [0x0040cea4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cebe]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0048ec60], rax
lea rcx, [0x0040cea4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cedc]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0048ec68], rax
lea rcx, [0x0040cea4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cefa]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0048ec70], rax
add rsp, 0x28
ret
Function at 0x40d120
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.0040a050
movzx rax, word [rbp + 0x4e]
cmp word [0x0047bc50], ax
ja 0x40d208
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x0047c050]
mov word [rbp + 0x4e], ax
ja 0x40d208
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40d207
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x0047bc50]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40d1c1
mov ecx, eax
sub ecx, 1
jmp 0x40d202
lea rdx, [0x0047bc50]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40d1e3
mov r8d, eax
add r8d, 1
jmp 0x40d202
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x0047bc58]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040cfc0
jmp 0x40d207
cmp ecx, r8d
jae 0x40d190
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40d2ea
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d2ea
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.0040b3b0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040b3b0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040b3b0
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040d344]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040d354]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040b820
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040a130
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40d560
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, [0x0048ec80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0048eca8], ax
jne 0x40d5cb
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0048ecaa]
mov r8d, 0x55
call fcn.0040b3b0
lea rcx, [0x0048ec80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d6d7
lea rcx, [0x0048ec80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040a050
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d690
cmp byte [0x0048ec78], 0
je 0x40d624
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040d3f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040a650
jmp 0x40d690
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040d120
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a650
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40d690
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40d66f
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040d724]
call fcn.0040b620
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040d120
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040b620
lea rcx, [0x0048ec80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0048eca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040b300
lea rcx, [0x0048ecaa]
mov rdx, rax
mov r8d, 0xaa
call sub.kernel32.dll_lstrcpynW
lea rcx, [0x0048ec80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040a130
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40e0b0
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.0040a1e0
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.0040b3b0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040b6f0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040dee0
test al, al
jne 0x40e17e
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b3b0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040b6f0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040dee0
test al, al
jne 0x40e17e
mov rcx, qword [rbp + 0x20]
call fcn.0040a050
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040a130
lea rcx, [rbp + 0x70]
call fcn.0040a050
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40e1e0
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.0040a1e0
mov rcx, qword [rbp + 0x90]
call fcn.0040a1e0
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040a050
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040a6d0
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40e283
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40e2bd
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40e2b6
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040b900
jmp 0x40e2bd
sub eax, 1
test eax, eax
jne 0x40e288
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040ddf0
cmp qword [rbp + 0x68], 0
je 0x40e2fb
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040df80
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040a650
jmp 0x40e397
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040d560
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040df80
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040a650
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40e370
cmp byte [0x0048ec78], 0
jne 0x40e370
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040d560
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040df80
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a650
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40e397
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040e0b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040a650
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040a130
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040a130
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40f020
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x40f040
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x40f064
cmp eax, 1
jae 0x40f069
cmp ecx, 5
jbe 0x40f075
mov dword [0x0048a9a0], 0x7f
jmp 0x40f07f
mov dword [0x0048a9a0], 0x409
add rsp, 0x28
ret