joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400423d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002250
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002258
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002250
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400022a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002250
add rax, 0x28
cmp rax, r9
jne 0x140002290
xor eax, eax
ret

Function at 0x1400022b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400423d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400423d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000238f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002398
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400026e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push rdi
sub rsp, 0x4f0
mov eax, 1
mov rdx, qword gs:[0x60]
cmp byte [rdx + 2], 0
jne 0x14000274b
cmp word [rdx + 0xbc], 0x70
je 0x14000274b
xor eax, eax
lea rdi, [rsp + 0x20]
mov ecx, 0x134
rep stosd dword [rdi], eax
lea rdx, [rsp + 0x20]
mov rcx, 0xfffffffffffffffe
mov dword [rsp + 0x50], 0x100010
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [rsp + 0x68]
or rax, qword [rsp + 0x70]
or rax, qword [rsp + 0x78]
or rax, qword [rsp + 0x80]
setne al
movzx eax, al
add rsp, 0x4f0
pop rdi
ret

Function at 0x140002bf0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov rsi, r8
mov edi, r9d
mov rbp, rcx
mov rbx, rdx
call sub.msvcrt.dll_strlen
lea r9, [rsp + 0x20]
mov r8d, eax
xor eax, eax
mov byte [rax + r9], al
inc rax
cmp rax, 0x100
jne 0x140002c16
xor ecx, ecx
xor r11d, r11d
mov eax, ecx
mov r10b, byte [r9 + rcx]
cdq
idiv r8d
movsxd rdx, edx
mov al, byte [rbp + rdx]
add eax, r10d
add eax, r11d
movzx r11d, al
movzx eax, al
mov dl, byte [rsp + rax + 0x20]
mov byte [r9 + rcx], dl
inc rcx
mov byte [rsp + rax + 0x20], r10b
cmp rcx, 0x100
jne 0x140002c2a
xor ecx, ecx
xor r10d, r10d
xor r9d, r9d
cmp ecx, edi
jae 0x140002cad
lea edx, [r10 + 1]
movzx r10d, dl
movzx edx, dl
mov al, byte [rsp + rdx + 0x20]
lea r8d, [rax + r9]
movzx r9d, r8b
movzx r8d, r8b
mov r11b, byte [rsp + r8 + 0x20]
mov byte [rsp + rdx + 0x20], r11b
mov byte [rsp + r8 + 0x20], al
add al, byte [rsp + rdx + 0x20]
movzx eax, al
mov al, byte [rsp + rax + 0x20]
xor al, byte [rbx + rcx]
mov byte [rsi + rcx], al
inc rcx
jmp 0x140002c69
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140002cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
xor r10d, r10d
movsxd rax, dword [rdx + 0x3c]
mov ebx, dword [rdx + rax + 0x88]
add rbx, rdx
mov rsi, rcx
mov r9, rdx
mov r11d, dword [rbx + 0x20]
mov edi, dword [rbx + 0x18]
add r11, rdx
cmp r10d, edi
jae 0x140002d5c
mov ecx, dword [r11]
add r11, 4
add rcx, r9
call fcn.140002e50
lea rdx, [r10 + 1]
mov eax, eax
cmp rax, rsi
jne 0x140002d57
mov edx, dword [rbx + 0x24]
add r10, r10
mov eax, dword [rbx + 0x1c]
add r8, r9
add r10, r9
movzx edx, word [r10 + rdx]
lea rdx, [r9 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r8
jmp 0x140002d5e
mov r10, rdx
jmp 0x140002d18
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002d70
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0xf8]
ret

Function at 0x140002da0
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rdi + 0x20]
add rdi, 0x20
mov rbp, rcx
lea r12, [rsp + 0x2c]
cmp word [rsi + 0x48], 0
je 0x140002e12
mov r13, qword [rsi + 0x50]
xor ebx, ebx
movzx ecx, word [r13 + rbx*2]
test cx, cx
je 0x140002df3
call qword [sym.imp.msvcrt.dll_toupper]
mov byte [r12 + rbx], al
inc rbx
jmp 0x140002dd9
mov ebx, ebx
mov rcx, r12
mov byte [rsp + rbx + 0x2c], 0
call fcn.140002e50
mov eax, eax
cmp rax, rbp
jne 0x140002e0f
mov rax, qword [rsi + 0x20]
jmp 0x140002e19
mov rsi, qword [rsi]
cmp rsi, rdi
jne 0x140002dcc
xor eax, eax
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x140002e30
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax + 0xf8]
ret
Function at 0x140002e30
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x80], rcx
xor ebp, ebp
mov qword [rcx], rdx
lea rdi, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
lea r14, [rdi + 0x10]
mov qword [r14], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x28], rbp
mov dword [rcx + 0x38], ebp
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], rbp
mov qword [rcx + 0x58], 0xf
mov byte [rcx + 0x40], bpl
mov qword [rcx + 0x60], rbp
movups xmmword [rcx + 0x68], xmm0
mov qword [rcx + 0x78], rbp
mov qword [rcx + 0x80], 0xf
mov byte [rcx + 0x68], bpl
mov rcx, rdx
call qword [sym.imp.kernel32.dll_GetProcessId]
mov dword [rsi + 0x38], eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140024ee0
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call fcn.14000b840
mov rcx, qword [rbx + 0x20]
mov qword [rdi + 0x20], rcx
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x28], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140002f25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003095
call fcn.140033230
cmp qword [rdi + 0x18], 8
jb 0x140002f2f
mov rdi, qword [rdi]
mov rax, qword [r14]
lea rdx, [rdi + rax*2]
mov r10, rdx
mov rcx, rdi
call fcn.1400025c0
cmp rax, rdx
je 0x140002f8c
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140002f55
cmp cx, 0x2f
jne 0x140002f5e
add rax, 2
cmp rax, rdx
jne 0x140002f46
cmp rax, rdx
je 0x140002f8c
nop dword [rax]
nop word [rax + rax]
lea r8, [r10 - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x140002f8c
cmp cx, 0x2f
je 0x140002f8c
mov r10, r8
cmp rax, r8
jne 0x140002f70
mov qword [rsp + 0x20], r10
sub rdx, r10
sar rdx, 1
mov qword [rsp + 0x28], rdx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14001f4f0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002930
mov rdx, rax
lea rcx, [rsi + 0x40]
call fcn.14000b960
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000300f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000300a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000309b
call fcn.140033230
movdqa xmm0, xmmword [0x14006c5f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140003060
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000305b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000308f
call fcn.140033230
mov qword [rsi + 0x60], rbp
mov rdx, rsi
lea rcx, [0x140002d60]
call qword [sym.imp.user32.dll_EnumWindows]
nop
mov rax, rsi
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140043c70
nop
call fcn.140043c70
nop
call fcn.140043c70
int3
Function at 0x1400164f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001669d
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000f2e0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140016666
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400165e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140016655
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001661d
mov r10, qword [rdx]
cmp r10, rax
je 0x140016617
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 0x140016655
cmp r9, rdx
je 0x140016631
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140016677
cmp r9, rdx
jne 0x140016622
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
jne 0x140016590
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x140016655
lea rcx, [0x140069fe8]
call fcn.14003187c
int3
Function at 0x1400166b0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x14001688b
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14000f2e0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140016854
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1400167cc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140016843
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140016809
mov r10, qword [rdx]
cmp r10, rax
je 0x140016803
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 0x140016843
cmp r9, rdx
je 0x14001681f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140016865
cmp r9, rdx
jne 0x140016810
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, rdi
jne 0x140016750
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
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 0x140016843
lea rcx, [0x140069fe8]
call fcn.14003187c
int3
Function at 0x140024b20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1400780d0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], 0x130
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.kernel32.dll_Process32First]
cmp eax, 1
jne 0x140024bf1
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_Process32Next]
cmp eax, 1
jne 0x140024bf1
mov rdx, rbp
lea rcx, [rsp + 0x5c]
call fcn.140043d24
test eax, eax
jne 0x140024beb
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140024bdb
mov eax, dword [rsp + 0x38]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140024be8
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.140025c80
inc rdi
cmp rdi, 0xffffffffffffffff
jb 0x140024ba0
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140033210
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
Function at 0x140028960
Capabilities:
Hide graphical window
Set console window title

Disassembly:
sub rsp, 0x28
call qword [sym.imp.kernel32.dll_AllocConsole]
mov ecx, 1
call fcn.14003d70c
mov r8, rax
lea rdx, [0x14006bf04]
lea rcx, [0x14006bf08]
call fcn.140044170
xor ecx, ecx
call fcn.14003d70c
mov r8, rax
lea rdx, [0x14006bf10]
lea rcx, [0x14006bf14]
call fcn.140044170
cmp byte [0x14007b59c], 0
jne 0x1400289d5
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.user32.dll_GetSystemMenu]
mov edx, 0xf060
mov r8d, 1
mov rcx, rax
call qword [sym.imp.user32.dll_EnableMenuItem]
lea rcx, [0x14006bf20]
call qword [sym.imp.kernel32.dll_SetConsoleTitleA]
mov byte [0x14007b59d], 0
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
add rsp, 0x28
jmp qword [sym.imp.user32.dll_ShowWindow]
Function at 0x14002e0c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002e18c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002e18c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002e1a5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002e17c
cmp byte [rax], 0x5c
jne 0x14002e176
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14002e176
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002e162
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14002e173
test r8b, 0x10
jne 0x14002e176
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14002e176
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14002a320
test edi, edi
jne 0x14002e0e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14002a310
int3

Function at 0x140030578
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, [0x14005d770]
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 0x1400305fc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005d670]
cmp byte [rcx + rax], 0
je 0x1400305fc
dec r8
sub rdx, 1
jne 0x1400305e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140033fd0
Capabilities:
Parse pe header

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

Function at 0x140045c58
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140045a54
Function at 0x14004868c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400486a2
mov al, 1
jmp 0x140048702
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400486b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140048700
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400521f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140048700
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x140048700
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x140048700
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140048702
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14004c84c
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.140033b40
sub rsp, rax
mov rax, qword [0x1400780d0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14004856c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14004c89b
mov rax, rbp
jmp 0x14004c9a3
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 + 0x7adf0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14004e26c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x7adf0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14004c99f
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 0x14004c99f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14004e26c
test rax, rax
js 0x14004c99f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14004c99f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14004c991
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14004c991
cmp byte [rcx], 0xd
jne 0x14004c977
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14004c986
cmp byte [rcx + 1], 0xa
jne 0x14004c986
inc rcx
jmp 0x14004c986
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x784d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14004c959
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14004c9a3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140033210
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 0x14004d60c
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, [0x14007adf0]
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 0x14004d663
cmp word [rdx], r13w
jne 0x14004d663
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14004d668
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14004d78d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14004d7ae
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14004d6a1
mov rdx, r9
mov word [rbx], cx
jmp 0x14004d6c8
cmp r9, r8
jae 0x14004d6d8
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 0x14004d682
jmp 0x14004d78d
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 0x14004d782
cmp dword [rsp + 0x80], esi
je 0x14004d782
lea r8, [0x14007adf0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14004d75a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14004d72a
mov word [rbx], r13w
jmp 0x14004d78a
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 0x14004d737
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14004d78a
cmp word [rsp + 0x70], r13w
jne 0x14004d767
cmp rbx, r14
je 0x14004d724
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14004e274
cmp word [rsp + 0x70], r13w
je 0x14004d78d
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, [0x14007adf0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14004d787
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14004d78d