joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075d50
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140075efe
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401ddf48]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401ddf58]
lea rdx, [rdi + rdi]
call fcn.1400701d0
mov rax, qword [0x1401ddf48]
lea r9, [rdi - 1]
mov qword [0x1401ddf70], r9
mov qword [0x1401ddf78], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140075ef3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401ddf58]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140075e3f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140075eb4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140075e7c
mov r10, qword [rdx]
cmp r10, rax
je 0x140075e76
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140075eb4
cmp r9, rdx
je 0x140075e90
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140075ec8
cmp r9, rdx
jne 0x140075e81
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140075eee
mov r9, qword [0x1401ddf70]
jmp 0x140075df0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140075eb4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.14010f8bc
int3

Function at 0x1400820a0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rdx
movsx rdx, byte [rcx]
test dl, dl
je 0x1400820c4
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
inc rcx
jmp fcn.1400820a0
ret
Function at 0x140082e30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401bb078]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x38], rdi
je 0x140082f24
nop dword [rax + rax]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x28]
dec rcx
mov rax, rdx
shr rax, 2
and rcx, rax
and edx, 3
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + rcx*8]
mov eax, dword [rcx + rdx*4]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], eax
mov ecx, 0x10
call fcn.140111520
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140083d50]
xor edx, edx
xor ecx, ecx
call fcn.140125b50
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140082f4a
cmp dword [rsp + 0x38], 0
je 0x140082f3f
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x140082f64
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140110f50
test eax, eax
jne 0x140082f59
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
sub qword [rbx + 0x38], 1
jne 0x140082f15
mov qword [rbx + 0x30], rdi
jmp 0x140082f19
inc qword [rbx + 0x30]
cmp qword [rbx + 0x38], 0
jne 0x140082e60
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140111500
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov ecx, 1
call fcn.140110564
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call fcn.140110564
nop
mov ecx, 2
call fcn.140110564
int3
mov ecx, 5
call fcn.140110564
int3
Function at 0x14009dd40
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1401bb078]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rcx, qword [0x1401e0de8]
mov rbx, qword [0x1401e1330]
call fcn.140096a70
mov qword [rbx + 0x1d8], rax
test rax, rax
jne 0x14009ddd2
mov rax, qword [0x1401e1330]
mov dword [0x1401e0ea8], 2
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x14009dd95
mov qword [rax + 8], rcx
mov rcx, qword [0x1401e0dd0]
cmp qword [0x1401e0dc8], rcx
mov rax, qword [0x1401e0db0]
cmovne rcx, qword [0x1401e0dc8]
cmp rax, qword [0x1401e0db8]
mov qword [0x1401e0dd0], rcx
je 0x14009dfb1
mov qword [0x1401e0db8], rax
jmp 0x14009dfb1
mov eax, dword [0x1401e0ea8]
add eax, 0xfffffffe
mov qword [rsp + 0x98], rdi
cmp eax, 1
jbe 0x14009de8a
cmp dword [0x1401e0bbc], 4
jne 0x14009de80
mov qword [rsp + 0x90], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp eax, dword [0x1401e0e0c]
mov rsi, rax
jbe 0x14009de78
mov rdi, qword [0x1401e1d88]
xor ebx, ebx
mov rcx, qword [0x1401e0f00]
add rcx, 0x40
mov dword [rdi + 4], ebx
mov dword [rdi + 0xc], ebx
call fcn.140098b40
movss dword [rdi], xmm0
movss dword [0x1401bbd48], xmm0
mov dword [rdi + 4], 1
cmp dword [rdi + 0xc], ebx
jne 0x14009de63
mov rcx, qword [0x1401e0f08]
add rcx, 0x40
call fcn.140096b00
mov dword [rdi + 8], eax
mov dword [rdi + 0xc], 1
mov eax, dword [rdi + 8]
mov dword [0x1401e0eac], eax
lea eax, [rsi + 0x9c40]
mov dword [0x1401e0e0c], eax
mov rsi, qword [rsp + 0x90]
call fcn.140097f50
jmp 0x14009dfa9
mov rcx, qword [0x1401e0be8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call fcn.140096a70
lea rcx, [rax + 0x1b8]
call fcn.140096a70
mov rcx, qword [0x1401e0e20]
xor ebx, ebx
test rcx, rcx
je 0x14009dede
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rdx
lea r9d, [rbx + 0x20]
mov rdx, rax
lea r8, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x58]
movabs rdi, 0xcbf29ce484222325
test al, al
je 0x14009df13
movsx rdx, al
lea rcx, [rsp + 0x59]
xor rdx, rdi
movabs rax, 0x100000001b3
imul rdx, rax
call fcn.1400820a0
mov rdi, rax
movabs rdx, 0xaf63b14c8601a37b
lea rcx, [0x14019d4a1]
call fcn.1400820a0
cmp rdi, rax
mov ecx, ebx
setne cl
add ecx, 2
mov dword [0x1401e0ea8], ecx
cmp rdi, rax
je 0x14009dfa9
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
lea rdx, [rsp + 0x58]
call fcn.140097d50
test al, al
je 0x14009dfa9
mov rdi, qword [0x1401e1328]
lea rax, [rsp + 0x58]
xorps xmm0, xmm0
mov dword [0x1401e0ea8], 4
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x48], rbx
inc r8
cmp byte [rax + r8], bl
jne 0x14009df84
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140002600
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400853f0
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140111500
add rsp, 0x80
pop rbx
ret
Function at 0x14009e3d0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401bb078]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call fcn.14011bf28
mov r9, rax
lea r8, [0x14019d4a8]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x30]
call fcn.140125d54
mov rbx, qword [0x1401e10a0]
lea rcx, str.tadala_dma_cs2_1.0
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx], rax
test rax, rax
je 0x14009e47d
mov r8d, 0x1bb
lea rdx, str.discord.com
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14009e47d
mov rcx, qword [rbx]
test rcx, rcx
je 0x14009e46e
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14009e47d
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, 4
call qword [sym.imp.dbghelp.dll_SymSetOptions]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.dbghelp.dll_SymInitialize]
lea rax, [0x14009e560]
lea rcx, [0x14005eae0]
mov qword [0x1401e0b28], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.140068310
test eax, eax
lea rdx, str._Config_:_Failed_to_Load_All_Config_Files_n
lea rcx, str._Config_:_Loaded_All_Config_Files_n
cmove rcx, rdx
call fcn.140008b60
mov rcx, qword [0x1401ddf28]
cmp qword [rcx + 0x18], 0x10
jb 0x14009e4e7
mov rcx, qword [rcx]
mov dl, 1
call fcn.140064fc0
test eax, eax
jne 0x14009e4fe
lea rcx, str._Config_:_Failed_to_read_n
call fcn.140008b60
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14009dfd0
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1401e0ea8], 0
je 0x14009e510
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [fcn.140092a00]
lea rcx, [fcn.140093df0]
call fcn.1400a5c20
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140111500
add rsp, 0x40
pop rbx
ret
Function at 0x1400b8340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1400a73f0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400b8396
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400b83ed
mov ebp, 0x4b0000
jmp 0x1400b83fb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1400a9830
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400b8411
mov eax, r12d
jmp 0x1400b841a
mov edx, edi
mov ecx, ebp
call fcn.1400a9830
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400b8436
shl esi, 0x10
mov ecx, esi
jmp 0x1400b8525
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400b8494
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1400a73f0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400b8484
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1400a9700
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1400a73f0
add ebx, eax
jmp 0x1400b852e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400b84a1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400b84e0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1400a73f0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400b84e5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1400a9700
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1400a73f0
add ebx, eax
jmp 0x1400b852e
cmp eax, r12d
jge 0x1400b851e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1400a73f0
sub ebp, eax
sub r15d, esi
je 0x1400b851e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1400a9700
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1400a73f0
add ebx, eax
jmp 0x1400b852e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1400a73f0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1400a73f0
Function at 0x1401045c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1401bb078]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x14010475c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x14010475c
cmp r10d, r14d
jne 0x140104660
sub rbx, 0x10
jmp 0x1401047a4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1401046d2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x140104694
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x14010469c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1401046bb
movzx edx, r11b
mov rcx, rsi
call fcn.140105770
test al, al
jne 0x1401047b5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.140105de0
test al, al
jne 0x1401047b5
mov edx, dword [rsi + 0x64]
lea r9, [0x140106140]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1401046fe
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140104440
jmp 0x140104752
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.140104440
test dil, dil
je 0x14010474a
cmp byte [rsi + 0x6a], 0
jne 0x14010474a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1401047b5
sub rbx, 0x10
jmp 0x1401047a4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1401047b9
mov ebp, dword [rbx]
jmp 0x140104620
mov al, 1
jmp 0x1401047c2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140111500
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x14010ab10
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14010ab2c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14010ab80
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14010aca5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x14010aca5
test rax, rax
je 0x14010aca5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x14010aca5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x14010ac1a
lea rax, [0x14010ad00]
jmp 0x14010ac73
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x14010aca5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010ac93
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x14010ac40
lea rax, [0x14010acd0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x14010acba
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x14010ba00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14010ba0b
xor eax, eax
ret
lea r11, [0x1401640d0]
not ecx
cmp r8d, 8
jb 0x14010bae1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14010ba30
test r8d, r8d
je 0x14010bb0d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14010baf0
not ecx
mov eax, ecx
ret
Function at 0x14010f930
Capabilities:
Get geographical location

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

Function at 0x1401124d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140112522
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140112522
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140112522
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140112522
cmp dword [rcx + 0x84], 0xe
jbe 0x140112522
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140112524
xor al, al
add rsp, 0x28
ret
Function at 0x14011baf0
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.1401122a0
sub rsp, rax
mov rax, qword [0x1401bb078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14012e0f8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14011bb3f
mov rax, rbp
jmp 0x14011bc47
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 + 0x1e03f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14012e768
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1e03f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14011bc43
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 0x14011bc43
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14012e768
test rax, rax
js 0x14011bc43
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14011bc43
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14011bc35
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14011bc35
cmp byte [rcx], 0xd
jne 0x14011bc1b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14011bc2a
cmp byte [rcx + 1], 0xa
jne 0x14011bc2a
inc rcx
jmp 0x14011bc2a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1bb460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14011bbfd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14011bc47
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140111500
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 0x140129c60
Capabilities:
Parse pe header

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