joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800af120
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc0
mov r14d, r9d
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r12d, r15d
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x71], r15
mov ebx, r15d
mov r13, qword [rbp + 0x77]
mov rsi, qword [rbp - 0x79]
cmp qword [rbp - 0x11], rbx
jbe 0x1800af22a
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
mov r8d, 0x30
lea rdx, [rbp - 0x51]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800af1bf
mov eax, dword [rbp - 0x1d]
add rbx, rax
jmp 0x1800af21c
mov rcx, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x51]
lea rax, [rcx + rdx]
cmp rax, r13
jb 0x1800af219
mov eax, dword [rbp - 0x2d]
cmp eax, r14d
jb 0x1800af219
bt eax, 8
jb 0x1800af219
mov qword [rbp - 0x61], rdx
mov qword [rbp - 0x59], rcx
cmp rsi, r12
je 0x1800af1fc
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rsi], xmm0
add rsi, 0x10
mov qword [rbp - 0x79], rsi
jmp 0x1800af215
lea r8, [rbp - 0x61]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1800ae9c0
mov r12, qword [rbp - 0x71]
mov rsi, qword [rbp - 0x79]
mov rcx, qword [rbp - 0x39]
add rbx, rcx
cmp rbx, qword [rbp - 0x11]
jb 0x1800af190
mov qword [rbp - 0x69], r12
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x28]
mov r15, rcx
cmp rcx, rsi
je 0x1800af2f4
mov r14, qword [rbp + 0x7f]
mov r12, qword [rbp + 0x5f]
nop word [rax + rax]
movups xmm0, xmmword [r15]
mov rbx, r13
movq rcx, xmm0
cmp rcx, r13
cmova rbx, rcx
cmp rbx, r14
jae 0x1800af2de
psrldq xmm0, 8
movq r13, xmm0
add r13, rcx
movzx esi, word [rbp + 0x67]
nop dword [rax]
movzx r9d, si
mov r8, r12
mov rdx, r13
mov rcx, rbx
call fcn.1800af090
mov rbx, rax
test rax, rax
je 0x1800af2d6
mov qword [rbp - 0x61], rax
inc rbx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1800af2c5
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x1800af2d1
lea r8, [rbp - 0x61]
mov rcx, rdi
call fcn.180008910
cmp rbx, r14
jb 0x1800af290
mov rsi, qword [rbp - 0x79]
mov r13, qword [rbp + 0x77]
add r15, 0x10
cmp r15, rsi
jne 0x1800af260
mov r12, qword [rbp - 0x69]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800af329
sub r12, rcx
and r12, 0xfffffffffffffff0
mov rax, rcx
cmp r12, 0x1000
jb 0x1800af321
add r12, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800af347
mov rdx, r12
call fcn.1800b75a8
mov rax, rdi
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800c5e18
int3
Function at 0x1800af350
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [rax]
jne 0x1800af3e0
movsxd rdx, dword [rax + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x1800af3e0
mov ecx, dword [rdx + rax + 0x98]
test rcx, rcx
je 0x1800af3e0
add rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rcx
call fcn.1800b0d70
test rax, rax
je 0x1800af3e0
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp word [rbx + r9*2], 0
jne 0x1800af3b0
mov rdx, qword [rsp + 0x40]
add r9, r9
mov rcx, qword [rsp + 0x38]
add rdx, 0xfffffffffffffffc
mov r8, rbx
call fcn.1800b0de0
test rax, rax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1800af8c0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov qword [rcx], rax
mov rdx, rcx
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
lea rcx, [0x1800aedd0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800b0fb0
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.1800b11d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800b10b7
mov rax, qword [0x180110b50]
cmp qword [rsp + 0x20], rax
jb 0x1800b1014
mov rax, qword [0x180110b58]
cmp qword [rsp + 0x20], rax
ja 0x1800b1014
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800b0fd6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800df510
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800b1043
jmp 0x1800b10b7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800b109a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800b109a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800b1088
mov rax, qword [rsp + 0x28]
jmp 0x1800b10b9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800b10b2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800b11d0
mov qword [rsp + 0x20], rax
jmp 0x1800b0fd6
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800b10c0
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.1800b1210
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800b11c3
mov rax, qword [0x180110b50]
cmp qword [rsp + 0x20], rax
jb 0x1800b111b
mov rax, qword [0x180110b58]
cmp qword [rsp + 0x20], rax
ja 0x1800b111b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800b10dd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800df510
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800b114a
jmp 0x1800b11c3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800b11a1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800b11a1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800b118f
mov rax, qword [rsp + 0x28]
jmp 0x1800b11c5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800b11be
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800b1210
mov qword [rsp + 0x20], rax
jmp 0x1800b10dd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800b65fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800b6636
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800b663b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800b6684
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800f2e30]
cmp byte [rcx + rax], 0
je 0x1800b6684
dec r8
sub rdx, 1
jne 0x1800b666a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800ce3c8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800ce437
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800ce437
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800ce437
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800ce437
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800ce437
cmp dword [rcx + 0x84], 0xe
jbe 0x1800ce437
cmp dword [rcx + 0xf8], 0
je 0x1800ce437
mov ecx, ebx
call fcn.1800ce4f4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800ce2c4
nop
cmp dword [rbp + 0x20], 0
je 0x1800ce485
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800ce490
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800ce3c8
Function at 0x1800d7580
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800d75b0
xor eax, eax
jmp 0x1800d7673
mov rbp, rbx
cmp word [rax], si
je 0x1800d75d5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800d75bc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800d75b8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800d5d04
movsxd r14, eax
test eax, eax
jne 0x1800d7613
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800d75a9
mov rcx, r14
call fcn.1800d15bc
mov rdi, rax
test rax, rax
jne 0x1800d762c
xor ecx, ecx
call fcn.1800d1580
jmp 0x1800d7608
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800d5d04
test eax, eax
jne 0x1800d765d
mov rcx, rdi
call fcn.1800d1580
jmp 0x1800d7667
xor ecx, ecx
call fcn.1800d1580
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800df270
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800df298
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800df298
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18001d55c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18001d596
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18001d59b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18001d5e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18002ba70]
cmp byte [rcx + rax], 0
je 0x18001d5e4
dec r8
sub rdx, 1
jne 0x18001d5ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18001f670
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, rcx
mov dword [rax - 0x28], 0
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], r8
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x18001f6cb
call fcn.18001f1d0
mov r8, qword [rax + 0xe0]
jmp 0x18001f6d7
call fcn.18001f1d0
mov r8, qword [rax + 0xd8]
lea rdx, [rsp + 0x48]
mov ecx, dword [rbx]
call r8
mov dword [rsp + 0x40], 0
jmp 0x18001f6eb
mov eax, dword [rsp + 0x40]
add rsp, 0x60
pop rbx
ret
Function at 0x18001f700
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x18001f758
call fcn.18001f1d0
add rax, 0x138
jmp 0x18001f761
call fcn.18001f4e0
add rax, 0x28
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rbx + 8]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x18001f79d
call fcn.18001f1d0
add rax, 0x128
jmp 0x18001f7a6
call fcn.18001f4e0
add rax, 0x18
mov qword [rax], rdi
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x18001f7e0
call fcn.18001f1d0
add rax, 0x130
jmp 0x18001f7e9
call fcn.18001f4e0
add rax, 0x20
mov qword [rax], rdi
call fcn.18001f4e0
mov ecx, dword [rsp + 0x80]
xor edi, edi
mov byte [rsp + 0x38], 1
mov r9, rbx
mov qword [rsp + 0x30], rdi
mov r8, rbp
mov dword [rax + 0x30], ecx
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.180023e70
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x18001f856
call fcn.18001f1d0
add rax, 0x138
jmp 0x18001f85f
call fcn.18001f4e0
add rax, 0x28
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov qword [rax], rdi
mov eax, 1
mov rdi, qword [rsp + 0x68]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x1800220f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180033e40]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18002212c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18001e328
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1800221e8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18002224e
test ebx, ebx
jne 0x18002224e
lea ecx, [rax + 2]
call fcn.18001e328
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18001c1d0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x180022ad0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x180033e40]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x180022b3c
mov edx, 0x2d
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x180022b3c
xor ebx, ebx
lea r8, [rsp + 0x120]
mov ecx, ebx
mov rdx, rdi
nop
movsx eax, byte [rdx]
test al, al
je 0x180022b6c
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x180022b20
bt dword [0x18002da98], 0
lea rdx, str.setlocale
lea rcx, [0x180034038]
call fcn.180025240
test rax, rax
je 0x180022c45
mov rdx, rdi
mov ecx, esi
call rax
jmp 0x180022c45
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x180022c6a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x180022b3c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x180022b3c
movsxd rcx, eax
lea r8, [rsp + 0x320]
mov edx, 0x5f
mov r9d, 0x100
sub r9d, eax
mov word [rsp + rcx*2 + 0x31e], dx
lea r8, [r8 + rcx*2]
mov edx, 0x1002
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x180022b3c
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x20]
movzx edx, word [rax]
test dx, dx
je 0x180022c33
mov byte [rcx], dl
inc ebx
inc rcx
add rax, 2
cmp ebx, 0x100
jne 0x180022c13
jmp 0x180022b3c
movsxd rax, ebx
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
jmp 0x180022b3c
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.18001c1d0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.18001d6fc
int3
Function at 0x1800243a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword gs:[0x30]
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov rbx, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x1800243f8
call fcn.18001f1d0
mov ecx, dword [rax + 0x2c0]
jmp 0x180024400
call fcn.18001f4e0
mov ecx, dword [rax + 0x10]
mov rdi, qword [rsp + 0xa0]
test ecx, ecx
jne 0x18002443c
mov eax, dword [rbx]
cmp eax, 0xe06d7363
je 0x18002443c
cmp eax, 0x80000029
jne 0x18002442c
cmp dword [rbx + 0x18], 0xf
jne 0x180024433
cmp qword [rbx + 0x60], 0x19930520
je 0x18002443c
cmp eax, 0x80000026
je 0x18002443c
test byte [rdi], 0x20
jne 0x1800245c7
mov r8d, dword [rbx + 4]
test r8b, 0x66
je 0x180024500
movsxd rax, dword [rdi + 8]
test eax, eax
je 0x1800245c7
mov rdx, rax
lea r9, [0x180000000]
add rdx, qword [rsi + 8]
movzx ecx, byte [rdx]
and ecx, 0xf
movsx rax, byte [rcx + r9 + 0x2bd80]
movzx ecx, byte [rcx + r9 + 0x2bd90]
sub rdx, rax
mov eax, dword [rdx - 4]
shr eax, cl
test eax, eax
je 0x1800245c7
cmp dword [rsp + 0xa8], 0
jne 0x1800245c7
test r8b, 0x20
je 0x1800244ed
mov eax, dword [rbx]
cmp eax, 0x80000026
jne 0x1800244ce
mov r8, qword [rsi + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.180026690
mov r9d, eax
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.180023630
jmp 0x1800245c7
cmp eax, 0x80000029
jne 0x1800244ed
mov r9d, dword [rbx + 0x38]
mov r8, rdi
mov rcx, qword [rbx + 0x28]
mov rdx, rsi
call fcn.180023630
jmp 0x1800245c7
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.18001ed50
jmp 0x1800245c7
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.1800231c0
cmp dword [rsp + 0x40], 0
jne 0x180024521
test byte [rdi], 0x40
je 0x1800245c7
cmp dword [rbx], 0xe06d7363
jne 0x18002458d
cmp dword [rbx + 0x18], 3
jb 0x18002458d
cmp dword [rbx + 0x20], 0x19930522
jbe 0x18002458d
mov rax, qword [rbx + 0x30]
cmp dword [rax + 8], 0
je 0x18002458d
call fcn.18001f2a0
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rcx + 8]
add rax, rdx
je 0x18002458d
movzx ecx, byte [rsp + 0xb8]
mov r9, rsi
mov dword [rsp + 0x38], ecx
mov r8, r14
mov rcx, qword [rsp + 0xb0]
mov rdx, rbp
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call rax
jmp 0x1800245cc
mov rax, qword [rsp + 0xb0]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov r8, r14
mov eax, dword [rsp + 0xa8]
mov rdx, rbp
mov dword [rsp + 0x30], eax
mov rcx, rbx
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
call fcn.1800245f0
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140661058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406611df
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 0x140661089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14066106f
add dl, dl
jne 0x140661096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406610f6
xor eax, eax
add dl, dl
jne 0x1406610a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406611ad
add dl, dl
jne 0x1406610b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406610c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406610d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406610dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406610ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14066107e
mov eax, 1
add dl, dl
jne 0x140661106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140661113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406610fb
sub eax, ebx
mov ebx, 1
jne 0x14066114c
mov ecx, 1
add dl, dl
jne 0x14066112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14066113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140661123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140661168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140661175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14066115d
cmp eax, 0x7d00
jae 0x14066119b
cmp eax, 0x500
jb 0x140661196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066107e
cmp eax, 0x7f
ja 0x14066119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406611d2
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 0x14066107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20