joyce8/EMBER2024-capa huggingface dataset:
Function at 0x527f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x731231
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [ebp - 0xd]
push esi
mov esi, ecx
push edi
push 0xc
mov dword [ebp - 0x14], esi
mov byte [esi + 8], al
call fcn.00711d5b
xor edi, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov cl, byte [ebp - 0xd]
push 0xc
mov dword [ebp - 4], edi
mov byte [esi + 0x14], cl
call fcn.00711d5b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dl, byte [ebp - 0xd]
push 0xc
mov byte [ebp - 4], 1
mov byte [esi + 0x20], dl
call fcn.00711d5b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov al, byte [ebp - 0xd]
push 0xc
mov byte [ebp - 4], 2
mov byte [esi + 0x2c], al
call fcn.00711d5b
mov cl, byte [ebp - 0xd]
mov dl, byte [ebp - 0xd]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov byte [esi + 0x44], cl
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov byte [esi + 0xb4], dl
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
xor eax, eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x74], eax
add esp, 0x10
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0xb0], 1
or eax, 0xffffffff
mov dword [esi], 0x742dd4
mov dword [esi + 0xec], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [0x83be28], eax
mov dword [0x83be2c], eax
mov dword [esi + 0x68], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x52d1c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 0x68]
mov edi, dword [ebx + 0x6c]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
je 0x52d2b6
mov eax, dword [0x83ec88]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x52d2b6
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
sub eax, ecx
push esi
cdq
xor eax, edx
sub eax, edx
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x52d2af
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
mov dword [ebp - 4], edi
je 0x52d2af
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
jge 0x52d23b
mov edx, eax
jmp 0x52d23f
mov edx, ecx
mov ecx, eax
mov al, byte [ebx + 0x94]
test al, al
jne 0x52d26d
mov esi, dword [ebx + 0x58]
test esi, esi
jne 0x52d255
mov esi, 0x73a7f4
mov edi, dword [ebp - 4]
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x52d285
mov ecx, dword [ebx + 0x5c]
mov eax, 0x2a2a2a2a
sub ecx, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
sub eax, ecx
mov ecx, dword [ebp - 4]
cdq
xor eax, edx
push esi
sub eax, edx
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52d860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x5c]
cmp ecx, eax
je 0x52d899
jbe 0x52d877
mov dword [esi + 0x68], eax
jmp 0x52d883
mov edx, dword [ebp + 8]
add ecx, edx
cmp ecx, eax
ja 0x52d883
mov dword [esi + 0x68], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x52d899
mov edx, dword [esi + 0x68]
mov dword [esi + 0x6c], edx
pop esi
pop ebp
ret 4
Function at 0x52d8a0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7313b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x40], ebx
call fcn.0052b2a0
mov al, byte [ebp - 0x39]
xor esi, esi
push 0xc
mov dword [ebp - 4], esi
mov byte [ebx + 0xb8], al
call fcn.00711d5b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0xc0], esi
mov dword [ebx + 0xbc], eax
mov ecx, 0x14
mov esi, 0x770ac8
lea edi, [ebp - 0xc0]
mov byte [ebx + 0x4c5], 0
mov dword [ebx], 0x742e48
add esp, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xa
mov esi, 0x770a9c
lea edi, [ebp - 0x6c]
mov byte [ebp - 0x38], 0x31
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x37], 0x32
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x34
mov byte [ebp - 0x34], 0x35
mov byte [ebp - 0x33], 0x36
mov byte [ebp - 0x32], 0x37
mov byte [ebp - 0x31], 0x38
mov byte [ebp - 0x30], 0x39
mov byte [ebp - 0x2f], 0x30
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], 0x42
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0x45
mov byte [ebp - 0x29], 0x46
mov byte [ebp - 0x28], 0x47
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x49
mov byte [ebp - 0x25], 0x4a
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x23], 0x4c
mov byte [ebp - 0x22], 0x4e
mov byte [ebp - 0x21], 0x4d
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x51
mov byte [ebp - 0x1d], 0x52
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x54
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x19], 0x56
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x17], 0x58
mov byte [ebp - 0x16], 0x59
mov byte [ebp - 0x15], 0x5a
mov byte [ebp - 0x14], 0xbd
mov byte [ebp - 0x13], 0xba
mov byte [ebp - 0x12], 0xbc
mov byte [ebp - 0x11], 0xbe
mov byte [ebp - 0x10], 0xbf
movsw word es:[edi], word [esi]
lea eax, [ebx + 0xc4]
mov ecx, 0x100
mov byte [eax], 4
add eax, 4
dec ecx
jne 0x52d9d6
xor esi, esi
lea edi, [ebp - 0xbf]
mov cl, byte [edi - 1]
xor eax, eax
mov al, byte [ebp + esi - 0x38]
mov dl, byte [edi]
add edi, 2
mov byte [ebx + eax*4 + 0xc5], cl
mov cl, byte [ebp + esi - 0x6c]
sub cl, 0x31
inc esi
mov byte [ebx + eax*4 + 0xc6], dl
mov byte [ebx + eax*4 + 0xc7], 0
cmp esi, 0x29
mov byte [ebx + eax*4 + 0xc4], cl
jb 0x52d9e7
mov al, 0xa3
mov ecx, dword [ebp - 0xc]
mov byte [ebx + 0x1d1], al
mov byte [ebx + 0x1d2], 0x7e
mov byte [ebx + 0x1d5], al
mov byte [ebx + 0x1d6], 0x7d
mov byte [ebx + 0x1d9], al
mov byte [ebx + 0x1da], 0x7c
mov byte [ebx + 0x219], al
mov byte [ebx + 0x21a], 0xb8
mov byte [ebx + 0x225], al
pop edi
mov byte [ebx + 0x226], 0x7b
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x532080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 2
je 0x53209d
sub eax, 0x42
jne 0x5320df
mov dword [ecx + 0x2c], 1
xor eax, eax
pop ebp
ret 0x10
call fcn.00581950
mov eax, dword [0x814264]
mov dword [eax + 0x14], 0
mov eax, dword [0x81424c]
cmp eax, 0xb
jne 0x5320d5
mov ecx, dword [0x83ec88]
push 1
push 0
push 0
push 0x771168
push 0x76b258
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [0x814260], 0
xor eax, eax
pop ebp
ret 0x10

Function at 0x532a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x532a51
call edi
mov ecx, dword [0x83be54]
mov dword [0x814258], eax
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x532940
push 0
push 0
call fcn.00714282
add esp, 0x18
mov dword [esi + 0x10], 0
call edi
mov edx, dword [0x814258]
pop edi
sub eax, edx
pop esi
cmp eax, 0xff
jae 0x532a84
inc eax
neg eax
shl eax, 0x18
push eax
mov eax, dword [0x7a0f18]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
push edx
push eax
push 0
push 0
call fcn.00405e80
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x532a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push 0
push 0
push 0x532940
push 0
push 0
call fcn.00714282
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
add esp, 0x18
call esi
mov ecx, dword [0x7a0f18]
mov dword [0x814258], eax
call fcn.00412670
call esi
sub eax, dword [0x814258]
cmp eax, 0xff
jae 0x532b6b
push edi
mov edi, dword [ebp + 8]
shl eax, 0x18
push eax
mov eax, dword [0x7a0f18]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
push ecx
push edx
push 0
push 0
call fcn.00405e80
add esp, 0x14
test edi, edi
je 0x532b30
push 0x7711c4
call fcn.0054a300
mov ecx, eax
call fcn.0054a7a0
push eax
mov eax, dword [0x7a0f18]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
sub ecx, 0x7a
sub edx, 0xc0
push ecx
push edx
mov ecx, 0x7dabc0
call fcn.00508250
mov ecx, dword [0x7a0f18]
call fcn.0040d170
test al, al
je 0x532b4c
mov ecx, dword [0x7a0f18]
push 1
call fcn.0040f660
mov ecx, dword [0x7a0f18]
call fcn.00412680
call esi
sub eax, dword [0x814258]
cmp eax, 0xff
jb 0x532add
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x533740
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [eax + 0x14], 0
mov eax, dword [0x81424c]
cmp eax, 0xb
jne 0x533774
mov ecx, dword [0x83ec88]
push 1
push 0
push 0
push 0x771168
push 0x76b258
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esi], 0
pop esi
ret

Function at 0x536b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7317c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
push edi
push 0xc
lea edi, [esi + 0xf8]
mov dword [ebp - 0x14], edi
mov byte [edi], al
call fcn.00711d5b
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov cl, byte [ebp - 0xd]
push 0xc
mov dword [ebp - 4], ebx
mov byte [edi + 0xc], cl
call fcn.00711d5b
mov ecx, dword [ebp - 0xc]
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov dword [esi], 0x742f0c
mov dword [esi + 0x30], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x10], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5379d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7318c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 0x14], esi
mov byte [esi], al
call fcn.00420200
mov dl, byte [ebp - 0xd]
lea ecx, [esi + 0x10]
push ebx
mov dword [ebp - 4], ebx
mov byte [ecx], dl
call fcn.00420200
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x20]
push ebx
mov byte [ebp - 4], 1
mov byte [ecx], al
call fcn.00420200
mov dl, byte [ebp - 0xd]
lea ecx, [esi + 0x30]
push ebx
mov byte [ebp - 4], 2
mov byte [ecx], dl
call fcn.00420200
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x54]
push ebx
mov byte [ebp - 4], 3
mov byte [ecx], al
call fcn.00420200
mov cl, byte [ebp - 0xd]
push 0x2c
mov byte [ebp - 4], 4
mov byte [esi + 0xac], cl
call fcn.00711d5b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ebx
mov dl, byte [ebp - 0xd]
push 0x64
mov byte [ebp - 4], 5
mov byte [esi + 0xb8], dl
call fcn.00711d5b
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], ebx
mov al, byte [ebp - 0xd]
push 0x20
mov byte [ebp - 4], 6
mov byte [esi + 0xc4], al
call fcn.00711d5b
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 0xc
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], ebx
mov cl, byte [ebp - 0xd]
lea edi, [esi + 0xd0]
push ebx
push ebx
mov byte [edi], cl
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00538f40
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dl, byte [ebp - 0xd]
lea edi, [esi + 0xdc]
push ebx
push ebx
mov ecx, edi
mov byte [ebp - 4], 8
mov byte [edi], dl
call fcn.00538fd0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov al, byte [ebp - 0xd]
mov dl, byte [ebp - 0xd]
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 9
mov byte [ecx], al
mov byte [ecx + 1], dl
mov byte [ecx + 8], bl
call fcn.005397c0
lea eax, [ebp - 0xd]
lea edx, [ebp - 0xe]
push eax
push ebx
lea ecx, [esi + 0xf8]
push edx
mov byte [ebp - 4], 0xa
call fcn.00539150
lea eax, [ebp - 0xf]
lea edx, [ebp - 0x10]
push eax
push ebx
lea ecx, [esi + 0x108]
push edx
mov byte [ebp - 4], 0xb
call fcn.00539180
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.00537ee0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x546cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
push ebx
push esi
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x546d1f
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 8
mov edi, dword [eax + 4]
test edi, edi
je 0x546d5c
mov esi, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
lea ecx, [esi + edx]
cmp ecx, ebx
ja 0x546d5c
mov ecx, edx
add esi, edi
mov edi, dword [ebp + 8]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 8]
pop edi
add ecx, edx
pop esi
mov dword [eax + 8], ecx
mov al, 1
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
Function at 0x5473b0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7322e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x30], ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, ecx
push edi
mov edi, dword [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [ebp - 0x10], esp
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
push 0xf0000000
push 1
push ebx
lea ecx, [ebp - 0x18]
push ebx
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x54742a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x20]
push 0x75d2a8
push edx
mov dword [ebp - 0x20], eax
call fcn.00714a95
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x54745a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x24]
push 0x75d2a8
push edx
mov dword [ebp - 0x24], eax
call fcn.00714a95
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x547488
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x75d2a8
push eax
call fcn.00714a95
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push ecx
push 1
push edx
push 0x6801
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x5474bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
push 0x75d2a8
push ecx
mov dword [ebp - 0x2c], eax
call fcn.00714a95
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
push ebx
push 1
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x5474fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x34]
push 0x75d2a8
push edx
mov dword [ebp - 0x34], eax
call fcn.00714a95
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x18], eax
mov eax, 0x5474f9
ret
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x547509
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x547517
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x547526
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x547cf0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push 0x77197c
mov dword [esi + 0x20], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x547d8b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x771960
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x1c]
push 0x771950
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0x771940
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x1c]
push 0x771930
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x1c]
push 0x771920
push eax
call edi
mov ecx, dword [esi + 8]
mov dword [esi + 0x10], eax
test ecx, ecx
pop edi
je 0x547d8b
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x547d8b
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x547d8b
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x547d8b
test eax, eax
je 0x547d8b
mov dword [esi + 0x20], 0
pop esi
ret

Function at 0x5482e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_4
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x548318
mov dword [esi + 4], ebx
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push ebx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push ebx
push 2
push ebx
push eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x548349
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
mov dword [esi + 0x18], ebx
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x548570
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push esi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 8]
mov dword [esi + 0x18], 0x20000000
neg ecx
xor eax, eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x549d90
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea ebx, [ecx + 4]
mov edi, 0x7c1a4c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0072530e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x1505
mov edx, 0
je 0x549df4
movsx esi, byte [ebx + edx]
mov edi, eax
shl edi, 5
add edi, eax
add esi, edi
inc edx
cmp edx, ecx
mov eax, esi
jb 0x549de0
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x549e10
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
lea ebx, [ecx + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0072530e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x1505
mov edx, 0
je 0x549e72
movsx esi, byte [ebx + edx]
mov edi, eax
shl edi, 5
add edi, eax
add esi, edi
inc edx
cmp edx, ecx
mov eax, esi
jb 0x549e5e
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x549e90
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
lea ebx, [ecx + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0072530e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x1505
mov edx, 0
je 0x549f00
movsx esi, byte [ebx + edx]
mov edi, eax
shl edi, 5
add edi, eax
add esi, edi
inc edx
cmp edx, ecx
mov eax, esi
jb 0x549ede
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [edx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x558510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov esi, 0x815388
mov edx, ebx
mov ecx, ebx
and edx, 0xf
xor eax, eax
shr ecx, 4
mov al, byte [edx + 0x776158]
and ecx, 0xf
mov edi, eax
mov dword [ebp - 8], eax
xor edi, ecx
xor eax, eax
add esi, 4
mov al, byte [edi + 0x776168]
mov edi, dword [ebp - 8]
xor eax, edx
xor edx, edx
mov dl, byte [eax + 0x776178]
xor edx, edi
xor edx, ecx
shl edx, 4
or eax, edx
mov ecx, eax
mov byte [ebx + 0x835c94], al
shl ecx, 8
add ecx, eax
mov byte [eax + 0x835d94], bl
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, eax
mov edx, ecx
and ecx, 0xf3fc3fcf
and edx, 0x3fcff3fc
mov dword [esi - 0x804], edx
mov edx, dword [ebp - 4]
mov edi, edx
and edi, 0xfc3fcff3
mov dword [eax*4 + 0x814f88], edi
mov dword [esi - 4], ecx
mov ecx, edx
add edx, 0x1010101
and ecx, 0xcff3fc3f
inc ebx
cmp esi, 0x815788
mov dword [eax*4 + 0x815788], ecx
mov dword [ebp - 4], edx
jl 0x558523
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret