joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a726a
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a8
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.1401a7ab8
lea r9, [rsp + 0x160]
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
call fcn.1401b488e
test al, al
je 0x1401a731c
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401a7365
mov rcx, rdi
call fcn.1401a7ab8
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, rbx
call fcn.1401b488e
test al, al
je 0x1401a73ae
cmp dword [rbx], 0x4550
jne 0x1401a73f1
mov sil, 1
test r14, r14
je 0x1401a745c
mov qword [r14], rdi
jmp 0x1401a745c
mov ecx, 1
call fcn.140060b40
test al, al
je 0x1401a745a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140060c10
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1401a7431
mov ecx, 1
call fcn.140060b40
test al, al
je 0x1401a745a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140060c10
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401a7431
mov ecx, 1
call fcn.140060b40
test al, al
je 0x1401a745a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140060c10
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401a735a
mov ecx, 1
call fcn.140060b40
test al, al
je 0x1401a745a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140060c10
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140007184
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401a7447
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140007184
mov rcx, rdi
call fcn.140061070
xor esi, esi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401a9f60
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.140177d88
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401cccd0

Function at 0x1401d7928
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401d7a58
Function at 0x41b9a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
test rsi, rsi
je 0x41bae2
test rbx, rbx
je 0x41bae2
test r15, r15
je 0x41bae2
lea rcx, [0x00436b70]
call sub.KERNEL32_GetModuleHandleA
mov rdi, rax
test rdi, rdi
je 0x41bae2
mov r13, qword [rbp + 0x78]
mov r12, qword [rbp + 0x70]
lea rdx, [0x00436b79]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [rsi], rax
lea rdx, [0x00436b92]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [rbx], rax
lea rdx, [0x00436bad]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r15], rax
lea rdx, [0x00436bcc]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r14], rax
lea rdx, [0x00436be7]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r12], rax
lea rdx, [0x00436c15]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r13], rax
mov rax, qword [rsi]
mov qword [0x00443060], rax
cmp qword [r14], 0
je 0x41babe
cmp qword [r12], 0
jne 0x41ba8c
lea rax, [0x0041b950]
mov qword [r12], rax
mov rcx, qword [r13]
test rcx, rcx
je 0x41bad1
cmp qword [rsi], 0
je 0x41bae2
cmp qword [rbx], 0
je 0x41bae2
cmp qword [r15], 0
je 0x41bae2
cmp qword [r14], 0
je 0x41bae2
cmp qword [r12], 0
je 0x41bae2
xor eax, eax
test rcx, rcx
setne al
jmp 0x41bae4
lea rax, [0x0041b960]
mov qword [r14], rax
cmp qword [r12], 0
jne 0x41ba8c
jmp 0x41ba81
lea rcx, [0x0041b950]
mov qword [r13], rcx
cmp qword [rsi], 0
jne 0x41ba9b
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x41e0b0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rsi, rcx
cmp qword [0x00443458], 0
je 0x41e0e0
cmp rsi, 0xffffffffffffff7f
jbe 0x41e15c
jmp 0x41e322
lea rcx, [rbp - 0x28]
call sub.KERNEL32_GetSystemInfo
mov eax, dword [rbp]
lea ecx, [rax - 1]
test rcx, rax
jne 0x41e33b
mov edx, 0xffffffff
mov ecx, dword [rbp - 0x24]
add edx, ecx
test rdx, rcx
jne 0x41e33b
mov qword [0x00443468], rax
mov qword [0x00443460], rcx
movaps xmm0, xmmword [0x00436d50]
movups xmmword [0x00443470], xmm0
mov dword [0x00443480], 5
mov dword [0x00443420], 5
call sub.KERNEL32_GetTickCount
and eax, 0xfffffff0
xor eax, 0x55555558
mov qword [0x00443458], rax
cmp rsi, 0xffffffffffffff7f
ja 0x41e322
mov rcx, qword [0x004430d8]
test rcx, rcx
je 0x41e322
lea rdx, [rsi + 0x50]
mov rax, qword [0x004430c0]
cmp rax, rdx
jbe 0x41e2fa
mov rbx, qword [0x00443468]
mov rdx, 0xffffffffffffffb0
sub rdx, rsi
add rdx, rax
lea rax, [rbx + rdx - 1]
xor edx, edx
div rbx
mov r15, rax
dec r15
imul r15, rbx
lea rbx, [0x00443428]
nop
mov rax, qword [rbx]
cmp rax, rcx
ja 0x41e1c1
add rax, qword [rbx + 8]
cmp rax, rcx
ja 0x41e1cc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x41e1b0
xor ebx, ebx
mov eax, dword [rbx + 0x18]
and eax, 9
cmp eax, 1
jne 0x41e2fa
mov rcx, qword [rbx + 8]
mov rax, rcx
sub rax, r15
jb 0x41e2fa
mov rdi, qword [rbx]
add rcx, rdi
lea rdx, [0x00443428]
nop dword [rax + rax]
cmp rdi, rdx
ja 0x41e20e
cmp rcx, rdx
ja 0x41e2fa
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x41e200
test r15, r15
je 0x41e2fa
add rdi, rax
lea r14, [rbp - 0x28]
mov rsi, r15
mov r8d, 0x30
mov rcx, rdi
mov rdx, r14
call sub.KERNEL32_VirtualQuery
cmp qword [rbp - 0x10], rsi
ja 0x41e2fa
test rax, rax
je 0x41e2fa
cmp qword [rbp - 0x28], rdi
jne 0x41e2fa
cmp qword [rbp - 0x20], rdi
jne 0x41e2fa
cmp dword [rbp - 8], 0x1000
jne 0x41e2fa
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call sub.KERNEL32_VirtualFree
test eax, eax
je 0x41e2fa
mov rax, qword [rbp - 0x10]
add rdi, rax
sub rsi, rax
jne 0x41e22a
sub qword [rbx + 8], r15
sub qword [0x00443408], r15
mov rax, qword [0x004430d8]
mov rdi, qword [0x004430c0]
sub rdi, r15
lea rdx, [rax + 0x10]
mov ebx, edx
and ebx, 0xf
neg edx
and edx, 0xf
test rbx, rbx
cmove rdx, rbx
lea rbx, [rax + rdx]
mov rcx, rdi
sub rcx, rdx
mov qword [0x004430d8], rbx
mov qword [0x004430c0], rcx
or rcx, 1
mov qword [rax + rdx + 8], rcx
mov qword [rax + rdi + 8], 0x50
mov rax, qword [0x00443478]
mov qword [0x004430e0], rax
jmp 0x41e2fd
xor r15d, r15d
call fcn.0041e350
add rax, r15
jne 0x41e324
mov rax, qword [0x004430c0]
cmp rax, qword [0x004430e0]
jbe 0x41e322
mov qword [0x004430e0], 0xffffffffffffffff
xor eax, eax
xor ecx, ecx
test rax, rax
setne cl
mov eax, ecx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call fcn.0042e760
ud2
Function at 0x4214b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, edx
call sub.KERNEL32_GetFileAttributesA
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4214ed
xor eax, eax
test sil, 2
je 0x4214e6
and ecx, 1
je 0x4214e6
call fcn.0042e160
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x28
pop rsi
pop rbp
ret
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.00423980
jmp 0x4214b0

Function at 0x421880
Capabilities:
Check if file exists

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov ebx, edx
mov r14, rcx
mov qword [rbp + 0x48], r9
mov qword [rbp + 0x40], r8
test bh, 0xc0
jne 0x4218b1
mov rax, qword [0x00440aa0]
mov ecx, 0xc000
and ecx, dword [rax]
or ebx, ecx
mov eax, ebx
and eax, 0x700
add eax, 0xffffff00
shr eax, 8
mov edi, 3
cmp eax, 6
ja 0x4218dc
shl rax, 0x28
sar rax, 0x28
lea rcx, [0x00436e10]
mov edi, dword [rcx + rax*4]
test bh, 1
je 0x421901
lea rax, [rbp + 0x48]
mov qword [rbp - 0x18], rax
mov al, byte [0x0043c270]
and al, byte [rbp + 0x40]
mov eax, 0x80
mov ecx, 1
cmovs ecx, eax
jmp 0x421911
mov rcx, r14
call sub.KERNEL32_GetFileAttributesA
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ebx
and al, 3
je 0x42192a
cmp al, 2
je 0x421931
cmp al, 1
jne 0x421a0f
mov edx, 0x40000000
jmp 0x421936
mov edx, 0x80000000
jmp 0x421936
mov edx, 0xc0000000
mov eax, ebx
and eax, 0x70
add eax, 0xfffffff0
shr eax, 4
cmp eax, 3
mov esi, 3
cmovb esi, eax
xor r8d, r8d
cmp edx, 0x80000000
sete r8b
test bl, 4
cmove r8d, esi
mov dword [rbp - 0x18], 0x18
mov qword [rbp - 0x10], 0
mov eax, ebx
shr eax, 7
not eax
and eax, 1
mov dword [rbp - 8], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x30], 0
lea r9, [rbp - 0x18]
mov rcx, r14
call sub.KERNEL32_CreateFileA
mov rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x4219ef
mov edi, ebx
shr edi, 1
not edi
and edi, 0x4000
or edi, ebx
mov ecx, esi
call fcn.004217e0
mov edx, edi
or edx, 0x2000
test eax, eax
cmove edx, edi
and edx, 0xfffff8ff
mov ecx, esi
call fcn.00423050
cmp eax, 0xffffffff
jne 0x421a19
mov ecx, 4
call fcn.004238d0
mov rcx, rsi
call sub.KERNEL32_CloseHandle
mov eax, 0xffffffff
jmp 0x421a19
call sub.KERNEL32_GetLastError
movzx eax, ax
test bh, 1
mov edx, 0x50
mov ecx, 2
cmovne ecx, edx
cmp eax, 0x6e
cmovne ecx, eax
jmp 0x421a14
mov ecx, 1
call fcn.004238d0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x421a30
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov r15d, r8d
mov rdi, rdx
mov r12d, ecx
cmp dword [0x00440280], r12d
jbe 0x421a9b
lea eax, [r15 + 1]
xor r14d, r14d
cmp eax, 2
jb 0x421c2b
movsxd rax, r12d
lea rcx, [0x00440290]
mov qword [rbp - 0x10], rax
mov eax, dword [rcx + rax*4]
test ah, 0x40
jne 0x421ab5
mov ecx, r12d
mov rdx, rdi
mov r8d, r15d
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.00422280
mov ecx, 0xfffffffa
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.004238d0
test ah, 2
jne 0x421c2b
xor r14d, r14d
mov qword [rbp - 0x20], r15
mov dword [rbp + 4], r12d
nop dword [rax]
mov ebx, r15d
sub ebx, r14d
mov ecx, r12d
mov rdx, rdi
mov r8d, ebx
call fcn.00422280
mov esi, eax
cmp esi, 0xffffffff
je 0x421c25
test esi, esi
je 0x421c2b
mov r8d, esi
mov edx, 0x1a
mov rcx, rdi
call fcn.00421480
mov r13, rax
test r13, r13
je 0x421b2a
mov rax, qword [rbp - 0x10]
lea rcx, [0x00440290]
or byte [rcx + rax*4 + 1], 2
mov esi, r13d
sub esi, edi
je 0x421c2b
lea edx, [rsi - 1]
cmp byte [rdi + rdx], 0xd
jne 0x421b4d
add rdx, rdi
mov r8d, 1
mov ecx, r12d
call fcn.00422280
cmp eax, 0xffffffff
je 0x421c25
mov qword [rbp - 0x18], r13
mov dword [rbp], ebx
mov dword [rbp - 4], r14d
mov qword [rbp - 0x28], rsi
mov eax, esi
lea rbx, [rdi + rax]
lea rsi, [rdi + rax - 1]
mov r14, rdi
mov qword [rbp - 0x30], rdi
jmp 0x421b7c
inc r13
mov eax, r12d
add r14, rax
mov rdi, r13
mov r8, rbx
sub r8, rdi
mov edx, 0xd
mov rcx, rdi
call fcn.00421480
test rax, rax
mov r13, rbx
je 0x421b9a
mov r13, rax
mov r12, r13
sub r12, rdi
cmp rdi, r14
je 0x421bb3
mov r8d, r12d
mov rcx, r14
mov rdx, rdi
call fcn.00420890
cmp r13, rsi
jb 0x421b70
mov rdi, qword [rbp - 0x30]
sub r14, rdi
add r12, r14
mov r14d, dword [rbp - 4]
add r14d, r12d
mov rax, qword [rbp - 0x28]
cmp eax, dword [rbp]
jae 0x421c00
cmp qword [rbp - 0x18], 0
jne 0x421c2b
mov rax, qword [rbp - 0x10]
lea rcx, [0x00440290]
mov eax, dword [rcx + rax*4]
mov ecx, 0x2000
and eax, ecx
or eax, r12d
je 0x421c0c
jmp 0x421c2b
cmp qword [rbp - 0x18], 0
jne 0x421c2b
test r12d, r12d
jne 0x421c2b
mov eax, r12d
add rdi, rax
mov r15, qword [rbp - 0x20]
cmp r14d, r15d
mov r12d, dword [rbp + 4]
jb 0x421ad0
jmp 0x421c2b
mov r14d, 0xffffffff
mov eax, r14d
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x422280
Capabilities:
Read file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
cmp dword [0x00440280], ecx
jbe 0x4222bc
movsxd rax, ecx
lea rcx, [0x00443cb0]
movsxd rcx, dword [rcx + rax*4]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 4]
call sub.KERNEL32_ReadFile
cmp eax, 1
jne 0x4222cd
mov eax, dword [rbp - 4]
jmp 0x4222c6
mov ecx, 6
call fcn.004238d0
nop
add rsp, 0x30
pop rbp
ret
call sub.KERNEL32_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
je 0x4222c6
jmp 0x4222c1
Function at 0x422310
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
cmp dword [0x00440280], ecx
jbe 0x42234c
movsxd rax, ecx
lea rcx, [0x00443cb0]
movsxd rcx, dword [rcx + rax*4]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 4]
call sub.KERNEL32_WriteFile
cmp eax, 1
jne 0x422358
mov eax, dword [rbp - 4]
jmp 0x42235d
mov ecx, 6
call fcn.004238d0
jmp 0x42235d
call fcn.00423980
nop
add rsp, 0x30
pop rbp
ret

Function at 0x424d90
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
call sub.KERNEL32_DeleteFileA
cmp eax, 1
jne 0x424dac
xor eax, eax
add rsp, 0x20
pop rbp
ret
add rsp, 0x20
pop rbp
jmp fcn.00423980

Function at 0x425030
Capabilities:
Timestomp file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rdi, rdx
call fcn.00424280
mov rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x425077
test rdi, rdi
je 0x42507e
mov rcx, qword [rdi]
lea rdx, [rbp - 8]
call fcn.00424dc0
cmp eax, 1
jne 0x4250b1
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x10]
call fcn.00424dc0
cmp eax, 1
je 0x42509e
jmp 0x4250b1
mov ecx, 0xffffffff
jmp 0x4250be
lea rdi, [rbp - 0x20]
mov rcx, rdi
call sub.KERNEL32_GetLocalTime
lea rdx, [rbp - 8]
mov rcx, rdi
call sub.KERNEL32_SystemTimeToFileTime
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
mov rcx, rsi
mov r9, rdx
call sub.KERNEL32_SetFileTime
xor ecx, ecx
test eax, eax
jne 0x4250be
call fcn.00423980
mov ecx, eax
mov eax, ecx
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x426610
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, edx
call sub.KERNEL32_GetFileAttributesA
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4214ed
xor eax, eax
test sil, 2
je 0x4214e6
and ecx, 1
je 0x4214e6
call fcn.0042e160
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x28
pop rsi
pop rbp
ret
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.00423980
jmp 0x4214b0
Function at 0x427e90
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x228
lea rbp, [rsp + 0x80]
mov r14, rdx
mov r15, rcx
mov ecx, dword [r15 + 4]
lea rbx, [rbp - 0x60]
mov edi, pe_nt_image_headers64
mov edx, 0x1001
mov r9d, pe_nt_image_headers64
mov r8, rbx
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.004212a0
mov word [rbp + rax - 0x60], 0x5f
mov esi, dword [r15 + 4]
mov rcx, rbx
call fcn.004212a0
lea r8, [rbp + rax - 0x60]
sub edi, eax
mov edx, 0x1002
mov ecx, esi
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.004212a0
mov word [rbp + rax - 0x60], 0x2e
mov esi, dword [r15]
mov rcx, rbx
call fcn.004212a0
lea rdx, [rbp + rax - 0x60]
mov r8d, 0xa
mov ecx, esi
call fcn.0042b950
mov rbx, qword [r15 + 0x38]
test rbx, rbx
je 0x427f73
mov rcx, rbx
call fcn.004212a0
mov rsi, rax
mov rcx, r14
call fcn.004212a0
mov rdi, rax
lea rcx, [rbp - 0x60]
call fcn.004212a0
add rdi, rsi
lea rdx, [rax + rdi + 3]
mov rcx, rbx
call fcn.0041bdd0
mov rbx, rax
mov qword [r15 + 0x38], rbx
test rbx, rbx
jne 0x427fb7
jmp 0x427ffa
mov rcx, r14
call fcn.004212a0
mov rsi, rax
lea rcx, [rbp - 0x60]
call fcn.004212a0
mov rdi, rax
lea rcx, [rsi + rdi + 3]
call fcn.0041bdb0
mov rbx, rax
mov qword [r15 + 0x38], rbx
test rbx, rbx
je 0x427ffa
mov rcx, r14
call fcn.004212a0
lea r8, [rdi + rax + 3]
xor edx, edx
mov rcx, rbx
call fcn.00420b60
mov rcx, rbx
mov rdx, r14
call fcn.00421330
mov rsi, qword [r15 + 0x38]
mov rcx, rsi
call fcn.004212a0
mov word [rsi + rax], 0x3d
mov rcx, qword [r15 + 0x38]
lea rdx, [rbp - 0x60]
call fcn.00421330
mov rsi, qword [r15 + 0x38]
mov rcx, rsi
call fcn.004212a0
mov word [rsi + rax], 0xa
mov eax, 1
jmp 0x427ffc
xor eax, eax
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x428010
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov rdi, rdx
mov r12, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x60], 0x656e6f6e
mov dword [rbp + 0xc], 0x303030
mov rcx, rdi
call fcn.0042a100
xor esi, esi
mov r13d, 1
lea r14, [rbp - 0x60]
lea rbx, [rbp + 0xc]
mov r15d, 1
mov qword [rbp + 0x10], rdi
nop word cs:[rax + rax]
mov edi, r15d
and edi, 0xfbff
or edi, 0x400
mov edx, 0x1001
mov r9d, 0x40
mov ecx, edi
mov r8, r14
call sub.KERNEL32_GetLocaleInfoA
mov edx, 3
mov r9d, 4
mov ecx, edi
mov rdi, qword [rbp + 0x10]
mov r8, rbx
call sub.KERNEL32_GetLocaleInfoA
mov rcx, r14
call fcn.0042a100
mov rcx, rbx
call fcn.0042a100
mov rcx, rdi
mov rdx, r14
call fcn.004205e0
test rax, rax
jne 0x428157
mov rcx, rbx
call fcn.004212a0
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.00420e10
xor ecx, ecx
test eax, eax
setne cl
cmove esi, r13d
add r15d, ecx
cmp r15d, 0x38
jg 0x42810f
test esi, esi
je 0x428080
test esi, esi
jne 0x428157
mov edx, 0x5f
mov rcx, rdi
call fcn.00421450
test rax, rax
jne 0x42813b
mov edx, 0x2e
mov rcx, rdi
call fcn.00421450
test rax, rax
je 0x428267
mov r15d, dword [r12 + 4]
test r15d, r15d
je 0x42814e
and r15d, 0x3ff
jmp 0x428157
call sub.KERNEL32_GetSystemDefaultLangID
movzx r15d, ax
mov edx, 0x5f
mov rcx, rdi
call fcn.00421450
test rax, rax
je 0x428215
mov qword [rbp], r12
inc rax
mov edx, 0x2e
mov qword [rbp - 0x10], rax
mov rcx, rax
call fcn.00421450
test rax, rax
je 0x42818d
mov byte [rax], 0
mov qword [rbp - 8], rax
xor ebx, ebx
lea rdi, [rbp - 0x60]
mov r13d, 1
xor r12d, r12d
mov eax, r13d
shl eax, 0xa
or eax, r15d
movzx esi, ax
mov edx, 0x1002
mov r9d, 0x40
mov ecx, esi
mov r8, rdi
call sub.KERNEL32_GetLocaleInfoA
mov r14d, eax
mov rcx, rdi
call fcn.0042a100
mov rcx, rdi
mov rdx, qword [rbp - 0x10]
call fcn.004213c0
xor ecx, ecx
test eax, eax
setne al
mov edx, 1
cmove r12d, edx
cmove ebx, esi
test r14d, r14d
je 0x4281fa
mov cl, al
add r13d, ecx
test r12d, r12d
je 0x4281a0
test r12d, r12d
je 0x428267
mov rax, qword [rbp - 8]
test rax, rax
je 0x42820b
mov byte [rax], 0x2e
mov r12, qword [rbp]
mov rdi, qword [rbp + 0x10]
jmp 0x428226
and r15d, 0xfbff
or r15d, 0x400
mov ebx, r15d
mov edx, 0x2e
mov rcx, rdi
call fcn.00421450
mov rsi, rax
test rsi, rsi
je 0x428240
inc rsi
jmp 0x428259
lea rsi, [rbp - 0x17]
mov edx, 0xb
mov r9d, 7
mov ecx, ebx
mov r8, rsi
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rsi
call fcn.0042afa0
mov dword [r12], eax
jmp 0x428273
mov ecx, 0x20000101
call sub.KERNEL32_SetLastError
xor ebx, ebx
mov eax, ebx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x429dc0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov r13, rdx
mov r14d, ecx
mov r8, qword [r13 + 8]
xor r12d, r12d
mov edx, 0xe
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.0041bdb0
mov qword [r13 + 8], rax
mov edx, 0xe
mov ecx, r14d
mov r8, rax
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
mov r8, qword [r13]
mov edx, 0xf
xor r9d, r9d
mov ecx, r14d
call sub.KERNEL32_GetLocaleInfoA
mov edi, eax
inc edi
movsxd rcx, edi
call fcn.0041bdb0
mov qword [r13], rax
test r13, r13
je 0x429e61
mov edx, 0xf
mov ecx, r14d
mov r8, rax
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
xor r12d, r12d
test eax, eax
setne r12b
jmp 0x429e6b
mov ecx, 0xe
call sub.KERNEL32_SetLastError
and r12d, ebx
mov r8, qword [r13 + 0x10]
xor r15d, r15d
mov edx, 0x10
xor r9d, r9d
mov ecx, r14d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.0041bdb0
mov qword [r13 + 0x10], rax
mov edx, 0x10
mov ecx, r14d
mov r8, rax
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
mov r8, qword [r13 + 0x18]
mov edx, 0x50
xor r9d, r9d
mov ecx, r14d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.0041bdb0
mov qword [r13 + 0x18], rax
mov edx, 0x50
mov ecx, r14d
mov r8, rax
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
xor esi, esi
test eax, eax
setne sil
and esi, ebx
and esi, r12d
mov r8, qword [r13 + 0x20]
mov edx, 0x51
xor r9d, r9d
mov ecx, r14d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.0041bdb0
mov qword [r13 + 0x20], rax
mov edx, 0x51
mov ecx, r14d
mov r8, rax
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
and ebx, esi
mov ecx, 4
call fcn.0041bdb0
mov rdi, rax
test rdi, rdi
je 0x429f7f
mov edx, 0x11
mov r9d, 4
mov ecx, r14d
mov r8, rdi
call sub.KERNEL32_GetLocaleInfoA
test eax, eax
je 0x429f8b
mov rcx, rdi
call fcn.0042afa0
mov word [r13 + 0x28], ax
mov rcx, rdi
call fcn.0041bdc0
mov r15d, 1
jmp 0x429f96
mov ecx, 0xe
call sub.KERNEL32_SetLastError
jmp 0x429f96
mov rcx, rdi
call fcn.0041bdc0
xor r15d, r15d
and ebx, r15d
mov eax, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x42ad80
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp fcn.00427400