joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403820
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ebx
push edi
call fcn.00403960
add esp, 8
mov dword [ebp - 0x41c], eax
test eax, eax
jne 0x403946
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00407f40
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.00407f40
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x416ef0
lea ecx, [ecx]
cmp word [esi], 0
je 0x4038d6
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0040466c
add esp, 0xc
push esi
lea ecx, [ebp - 0x418]
push 0x104
push ecx
call fcn.004045f7
add esp, 0xc
add esi, 0x118
cmp esi, 0x417468
jl 0x4038a0
mov esi, 0x416ef0
lea esp, [esp]
cmp word [esi], 0
je 0x403902
push ebx
push edi
mov ecx, esi
call fcn.00404260
add esp, 8
add esi, 0x118
cmp esi, 0x417468
jl 0x4038f0
push 0x417c80
lea edx, [ebp - 0x210]
push 0x104
push edx
call fcn.004045f7
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, 2
je 0x403946
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004045e8
mov esp, ebp
pop ebp
ret

Function at 0x403ba0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9ac
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x808]
cmp eax, ebx
je 0x403bc5
mov ecx, eax
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x9a8]
push ecx
push 0x101
mov dword [ebp - 0x9ac], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x403bf7
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004045e8
mov esp, ebp
pop ebp
ret
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x403be6
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x403c37
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
push 4
lea edx, [ebp - 0x9ac]
push edx
mov dword [ebp - 0x9ac], eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x403c8d
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, 2
push ecx
mov dword [ebp - 0x814], edx
mov word [ebp - 0x818], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [ebp - 0x818]
mov word [ebp - 0x816], ax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x403c8d
mov ebx, 1
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004045e8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x403c9c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], ebx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004045e8
mov esp, ebp
pop ebp
ret
Function at 0x404260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe2c
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x400
mov ebx, ecx
lea ecx, [ebp - 0x610]
push 0
push ecx
mov dword [ebp - 0xe24], eax
call fcn.00407f40
add esp, 0xc
push ebx
lea edx, [ebp - 0x610]
push 0x1ff
push edx
call fcn.0040466c
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042b1
sub eax, edx
sar eax, 1
lea edi, [ebp + eax*2 - 0x60e]
mov ecx, 0x80
mov esi, 0x417a80
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
jmp 0x4042e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042e0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x202]
push 0x10000
mov dword [ebp - 0xe28], eax
call fcn.0040512d
add esp, 4
push 0x10000
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.00407f40
add esp, 0xc
push 0x7fe
lea edx, [ebp - 0xe0e]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0xe1c], 0x10000
mov word [ebp - 0xe10], cx
call fcn.00407f40
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x20e]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0xe18], esi
mov dword [ebp - 0xe14], esi
mov dword [ebp - 0xe20], esi
mov word [ebp - 0x210], ax
call fcn.00407f40
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xe24]
lea eax, [ebp - 0xe10]
push eax
push ecx
lea esi, [ebp - 0xe18]
call fcn.00403ba0
add esp, 8
test eax, eax
je 0x40447c
mov eax, dword [ebp - 0xe28]
lea edx, [ebp - 0xe10]
push edx
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0xbba
mov edx, esi
call fcn.00403cb0
add esp, 0x10
test eax, eax
je 0x40447c
lea edx, [ebp - 0xe10]
push edx
lea eax, [ebp - 0xe20]
push eax
mov ecx, esi
push ecx
lea edx, [ebp - 0xe1c]
mov ecx, ebx
call fcn.00403eb0
add esp, 0xc
test eax, eax
je 0x40447c
mov edx, 0xbba
cmp word [ebp - 0xe20], dx
jne 0x40447c
cmp dword [ebp - 0xe1c], 0
je 0x40447c
cmp byte [ebx], 0
jne 0x40447c
push 0x417c80
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004045f7
add esp, 0xc
push 0x41379c
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xe14]
push edx
mov dword [ebp - 0xe14], 0
call fcn.00404919
add esp, 0xc
cmp dword [ebp - 0xe14], 0
je 0x404472
lea eax, [ebp - 0xe14]
push eax
mov edi, esi
call fcn.004044c0
add esp, 4
mov dword [ebp - 0xe14], 1
test ebx, ebx
je 0x404489
push ebx
call fcn.004051c1
add esp, 4
mov eax, dword [ebp - 0xe18]
test eax, eax
je 0x40449a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045e8
mov esp, ebp
pop ebp
ret
Function at 0x40df4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409ab3
and dword [ebp - 0x14], 0
cmp dword [0x416cac], 0
mov dword [ebp - 0x18], eax
jne 0x40dfff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e0a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40e0a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x416cac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x416cb0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x416cb4], eax
call edi
push eax
call esi
mov dword [0x416cbc], eax
test eax, eax
je 0x40dfff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x416cb8], eax
mov eax, dword [0x416cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40e058
cmp dword [0x416cbc], ecx
je 0x40e058
push eax
call esi
push dword [0x416cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e058
test ebx, ebx
je 0x40e058
call edi
test eax, eax
je 0x40e04f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e04f
test byte [ebp - 8], 1
jne 0x40e058
or dword [ebp + 0x10], 0x200000
jmp 0x40e08b
mov eax, dword [0x416cb0]
cmp eax, dword [ebp - 0x18]
je 0x40e08b
push eax
call esi
test eax, eax
je 0x40e08b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e08b
mov eax, dword [0x416cb4]
cmp eax, dword [ebp - 0x18]
je 0x40e08b
push eax
call esi
test eax, eax
je 0x40e08b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416cac]
call esi
test eax, eax
je 0x40e0a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e0a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045e8
leave
ret
Function at 0x100b8fa
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
xor eax, eax
push ebx
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov dword [ecx], eax
lea ecx, [ebp - 4]
push ecx
push eax
push 1
push dword [ebp + 0xc]
mov ebx, 0x80004005
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
test eax, eax
jne 0x100b966
mov eax, dword [0x100d05c]
cmp eax, 0x100d05c
je 0x100ba27
test byte [eax + 0x1c], 4
je 0x100ba27
push ebx
push 0x1003998
push 0x1003934
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010055de
jmp 0x100ba27
mov eax, dword [ebp - 4]
push edi
add eax, eax
push eax
call fcn.0100b4b1
mov edi, eax
test edi, edi
jne 0x100b9a8
mov eax, dword [0x100d05c]
cmp eax, 0x100d05c
je 0x100b9a1
test byte [eax + 0x1c], 4
je 0x100b9a1
push 0x1003984
push 0x1003934
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005571
mov ebx, 0x8007000e
jmp 0x100ba1c
lea eax, [ebp - 4]
push eax
push edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100b9e7
mov eax, dword [0x100d05c]
cmp eax, 0x100d05c
je 0x100ba1c
test byte [eax + 0x1c], 4
je 0x100ba1c
push ebx
push 0x1003998
push 0x1003934
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010055de
jmp 0x100ba1c
xor ebx, ebx
xor ecx, ecx
cmp dword [ebp - 4], ebx
jbe 0x100ba0d
movzx eax, word [edi + ecx*2]
cmp ax, 0xd
je 0x100ba00
cmp ax, 0xa
jne 0x100ba07
push 0x20
pop eax
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x100b9f0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [eax], ecx
test edi, edi
je 0x100ba26
push edi
call fcn.0100b4c9
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x100ba34
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
xor esi, esi
push esi
push esi
mov dword [ebx], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push esi
push 1
push esi
push dword [ebp + 8]
mov dword [ebp - 8], 0x80004005
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x100baa8
mov eax, dword [0x100d05c]
cmp eax, 0x100d05c
je 0x100bb4c
test byte [eax + 0x1c], 4
je 0x100bb4c
push 0x80004005
push 0x10039e4
push 0x1003934
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010055de
jmp 0x100bb4c
push dword [ebp - 4]
call fcn.0100b4b1
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x100bae9
mov eax, dword [0x100d05c]
cmp eax, 0x100d05c
je 0x100bae0
test byte [eax + 0x1c], 4
je 0x100bae0
push 0x10039d0
push 0x1003934
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005571
mov dword [ebp - 8], 0x8007000e
jmp 0x100bb3f
push esi
push esi
lea ecx, [ebp - 4]
push ecx
push eax
push 1
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x100bb2c
mov eax, dword [0x100d05c]
cmp eax, 0x100d05c
je 0x100bb3f
test byte [eax + 0x1c], 4
je 0x100bb3f
push 0x80004005
push 0x10039e4
push 0x1003934
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010055de
jmp 0x100bb3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], esi
mov dword [ecx], eax
mov dword [ebp - 8], esi
cmp dword [ebp + 0xc], esi
je 0x100bb4c
push dword [ebp + 0xc]
call fcn.0100b4c9
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100bc73
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100d03c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x228], ecx
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x220], ecx
cmp ebx, ecx
je 0x100bcb4
mov dword [ebx], ecx
cmp dword [ebp + 0x24], ecx
jne 0x100bcd1
push eax
push 0x109
lea eax, [ebp - 0x218]
push eax
call fcn.0100bc28
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
push ecx
push 0x20019
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100bd26
mov ecx, dword [0x100d05c]
cmp ecx, 0x100d05c
je 0x100bdeb
test byte [ecx + 0x1c], 2
je 0x100bdeb
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1003a3c
push 0x15
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010055de
jmp 0x100bdeb
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x22c]
push eax
push 0
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0x1003a3c
test eax, eax
je 0x100bd87
mov ecx, dword [0x100d05c]
cmp ecx, 0x100d05c
je 0x100bdb8
test byte [ecx + 0x1c], 2
je 0x100bdb8
push eax
push esi
push dword [ebp - 0x230]
push edi
push 0x16
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100bb5b
jmp 0x100bdb8
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x224]
cmp ecx, dword [ebp + 0x1c]
je 0x100bda8
cmp ecx, 3
jne 0x100bdb8
cmp dword [ebp + 0x1c], 4
jne 0x100bdb8
cmp eax, 4
jne 0x100bdb8
test ebx, ebx
je 0x100bdae
mov dword [ebx], eax
mov dword [ebp - 0x220], 1
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100bdeb
mov ecx, dword [0x100d05c]
cmp ecx, 0x100d05c
je 0x100bdeb
test byte [ecx + 0x1c], 4
je 0x100bdeb
push eax
push edi
push 0x17
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01006957
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100480c
leave
ret 0x20

Function at 0x710c74
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7109ec
mov edi, 0xcb5fb730
sub esi, edi
call fcn.00710cb8
inc esi
add edi, 0x1ed0e46e
or esi, esi
xor dword [edx], eax
sub esi, 0x8e457657
sub edi, 1
add esi, esi
inc edx
and esi, edi
sub edi, esi
cmp edx, ebx
jne fcn.00710c74
add edi, esi
dec esi
mov esi, edi
ret
Function at 0x1002a6e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10041380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x1002a713
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003554d
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x1002a780
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x1002a77a
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1002a77a
cmp word [eax], cx
jne 0x1002a77a
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x1002a775
cmp dword [ecx], 0x4550
jne 0x1002a775
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp eax, dword [edi + 8]
je 0x1002a769
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x1002a775
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.10029f00
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x1002a724
mov eax, dword [edi]
cmp eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1003554d
mov esp, ebp
pop ebp
ret
Function at 0x1002c270
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038360
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10041380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov byte [edi], bl
mov eax, dword [edi + 0x64]
test eax, eax
je 0x1002c2b0
mov eax, dword [eax + 0x18]
or ebx, 1
jmp 0x1002c2b5
or ebx, 2
xor eax, eax
mov ecx, ebx
or ecx, 4
mov edx, ecx
and edx, 0xfffffffd
test bl, 2
cmove edx, ecx
mov esi, edx
and esi, 0xfffffffe
test dl, 1
cmove esi, edx
test eax, eax
jne 0x1002c345
mov edx, 0x515dc51c
lea ecx, [ebp - 0x20]
call fcn.1002a7a0
movq xmm0, qword [eax]
movq qword [edi + 0x64], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 0x6c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x1002c2fc
mov eax, dword [ecx + 0x18]
jmp 0x1002c2fe
xor eax, eax
xor edx, edx
test ecx, ecx
sete dl
lea edx, [edx*8 + 0x28]
or edx, esi
mov esi, edx
and esi, 0xffffffef
test dl, 0x10
cmove esi, edx
mov ebx, esi
mov ecx, esi
and ebx, 0xfffffff7
test cl, 8
cmove ebx, esi
test eax, eax
jne 0x1002c2a1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x10], eax
call fcn.1002c850
jmp 0x1002c2a1
push 0x10
lea eax, [edi + 0x280]
mov byte [edi + 0x29c], 0
push eax
lea eax, [edi + 0x298]
push eax
lea eax, [edi + 0x294]
push eax
lea esi, [edi + 0x290]
push esi
push 0x10
lea eax, [edi + 0x270]
push eax
push 0x1003d0bc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1002c3a0
mov eax, dword [esi]
cmp eax, 0x8e3a7cd0
jne 0x1002c392
mov byte [edi + 0x29c], 1
push eax
push str.users_hwid_is:__i_n
call fcn.100240c0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002c6b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x1002c821
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.1002c990
push 0x2c
push edi
call fcn.100359c8
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x1002c77d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1002c730
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1002c817
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1002c791
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x1002c794
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x1002c817
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.1002c990
push 0x2c
push edi
call fcn.100359c8
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x1002c828
cmp esi, eax
jne 0x1002c7e7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x1002c7a0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002d5e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
je 0x1002d5ef
xor eax, eax
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x1003cc54
push str.CONOUT_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
push str.injected_n
call fcn.100240c0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10027500
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x100321a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100321d1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10027a60
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100322dc
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1003225f
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100322d2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10032299
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10032291
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x100322cf
cmp edi, edx
je 0x100322ac
nop dword [eax]
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100322e5
cmp edi, edx
jne 0x100322a0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10032210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100322cf