joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180031710
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d034]
call fcn.180109720
mov eax, dword [rbp + 0x110]
xor eax, 0xffffffff
mov dword [rbp + 0x110], eax
mov dword [rbp + 4], 0
jmp 0x180031758
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x108]
cmp dword [rbp + 4], eax
jae 0x1800317a8
mov rax, qword [rbp + 0x100]
movsx eax, byte [rax]
xor eax, dword [rbp + 0x110]
and eax, 0xff
mov eax, eax
lea rcx, [0x180118080]
mov edx, dword [rbp + 0x110]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov dword [rbp + 0x110], eax
mov rax, qword [rbp + 0x100]
inc rax
mov qword [rbp + 0x100], rax
jmp 0x180031750
mov eax, dword [rbp + 0x110]
xor eax, 0xffffffff
mov dword [rbp + 0x110], eax
mov eax, dword [rbp + 0x110]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1800452e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d0a2]
call fcn.180109720
cmp qword [rbp + 0x180], 0
jne 0x180045315
xor eax, eax
jmp 0x1800453ef
mov rax, qword [rbp + 0x180]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180045335
xor eax, eax
jmp 0x1800453ef
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x180045361
xor eax, eax
jmp 0x1800453ef
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
mov word [rbp + 0x44], ax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x68], rax
xor eax, eax
mov word [rbp + 0x84], ax
jmp 0x18004539e
movzx eax, word [rbp + 0x84]
inc ax
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
movzx ecx, word [rbp + 0x44]
cmp eax, ecx
jge 0x1800453eb
mov rax, qword [rbp + 0x68]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x188]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1800453d2
inc rax
test dl, dl
jne 0x1800453bf
xor eax, eax
jmp 0x1800453d7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800453dd
jmp 0x1800453eb
mov rax, qword [rbp + 0x68]
add rax, 0x28
mov qword [rbp + 0x68], rax
jmp 0x18004538d
mov rax, qword [rbp + 0x68]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x180045a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x180157500]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x18016d0a2]
call fcn.180109720
mov dword [rsp + 0x28], 0x64
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x210]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
cmp qword [rax + 0x30], 0
je 0x180045b77
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x60]
lea rcx, [rbp + 0x10]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x180045b4e
add rax, 2
test dx, dx
jne 0x180045b38
xor eax, eax
jmp 0x180045b53
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180045b64
mov rax, qword [rbp + 0x118]
mov rax, qword [rax + 0x30]
jmp 0x180045b79
mov rax, qword [rbp + 0x118]
mov rax, qword [rax]
mov qword [rbp + 0x118], rax
jmp 0x180045b18
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180120590]
call fcn.1801095c4
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1801097f0
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret

Function at 0x180045bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x180157500]
xor rax, rbp
mov qword [rbp + 0x140], rax
lea rcx, [0x18016d0a2]
call fcn.180109720
mov qword [rbp + 8], 0
cmp qword [rbp + 8], 0
jne 0x180045c8d
mov byte [rbp + 0x28], 0x4c
mov byte [rbp + 0x29], 0x6f
mov byte [rbp + 0x2a], 0x61
mov byte [rbp + 0x2b], 0x64
mov byte [rbp + 0x2c], 0x4c
mov byte [rbp + 0x2d], 0x69
mov byte [rbp + 0x2e], 0x62
mov byte [rbp + 0x2f], 0x72
mov byte [rbp + 0x30], 0x61
mov byte [rbp + 0x31], 0x72
mov byte [rbp + 0x32], 0x79
mov byte [rbp + 0x33], 0x41
mov byte [rbp + 0x34], 0
mov byte [rbp + 0x58], 0x4b
mov byte [rbp + 0x59], 0x45
mov byte [rbp + 0x5a], 0x52
mov byte [rbp + 0x5b], 0x4e
mov byte [rbp + 0x5c], 0x45
mov byte [rbp + 0x5d], 0x4c
mov byte [rbp + 0x5e], 0x42
mov byte [rbp + 0x5f], 0x41
mov byte [rbp + 0x60], 0x53
mov byte [rbp + 0x61], 0x45
mov byte [rbp + 0x62], 0x2e
mov byte [rbp + 0x63], 0x64
mov byte [rbp + 0x64], 0x6c
mov byte [rbp + 0x65], 0x6c
mov byte [rbp + 0x66], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call fcn.180045400
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x138], rax
mov rcx, qword [rbp + 0x170]
call qword [rbp + 0x138]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180120530]
call fcn.1801095c4
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rbp
call fcn.1801097f0
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x18004e300
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180157500]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x18016d1f2]
call fcn.180109720
call fcn.18005e640
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x28]
mov rcx, qword [0x1801589c0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x34]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rbp + 0x28]
mov ecx, dword [rbp + 0x30]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rbp + 0x154]
call fcn.18001e890
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
mov qword [rcx + 8], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1801589c8]
mov rcx, qword [rbp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1801589d0]
divss xmm0, xmm1
mov rax, qword [rbp + 8]
movss dword [rax + 0x10], xmm0
mov rax, qword [rbp + 0x58]
mov qword [0x1801589c8], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004e3ef
mov dword [rbp + 0x164], 1
jmp 0x18004e3f9
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x140], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004e42b
mov dword [rbp + 0x164], 1
jmp 0x18004e435
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x141], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004e467
mov dword [rbp + 0x164], 1
jmp 0x18004e471
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x142], cl
mov rax, qword [rbp + 8]
mov byte [rax + 0x143], 0
call fcn.18004e690
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x18004e4ad
mov dword [rbp + 0x164], 0xffffffff
jmp 0x18004e4b8
call fcn.18005e7a0
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
cmp dword [0x180152520], eax
je 0x18004e4da
mov eax, dword [rbp + 0x74]
mov dword [0x180152520], eax
call fcn.18004e570
call fcn.18004e540
lea rcx, [rbp - 0x20]
lea rdx, [0x180122520]
call fcn.1801095c4
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1801097f0
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x18005fc80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d264]
call fcn.180109720
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18005fce0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d264]
call fcn.180109720
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x180060050
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d264]
call fcn.180109720
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1801225f0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1800600cf
mov dword [rbp + 0x120], 1
jmp 0x1800600d9
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x180060122
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x18006009a
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x180060140
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d264]
call fcn.180109720
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1801225f0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x180060285
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1800601d9
mov dword [rbp + 0x160], 1
jmp 0x1800601e3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x180060280
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18006025a
cmp qword [rbp + 0x198], 2
jb 0x18006025a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18006025a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18006025a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1800601a4
jmp 0x18006031f
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18006031f
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1800602f6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800602f6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800602f6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x180060285
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800f0ea0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x180157500]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x18016d358]
call fcn.180109720
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1800f0f06
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800f0f0d
mov al, 1
jmp 0x1800f107d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.180032570
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.180032570
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1800325a0
movzx eax, al
test eax, eax
je 0x1800f0f70
xor al, al
jmp 0x1800f107d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1800f0fe3
cmp dword [rbp + 0x160], 1
je 0x1800f0fee
cmp dword [rbp + 0x160], 3
je 0x1800f106c
jmp 0x1800f107b
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1800f103e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1800f103e
xor al, al
jmp 0x1800f107d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800f1059
mov dword [rbp + 0x154], 1
jmp 0x1800f1063
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1800f107d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1800f107d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x18013c6f0]
call fcn.1801095c4
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1801097f0
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x180100e30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x18016d358]
call fcn.180109720
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x180100e87
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x180100f93
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x180100f2c
cmp qword [rbp + 0x28], 0
jle 0x180100f2c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x180100ecc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1800318f0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x180100f82
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x180100f82
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1801052b0
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.1801054d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1801053b7
mov rax, qword [0x1801574d0]
cmp qword [rsp + 0x20], rax
jb 0x180105314
mov rax, qword [0x1801574d8]
cmp qword [rsp + 0x20], rax
ja 0x180105314
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801052d6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180105343
jmp 0x1801053b7
cmp dword [rsp + 0x50], 0x10000
jne 0x18010539a
cmp qword [rsp + 0x48], 0x10000
jb 0x18010539a
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 0x180105388
mov rax, qword [rsp + 0x28]
jmp 0x1801053b9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801053b2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1801054d0
mov qword [rsp + 0x20], rax
jmp 0x1801052d6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1801053c0
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.180105510
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1801054c3
mov rax, qword [0x1801574d0]
cmp qword [rsp + 0x20], rax
jb 0x18010541b
mov rax, qword [0x1801574d8]
cmp qword [rsp + 0x20], rax
ja 0x18010541b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801053dd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18010544a
jmp 0x1801054c3
cmp dword [rsp + 0x50], 0x10000
jne 0x1801054a1
cmp qword [rsp + 0x48], 0x10000
jb 0x1801054a1
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 0x18010548f
mov rax, qword [rsp + 0x28]
jmp 0x1801054c5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801054be
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180105510
mov qword [rsp + 0x20], rax
jmp 0x1801053dd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180105560
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.180105af0
mov qword [rsp + 0x28], 0
cmp qword [0x18015e620], 0
jne 0x1801055a8
cmp qword [0x18015e618], 0
je 0x1801055a8
mov rax, qword [0x18015e618]
mov qword [0x18015e620], rax
cmp qword [0x18015e620], 0
je 0x18010564e
mov rax, qword [0x18015e620]
cmp qword [rax + 0x10], 0
je 0x18010564e
mov rax, qword [0x18015e620]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18010564e
mov rax, qword [0x18015e620]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18010564e
mov rax, qword [0x18015e620]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180105614
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18010561b
xor eax, eax
jmp 0x1801057c9
mov rax, qword [0x18015e620]
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 sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1801057c9
mov rax, qword [0x18015e618]
mov qword [0x18015e620], rax
jmp 0x180105670
mov rax, qword [0x18015e620]
mov rax, qword [rax + 8]
mov qword [0x18015e620], rax
cmp qword [0x18015e620], 0
je 0x1801056bd
cmp qword [0x18015e620], 0
je 0x1801056bb
mov rax, qword [0x18015e620]
cmp qword [rax + 0x10], 0
je 0x1801056bb
mov rax, qword [0x18015e620]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1801056bb
mov rax, qword [0x18015e620]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1801056bb
jmp 0x1801055ec
jmp 0x18010565e
mov rcx, qword [rsp + 0x60]
call fcn.180107970
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.1801057d0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1801057c7
mov rax, qword [rsp + 0x48]
mov qword [0x18015e620], rax
mov rax, qword [0x18015e620]
mov dword [rax], 0x52727464
mov rax, qword [0x18015e620]
mov qword [rax + 0x10], 0
mov rax, qword [0x18015e620]
mov rcx, qword [0x18015e618]
mov qword [rax + 8], rcx
mov rax, qword [0x18015e620]
mov qword [0x18015e618], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18015e620]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180105778
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1801057b2
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 0x18010576e
mov rax, qword [0x18015e620]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1801055ec
xor eax, eax
add rsp, 0x58
ret