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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48625f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x485b4d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x485dd1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x485dfd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004faa20]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004b5aa0]
lea rbx, [0x004f9570]
call fcn.004650c0
inc rax
cmp rax, r8
jge 0x485e22
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x485e57
lea rdi, [0x004b5b20]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x485b43
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x485e3b
jmp 0x485e10
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046a660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00485b20

Function at 0x486400
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x486417
inc rax
cmp rax, 4
jge 0x48642f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x486414
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x486440
inc rax
cmp rax, 4
jge 0x48644e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x486477
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48645b
jmp 0x48643d

Function at 0x489ee0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x489faa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403200
xorps xmm15, xmm15
mov r14, qword [0x005cfbf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x489f8f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004b5ba0]
xor ebx, ebx
mov rcx, rdx
call fcn.00466460
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0048aba0
inc rbx
cmp rcx, rbx
jae 0x489f7e
mov edi, 1
lea rsi, [0x004b5ba0]
call fcn.00466540
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004f9698]
lea rsi, [0x004f8e60]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00489ee0
Function at 0x498540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4985ec
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call fcn.00403200
xorps xmm15, xmm15
mov r14, qword [0x005cfbf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4985b3
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.0044d280
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x4985c6
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x4985d9
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x4985c3
mov byte [rax + rcx], dl
jmp 0x4985c3
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.00466d00
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call fcn.0046a660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.00498540
Function at 0x14001b920
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x140118630], ecx
mov edx, 1
lea r8, [0x140118634]
nop word [rax + rax]
mov eax, dword [r8 - 4]
add r8, 4
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
inc edx
mov dword [r8 - 4], ecx
cmp edx, 0x270
jl 0x14001b940
mov dword [0x140113a04], 1
mov dword [0x14011a460], 1
ret

Function at 0x14001b980
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14011a460], 0
lea rbx, [0x140118630]
jne 0x14001b9df
call qword [0x1400e05e8]
mov edx, 1
lea r8, [0x140118634]
mov dword [0x140118630], eax
nop
mov eax, dword [r8 - 4]
add r8, 4
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
inc edx
mov dword [r8 - 4], ecx
cmp edx, 0x270
jl 0x14001b9b0
mov dword [0x14011a460], 1
mov dword [0x140113a04], 0x270
mov qword [0x140118620], rbx
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
add rbx, 4
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x630]
dec r8d
mov dword [rbx - 4], ecx
jne 0x14001ba00
mov r8d, 0x18c
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea rdx, [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
dec r8d
mov dword [rbx], ecx
mov rbx, rdx
jne 0x14001ba40
mov eax, dword [0x140118630]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret

Function at 0x14001bab0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [0x140113a04]
jne 0x14001bac1
call fcn.14001b980
mov rax, qword [0x140118620]
add rax, 4
mov ecx, dword [rax - 4]
mov qword [0x140118620], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 0x28
ret

Function at 0x14001bb10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [0x140113a04]
jne 0x14001bb21
call fcn.14001b980
mov rax, qword [0x140118620]
pxor xmm0, xmm0
add rax, 4
mov ecx, dword [rax - 4]
mov qword [0x140118620], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x140101f88]
add rsp, 0x28
ret
Function at 0x140066b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor esi, esi
mov rdi, rdx
or r10d, 0xffffffff
mov edx, esi
mov ebp, r9d
mov r12, r8
mov r13, rcx
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x6c], edx
cmp word [rdi], dx
je 0x140066c67
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], r14
lea r14, [0x140000000]
movzx ebx, word [rdi]
test ebx, 0xffffff80
jne 0x140066bca
mov edx, 2
mov ecx, ebx
call fcn.1400cbb48
mov edx, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x68]
test eax, eax
je 0x140066bca
and ebx, 0xffffffdf
movzx eax, bx
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x140066beb.51
cdqe
movzx eax, byte [r14 + rax + 0x66cc4]
mov ecx, dword [r14 + rax*4 + 0x66ca0]
add rcx, r14
jmp rcx
movzx esi, word [rdi]
jmp case.0x140066beb.51
mov ecx, 1
jmp 0x140066c21
mov ecx, 0x20
jmp 0x140066c21
mov ecx, 4
jmp 0x140066c21
mov ecx, 2
jmp 0x140066c21
mov ecx, 0x80
jmp 0x140066c21
mov ecx, 0x1000
jmp 0x140066c21
mov ecx, 0x100
cmp esi, 0x2b
je 0x140066c3d
cmp esi, 0x2d
je 0x140066c34
cmp esi, 0x5e
jne case.0x140066beb.51
xor edx, ecx
jmp 0x140066c4b
not ecx
and r10d, ecx
and edx, ecx
jmp 0x140066c46
mov eax, ecx
not eax
and r10d, eax
or edx, ecx
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x6c], edx
add rdi, 2
cmp word [rdi], 0
jne 0x140066ba3
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
movzx r9d, byte [rsp + 0x80]
lea rax, [rsp + 0x68]
mov r8d, ebp
mov qword [rsp + 0x28], rax
lea rax, [0x140066d00]
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140066d40
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140041046
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x1400837e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x254], 0
lea rcx, [0x140111d59]
call fcn.140043e1d
nop
lea rcx, [0x1400fb518]
call fcn.14004137a
nop
xor edx, edx
lea rcx, [0x14004109b]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov edx, 0xe8
lea rcx, [rbp + 0x10]
call fcn.140042ca2
mov edx, 1
lea rcx, [rbp + 0x10]
call fcn.140043ea9
nop
lea rax, [0x1400fb518]
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x118]
call fcn.140042a22
mov qword [rbp + 0x138], rax
mov rcx, qword [rbp + 0x118]
call fcn.140043f03
mov qword [rbp + 0x158], rax
jmp 0x1400838b6
mov rax, qword [rbp + 0x138]
add rax, 0x30
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x158]
cmp qword [rbp + 0x138], rax
je 0x14008391b
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400429d2
lea rdx, str.__PID:
mov rcx, rax
call fcn.140042716
mov rcx, qword [rbp + 0x178]
mov edx, dword [rcx + 0x28]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1400dc4a0]
mov rcx, rax
call fcn.140042716
nop
jmp 0x1400838a4
mov rdx, qword [rbp + 0x290]
lea rcx, [rbp + 0x10]
call fcn.140042e4b
mov eax, dword [rbp + 0x254]
or eax, 1
mov dword [rbp + 0x254], eax
lea rcx, [rbp + 0x10]
call fcn.140041947
nop
mov rax, qword [rbp + 0x290]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400d66b0]
call fcn.1400435df
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret
Function at 0x140041131
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400b3460
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x14011236d]
call fcn.140043e1d
nop
lea r8, [rbp + 8]
mov edx, 0x20
mov rcx, qword [rbp + 0x230]
call qword [sym.imp.GDI32.dll_GetObjectW]
nop
mov dword [rbp + 0x78], 0x28
mov eax, dword [rbp + 0xc]
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp + 0x10]
mov dword [rbp + 0x80], eax
mov eax, 1
mov word [rbp + 0x84], ax
mov eax, 0x18
mov word [rbp + 0x86], ax
mov dword [rbp + 0x88], 0
mov dword [rbp + 0x8c], 0
mov dword [rbp + 0x90], 0
mov dword [rbp + 0x94], 0
mov dword [rbp + 0x98], 0
mov dword [rbp + 0x9c], 0
movzx eax, word [rbp + 0x86]
mov ecx, dword [rbp + 0xc]
imul ecx, eax
mov eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
imul eax, dword [rbp + 0x10]
mov dword [rbp + 0xb4], eax
mov eax, dword [rbp + 0xb4]
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0xf8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x30], 0
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp + 0x10]
xor r8d, r8d
mov rdx, qword [rbp + 0x230]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDIBits]
nop
mov eax, 0x4d42
mov word [rbp + 0x48], ax
mov eax, dword [rbp + 0xb4]
add rax, 0x36
mov dword [rbp + 0x4a], eax
xor eax, eax
mov word [rbp + 0x4e], ax
xor eax, eax
mov word [rbp + 0x50], ax
mov dword [rbp + 0x52], 0x36
mov rcx, qword [rbp + 0x238]
call fcn.140041eab
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x118], 0xffffffffffffffff
je 0x1400b36c4
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x134]
mov r8d, 0xe
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x134]
mov r8d, 0x28
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x134]
mov r8d, dword [rbp + 0xb4]
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x1400de950]
call fcn.1400435df
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret
Function at 0x1400413d4
Capabilities:
Write file on windows

Disassembly:
jmp 0x140059c60
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, [0x140111066]
call fcn.140043e1d
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140059cb8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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 0x140059dca
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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 0x140059d63
cmp qword [rbp + 0x28], 0
jle 0x140059d63
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140059d01
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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.140043ad5
nop
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.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140059db9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140059db9
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.ucrtbased.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 0x1400416ea
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400825f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140111643]
call fcn.140043e1d
nop
mov qword [rbp + 8], 0
jmp 0x14008262f
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140082685
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140082624
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140041744
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1400abf80
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x140111b63]
call fcn.140043e1d
nop
mov rax, qword [rbp + 0x2c0]
mov ecx, 1
lock xadd dword [rax], ecx
inc ecx
mov eax, ecx
cmp eax, 1
jne 0x1400ac038
movzx eax, byte [rbp + 0x2c8]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rbp + 0x2d0]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
lea rdx, [rbp + 0x10]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbp + 0x1c4], eax
mov rax, qword [rbp + 0x2c0]
add rax, 4
mov ecx, dword [rbp + 0x1c4]
xchg dword [rax], ecx
lea rcx, [rbp - 0x20]
lea rdx, [0x1400d5f90]
call fcn.1400435df
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x14004182a
Capabilities:
Create thread

Disassembly:
jmp 0x140071340
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x140111af6]
call fcn.140043e1d
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140041ce9
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140042644
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400418ca
nop
lea rcx, [rbp + 0x108]
call fcn.1400421e4
nop
lea rax, [0x140042e05]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140042f04
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140071443
lea rcx, [rbp + 8]
call fcn.1400422c5
nop
jmp 0x14007145c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14004195b
nop
lea rcx, [rbp + 8]
call fcn.1400421e4
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1400dabc0]
call fcn.1400435df
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400419b5
Capabilities:
Get graphical window text

Disassembly:
jmp 0x14008fe00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x288], rax
mov dword [rbp + 0x244], 0
lea rcx, [0x140111d59]
call fcn.140043e1d
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14008ffad
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rbp + 0x24], eax
xor r8d, r8d
mov edx, 0x100
lea rcx, [rbp + 0x68]
call fcn.1400420b8
nop
lea rcx, [rbp + 0x68]
call fcn.1400416db
mov qword [rbp + 0x258], rax
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.140041465
mov rcx, qword [rbp + 0x258]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rbp + 0xa4], eax
mov edx, dword [rbp + 0x44]
lea rcx, [rbp + 0x188]
call fcn.1400413c0
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x260], rax
mov r8, qword [rbp + 0x260]
lea rdx, [0x1400dc9c8]
lea rcx, [rbp + 0x1c8]
call fcn.1400418ed
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x270], rax
lea r8, [0x1400d3608]
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x208]
call fcn.140042b44
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x280], rax
lea r8, [rbp + 0x68]
mov rdx, qword [rbp + 0x280]
mov rcx, qword [rbp + 0x2b0]
call fcn.140044110
mov eax, dword [rbp + 0x244]
or eax, 1
mov dword [rbp + 0x244], eax
lea rcx, [rbp + 0x208]
call fcn.1400436d9
nop
lea rcx, [rbp + 0x1c8]
call fcn.1400436d9
nop
lea rcx, [rbp + 0x188]
call fcn.1400436d9
nop
lea rcx, [rbp + 0x68]
call fcn.1400436d9
nop
mov rax, qword [rbp + 0x2b0]
jmp 0x14008ffd6
lea rdx, [0x1400dca00]
mov rcx, qword [rbp + 0x2b0]
call fcn.140041e74
mov eax, dword [rbp + 0x244]
or eax, 1
mov dword [rbp + 0x244], eax
mov rax, qword [rbp + 0x2b0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400435df
mov rax, rdi
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret

Function at 0x140041b5e
Capabilities:
Create directory

Disassembly:
jmp 0x1400a2760
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140111d59]
call fcn.140043e1d
nop
mov rcx, qword [rbp + 0xe0]
call fcn.140041eab
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400a27a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400a27ae
mov al, 1
jmp 0x1400a27b0
xor al, al
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14004295a
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b9330
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140042a81
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
jmp 0x14008f820
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x140111d59]
call fcn.140043e1d
nop
lea rax, [0x1400dc900]
mov qword [rbp + 8], rax
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14008f8ce
lea rcx, str.C:AMD
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14008f8b2
xor edx, edx
lea rcx, str.C:AMD
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14008f8b2
jmp 0x14008f8ce
xor r8d, r8d
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x14008f8ce
mov byte [0x1400fb413], 1
lea rcx, [rbp - 0x20]
lea rdx, [0x1400d7920]
call fcn.1400435df
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret