joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083400
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14007d200
mov qword [rsi], 0
test rax, rax
je 0x140083453
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140083487
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14008344b
mov qword [rsi], rbx
call fcn.1400816a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140081850
lea rcx, [rsi + 0x20]
call fcn.140087b70
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.1400816a0
mov rcx, qword [rsi]
call fcn.14007c190
mov qword [rsi], 0
jmp 0x140083439
Function at 0x14008f200
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x14008f340
mov rsi, rcx
mov rax, qword [rdi]
xor ecx, ecx
xor r8d, r8d
or r8, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x14008f222
test r8, r8
je 0x14008f340
test edx, edx
jle 0x14008f387
mov rax, qword [rdi]
test byte [rax], 1
je 0x14008f387
cmp dword [rdi + 0x10], 0
jne 0x14008f407
cmp edx, 0x401
jae 0x14008f3c7
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x14008f2a5
mov rcx, rbx
call fcn.14004c3c0
test eax, eax
je 0x14008f3a7
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x14008f378
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1400e6070
mov eax, dword [rdi + 8]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x14008f3a7
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x14008f37f
mov rcx, qword [rbx]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x14008f2d5
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x14008f2bc
jmp 0x14008f365
mov dword [rsi + 0x20], eax
mov rax, qword [rbx]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14008f2f5
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.140135f70
jmp 0x14008f336
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14008f2d8
xor eax, eax
jmp 0x14008f299
jne 0x14008f2d8
jmp 0x14008f36c
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x14008f35e
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x14008f35e
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x14008f3cf
test rcx, rcx
je 0x14008f261
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x14008f35e
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x14008f35e
Function at 0x14008fe20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x14008ffb4
test dl, dl
jne 0x14008ffb4
mov rdi, r9
lea r13, [rsi + 0x50]
mov rbp, qword [rsi + 0x150]
mov r14, qword [rsi + 0x158]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x14008fea4
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [0x140185010]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
jne 0x14008ffc9
test byte [rsi + 0x168], 1
je 0x14008feed
test r15, r15
je 0x14008feed
lea rax, [rsi + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r15
mov r9, r12
call fcn.14000d9c0
add rbx, rax
add rdi, rax
sub r15, rax
mov rax, qword [rsp + 0xc8]
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r15, 0xc00
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r13
jae 0x140090012
mov r13, r12
mov r14, r15
and r14, 0xff0
je 0x14008ff6c
mov r12, r15
shr r12, 4
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r9, r13
call qword [0x140185010]
add ebp, r12d
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rbx, r14
and r15d, 0xf
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
mov r9, r14
mov rax, qword [rsp + 0x48]
call qword [0x140185010]
add rdi, r14
test r15, r15
je 0x14008ffc5
mov rax, qword [rsi + 0x160]
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r8, r13
call qword [0x140185010]
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [rsi + rcx + 0x10]
xor dl, byte [rbx + rcx]
mov byte [rdi + rcx], dl
xor byte [rsi + rcx + 0x40], dl
inc rax
cmp r15, rax
jne 0x14008ff91
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14008ffa9
test r15, r15
je 0x14008ffa9
mov ecx, eax
mov dl, byte [rsi + rcx + 0x10]
xor dl, byte [rbx]
inc rbx
mov byte [rdi], dl
xor byte [rsi + rcx + 0x40], dl
inc rdi
inc eax
and eax, 0xf
setne cl
cmp r15, 1
lea r15, [r15 - 1]
setne dl
test cl, dl
jne 0x14008ffce
test eax, eax
jne 0x14008ffa9
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [0x140185010]
jmp 0x14008feb2
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x50], rcx
mov r14d, 0xc00
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r12
mov r13, rax
call qword [0x140185010]
add ebp, 0xc0
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
mov rax, qword [rsp + 0x48]
call qword [0x140185010]
mov rax, r13
add rdi, r14
add rbx, r14
add r15, 0xfffffffffffff400
cmp r15, 0xbff
jbe 0x14008ff11
jmp 0x140090021
Function at 0x140090090
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x140090233
test dl, dl
jne 0x140090233
mov rdi, r9
lea r13, [rsi + 0x50]
mov rbp, qword [rsi + 0x150]
mov rax, qword [rsi + 0x158]
mov qword [rsp + 0x50], rax
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x140090119
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [0x140185010]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
jne 0x140090248
mov r14, r15
test byte [rsi + 0x168], 1
je 0x140090165
test r14, r14
je 0x140090165
lea rax, [rsi + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, r12
call fcn.14000d660
add rbx, rax
add rdi, rax
sub r14, rax
mov rax, qword [rsp + 0xc8]
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r14, 0xc00
mov qword [rsp + 0x48], r13
jae 0x140090293
mov qword [rsp + 0x40], r12
mov r15, r14
and r15, 0xff0
je 0x1400901e9
mov r12, r14
shr r12, 4
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x48]
mov r8, rbx
mov r9, r15
mov r13, rax
mov rax, qword [rsp + 0x50]
call qword [0x140185010]
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r9, qword [rsp + 0x40]
mov rax, r13
call qword [0x140185010]
add ebp, r12d
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rdi, r15
add rbx, r15
and r14d, 0xf
test r14, r14
je 0x140090244
mov rax, qword [rsi + 0x160]
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r8, qword [rsp + 0x40]
call qword [0x140185010]
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [rbx + rcx]
xor byte [rsi + rcx + 0x40], dl
xor dl, byte [rsi + rcx + 0x10]
mov byte [rdi + rcx], dl
inc rax
cmp r14, rax
jne 0x140090210
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140090228
test r15, r15
je 0x140090228
mov cl, byte [rbx]
inc rbx
mov edx, eax
mov r8b, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [rdi], r8b
xor byte [rsi + rdx + 0x40], cl
inc rdi
lea r14, [r15 - 1]
inc eax
and eax, 0xf
je 0x14009027a
cmp r15, 1
mov r15, r14
jne 0x14009024d
test eax, eax
jne 0x140090228
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [0x140185010]
jmp 0x14009012a
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x40], rcx
mov r15d, 0xc00
mov r9d, 0xc00
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov r8, rbx
mov r13, rax
mov rax, qword [rsp + 0x50]
call qword [0x140185010]
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r12
mov rax, r13
call qword [0x140185010]
add ebp, 0xc0
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, r13
add rdi, r15
add rbx, r15
add r14, 0xfffffffffffff400
cmp r14, 0xbff
jbe 0x140090184
jmp 0x1400902a2
Function at 0x140098110
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140098139
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x140098120
movzx eax, r9b
ret
xor eax, eax
ret

Function at 0x140099a30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140058f70]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401a78d0]
lea rdx, [0x140058dc0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140099ac4
cmp dword [0x1401a78d8], 0
jne 0x140099ac0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401a78dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140099ac0
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b4010
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140099aa8
call fcn.1400c7960
int3
Function at 0x1400b1950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x1400b198c
je 0x1400b198b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x14017f1f0]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x1400b1970
ret
int3

Function at 0x1400b34d8
Capabilities:
Parse pe header

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

Function at 0x1400b3830
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400b38a8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400b38a8
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400b38a8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400b389c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400b38ba
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400b388a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400b38aa

Function at 0x1400c1938
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400c196f
call fcn.1400c4c64
mov dword [rax], 0x16
call fcn.1400c65fc
xor eax, eax
jmp 0x1400c19fd
mov rdx, r9
mov rcx, r8
call fcn.1400c1a20
mov rbx, rax
test rax, rax
je 0x1400c19fa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400c1a90]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400c19e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400c4ca4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400c19ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400c19dd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140084380
jmp 0x1400c19fa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400c19f7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400c1b64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400c1cac
Function at 0x1400c1cac
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400c1cac
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 0x1400c1d1b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c1d1b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c1d1b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c1d1b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c1d1b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c1d1b
cmp dword [rcx + 0xf8], 0
je 0x1400c1d1b
mov ecx, ebx
call fcn.1400c1be4
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.1400c1e40
nop
cmp dword [rbp + 0x20], 0
je 0x1400c1d69
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400c1c78
int3
Function at 0x1400c1fec
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400d7588
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400d7588
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400c213c
cmp rax, 0xffffffffffffffff
je 0x1400c213c
xor edi, edi
test rbp, rbp
jle 0x1400c20e7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140084420
mov rbx, rax
test rax, rax
jne 0x1400c2074
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400c20dd
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c7a38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400cb5a0
cmp eax, 0xffffffff
je 0x1400c20bd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400c2084
mov edx, r15d
mov ecx, r14d
call fcn.1400c7a38
jmp 0x1400c20dd
cmp byte [rsi + 0x38], dil
je 0x1400c20d4
cmp dword [rsi + 0x34], 5
jne 0x1400c20d4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400c20dd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140084380
jmp 0x1400c2150
jns 0x1400c2150
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400d7588
cmp rax, 0xffffffffffffffff
jne 0x1400c2108
cmp byte [rsi + 0x30], dil
je 0x1400c2150
mov edi, dword [rsi + 0x2c]
jmp 0x1400c2150
mov ecx, r14d
call fcn.1400c591c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400c2150
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400c2150
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400c2149
mov eax, dword [rsi + 0x2c]
jmp 0x1400c214e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400d7588
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400c5448
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.1400b3fb0
sub rsp, rax
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400c501c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400c5497
mov rax, rbp
jmp 0x1400c559f
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 + 0x1a1750]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400d762c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1a1750]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400c559b
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 0x1400c559b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400d762c
test rax, rax
js 0x1400c559b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400c559b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400c558d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400c558d
cmp byte [rcx], 0xd
jne 0x1400c5573
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400c5582
cmp byte [rcx + 1], 0xa
jne 0x1400c5582
inc rcx
jmp 0x1400c5582
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x192370]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400c5555
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400c559f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b4010
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 0x1400c761c
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, [0x1401a1750]
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 0x1400c7673
cmp word [rdx], r13w
jne 0x1400c7673
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400c7678
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400c779d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400c77be
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400c76b1
mov rdx, r9
mov word [rbx], cx
jmp 0x1400c76d8
cmp r9, r8
jae 0x1400c76e8
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 0x1400c7692
jmp 0x1400c779d
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 0x1400c7792
cmp dword [rsp + 0x80], esi
je 0x1400c7792
lea r8, [0x1401a1750]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400c776a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400c773a
mov word [rbx], r13w
jmp 0x1400c779a
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 0x1400c7747
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400c779a
cmp word [rsp + 0x70], r13w
jne 0x1400c7777
cmp rbx, r14
je 0x1400c7734
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400d7588
cmp word [rsp + 0x70], r13w
je 0x1400c779d
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, [0x1401a1750]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400c7797
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400c779d
Function at 0x1400d0060
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400d0088
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400d0088
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400da138
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.1400d3c84
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 0x1400da1d9
cmp ebx, dword [rsp + 0x30]
je 0x1400da1d2
test esi, esi
je 0x1400da1d2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400da1ad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400da1ba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400da197
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400da1be
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400da1db
mov eax, 1
jmp 0x1400da1db
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret