joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001457c
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 0x1400145eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400145eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400145eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400145eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400145eb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400145eb
cmp dword [rcx + 0xf8], 0
je 0x1400145eb
mov ecx, ebx
call fcn.14001469c
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.140014478
nop
cmp dword [rbp + 0x20], 0
je 0x140014639
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140014644
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001457c

Function at 0x140014780
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001457c
Function at 0x14001c634
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140008730
sub rsp, rax
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001835c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001c683
mov rax, rbp
jmp 0x14001c78b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3e840]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001d754
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3e840]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001c787
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001c787
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001d754
test rax, rax
js 0x14001c787
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001c787
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001c779
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001c779
cmp byte [rcx], 0xd
jne 0x14001c75f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001c76e
cmp byte [rcx + 1], 0xa
jne 0x14001c76e
inc rcx
jmp 0x14001c76e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3c480]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001c741
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001c78b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400080d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001c9ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001c9c2
mov al, 1
jmp 0x14001ca22
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001c9d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001ca20
mov ecx, dword [rcx + 0x18]
nop
call fcn.140021254
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001ca20
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001ca20
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001ca20
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001ca22
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001caf4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003e840]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001cb4b
cmp word [rdx], r13w
jne 0x14001cb4b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001cb50
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001cc75
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001cc96
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001cb89
mov rdx, r9
mov word [rbx], cx
jmp 0x14001cbb0
cmp r9, r8
jae 0x14001cbc0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001cb6a
jmp 0x14001cc75
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001cc6a
cmp dword [rsp + 0x80], esi
je 0x14001cc6a
lea r8, [0x14003e840]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001cc42
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001cc12
mov word [rbx], r13w
jmp 0x14001cc72
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001cc1f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001cc72
cmp word [rsp + 0x70], r13w
jne 0x14001cc4f
cmp rbx, r14
je 0x14001cc0c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001d75c
cmp word [rsp + 0x70], r13w
je 0x14001cc75
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003e840]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001cc6f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001cc75
Function at 0x1400209ec
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 0x140020a1c
xor eax, eax
jmp 0x140020adf
mov rbp, rbx
cmp word [rax], si
je 0x140020a41
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140020a28
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140020a24
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.14001efec
movsxd r14, eax
test eax, eax
jne 0x140020a7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140020a15
mov rcx, r14
call fcn.140017100
mov rdi, rax
test rax, rax
jne 0x140020a98
xor ecx, ecx
call fcn.1400170c4
jmp 0x140020a74
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.14001efec
test eax, eax
jne 0x140020ac9
mov rcx, rdi
call fcn.1400170c4
jmp 0x140020ad3
xor ecx, ecx
call fcn.1400170c4
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 0x1400237a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140018868
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140023849
cmp ebx, dword [rsp + 0x30]
je 0x140023842
test esi, esi
je 0x140023842
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002381d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002382a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140023807
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002382e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002384b
mov eax, 1
jmp 0x14002384b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140026f3c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140012e30
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140026fc6
cmp byte [rbp - 0x21], r15b
je 0x140026fc1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140026ffc
call fcn.14001a9c0
test eax, eax
jne 0x140026fe8
cmp byte [rbp - 0x21], r15b
je 0x140026fe0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140026ffc
cmp byte [rbp - 0x21], r15b
je 0x140026ff9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140013424
test eax, eax
jne 0x14002709c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140012e30
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002703b
cmp byte [rbp - 0x21], r15b
je 0x140027070
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027070
call fcn.14001a9c0
test eax, eax
jne 0x14002705c
cmp byte [rbp - 0x21], r15b
je 0x140027055
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027070
cmp byte [rbp - 0x21], r15b
je 0x14002706d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140013424
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002709c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002709f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400270ad
mov rcx, rdi
call fcn.1400170c4
cmp byte [rbp + 0x3f], r15b
je 0x1400270bc
mov rcx, qword [rbp + 0x27]
call fcn.1400170c4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140028d50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028d78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028d78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001760
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400017aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400017aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400017aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400017aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400017aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400017ac
xor al, al
add rsp, 0x28
ret

Function at 0x14000587c
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 0x1400058eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400058eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400058eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400058eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400058eb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400058eb
cmp dword [rcx + 0xf8], 0
je 0x1400058eb
mov ecx, ebx
call fcn.140005990
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.140005784
nop
cmp dword [rbp + 0x20], 0
jne 0x14000594c
call fcn.14000b444
cmp eax, 1
jne 0x14000593c
xor dl, dl
jmp 0x140005946
call fcn.14000b410
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140005957
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005960
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000587c

Function at 0x140005a64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000587c

Function at 0x1400097b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140027050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x140009815
test rax, rax
jne 0x140009803
lea r9, str.GetLocaleInfoEx
lea r8, [0x140019fe8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1400094d0
test rax, rax
je 0x140009815
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140013c30
jmp 0x14000982f
xor edx, edx
mov rcx, rbp
call fcn.140009aa0
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000b374
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000b3fb
mov rsi, rbx
cmp word [rax], bp
je 0x14000b3ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000b3a4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000b3a0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140008460
mov rdi, rax
test rax, rax
je 0x14000b3e8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140014030
mov rbp, rdi
xor ecx, ecx
call fcn.140008400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e864
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x14000e8d7
cmp word [rcx], si
je 0x14000e8d7
lea rdx, [0x14001bf88]
call fcn.140011014
test eax, eax
je 0x14000e8d7
lea rdx, [0x14001bfa0]
mov rcx, rbx
call fcn.140011014
test eax, eax
jne 0x14000e8cd
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14000e8f4
mov eax, dword [rsp + 0x30]
jmp 0x14000e906
mov rcx, rbx
call fcn.140008294
jmp 0x14000e906
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14000e8f8
xor eax, eax
jmp 0x14000e906
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14000e906
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e918
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400091bc
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14000e9bb
cmp edi, dword [rsp + 0x30]
je 0x14000e9b4
test ebp, ebp
je 0x14000e9b4
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x14000e990
sub dx, 0x61
cmp dx, 0x19
ja 0x14000e99c
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x14000e97d
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x14000e9a0
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x14000e9bd
mov eax, 1
jmp 0x14000e9bd
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140012880
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400128a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400128a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140015400
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 r12
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r12d, ecx
mov r15, qword [rax + 0x18]
add r15, 0x20
mov rsi, qword [r15]
cmp rsi, r15
je 0x1400154c0
nop
mov r14, qword [rsi + 0x50]
mov edi, 0x341cf07b
xor ebx, ebx
xor ebp, ebp
movzx ecx, word [r14]
call fcn.1400047c4
movzx edx, ax
test edx, edx
je 0x1400154b3
nop dword [rax]
lea eax, [rdx + rdi]
imul ecx, eax, 0x3ad677e6
lea ebp, [rbp + 1]
mov eax, 0x6a5a8b5a
sub eax, ecx
ror eax, 0x11
lea ecx, [rax - 0x3ad677e6]
add ecx, edi
lea edi, [rdx*2 + 0x19]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
movzx ecx, word [r14 + rbp*2]
imul edi, eax
lea ebx, [rax*2 + 0x47]
imul ebx, edx
ror edi, 0xe
ror ebx, 0xf
call fcn.1400047c4
movzx edx, ax
test edx, edx
jne 0x140015460
cmp ebx, r12d
je 0x1400154e1
mov rsi, qword [rsi]
cmp rsi, r15
jne 0x140015440
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov rax, qword [rsi + 0x20]
jmp 0x1400154c2
Function at 0x140016e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov r14d, r8d
mov r15d, edx
mov rdi, rcx
test rcx, rcx
je 0x140016f41
movsxd rax, dword [rcx + 0x3c]
xor r11d, r11d
add rax, 0x88
add rax, rcx
mov qword [rsp + 0x30], rax
mov esi, dword [rax]
add rsi, rcx
mov ebx, dword [rsi + 0x20]
mov r12d, dword [rsi + 0x1c]
add rbx, rcx
mov r13d, dword [rsi + 0x24]
add r12, rcx
mov ebp, dword [rsi + 0x18]
add r13, rcx
test ebp, ebp
je 0x140016f41
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [rbx]
xor eax, eax
add r9, rdi
xor r10d, r10d
mov edx, r15d
movsx r8d, byte [r9]
test r8d, r8d
je 0x140016f0e
nop word [rax + rax]
lea eax, [r8 + rdx]
add edx, 0x50c5a90b
imul eax, eax, 0x50c5a90b
lea r10d, [r10 + 1]
add eax, 0x697aca6b
ror eax, 0x11
add eax, edx
lea edx, [r8*2 + 0x19]
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
imul edx, ecx
lea eax, [rcx*2 + 0x47]
imul eax, r8d
movsx r8d, byte [r10 + r9]
ror edx, 0xe
ror eax, 0xf
test r8d, r8d
jne 0x140016ec0
cmp eax, r14d
je 0x140016f21
inc r11d
add rbx, 4
cmp r11d, ebp
jb 0x140016ea0
jmp 0x140016f41
movsxd rax, r11d
movzx ecx, word [r13 + rax*2]
mov eax, dword [r12 + rcx*4]
mov rcx, qword [rsp + 0x30]
add rax, rdi
mov ecx, dword [rcx + 4]
add rcx, rsi
cmp rax, rcx
jbe 0x140016f43
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400037c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003812
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003812
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003812
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003812
cmp dword [rcx + 0x84], 0xe
jbe 0x140003812
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003814
xor al, al
add rsp, 0x28
ret
Function at 0x5cac00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x5cac0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x5cac1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x5cac05
lea eax, [rcx + 1]
jmp 0x5cac2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x5cac3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x5cac24
sub eax, 3
jb 0x5cac5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x5cacad
sar eax, 1
movsxd rbp, eax
jb 0x5cac94
jmp 0x5cac6c
add ebx, ebx
jne 0x5cac6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5cac94
inc ecx
add ebx, ebx
jne 0x5cac7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5cac94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x5cac8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x5cac7c
add ecx, 2
jmp 0x5cac99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.005cabc2
jmp 0x5cac0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7f000
mov dl, 0x18
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x5cacf9
cmp rsi, rcx
jae 0x5cad01
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x5cace0
cmp al, 0x8f
ja 0x5cace0
cmp byte [rsi - 2], 0xf
je 0x5cace6
sub al, 0xe8
cmp al, 1
ja 0x5cacca
cmp rsi, rcx
jae 0x5cad01
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x5cacd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x5cad01
lodsb al, byte [rsi]
jmp 0x5cace0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1c7000]
mov eax, dword [rdi]
or eax, eax
je 0x5cad5e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1ca000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x5cad0e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x5cad58
mov qword [rbx], rax
add rbx, 8
jmp 0x5cad2e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x5cad98
cmp al, 0xef
ja 0x5cad8a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x5cad6a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x5cad79
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x5cadec
sub rsp, 0xffffffffffffff80
jmp 0x465da0