joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b1b8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x4933d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x493445
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x549318]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x49342f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004933c4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48df70]
call fcn.0049346c
mov dword [0x54937c], eax
mov eax, dword [ebp - 4]
call fcn.00493374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49344c
lea eax, [ebp - 8]
call fcn.0040672c
ret

Function at 0x4bab38
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov esi, dword [ebx + 0x210]
test esi, esi
je 0x4bac20
mov eax, esi
call fcn.00448b14
test al, al
je 0x4bac20
mov eax, dword [ebx + 0x210]
test byte [eax + 0x1c], 8
jne 0x4bac20
mov eax, ebx
call fcn.00448b14
test al, al
je 0x4bac20
mov eax, dword [edi]
cmp eax, 0x114
jge 0x4bab98
sub eax, 2
je 0x4babb0
sub eax, 0xd
je 0x4babc2
sub eax, 5
je 0x4babb9
jmp 0x4bac20
add eax, 0xfffffeec
sub eax, 2
jb 0x4bac19
sub eax, 0x21
je 0x4babcb
sub eax, 0xaed4
je 0x4babd4
jmp 0x4bac20
mov byte [ebx + 0x208], 1
jmp 0x4bac20
mov eax, ebx
call fcn.004bac24
jmp 0x4bac20
mov eax, ebx
call fcn.004bac24
jmp 0x4bac20
mov eax, ebx
call fcn.004bac24
jmp 0x4bac20
mov eax, dword [ebx + 0x210]
mov dl, byte [eax + 0x57]
mov eax, ebx
call fcn.0044206c
mov eax, dword [ebx + 0x210]
cmp byte [eax + 0x57], 0
je 0x4bac08
push 5
mov eax, ebx
call fcn.00448810
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004bac24
jmp 0x4bac20
push 0
mov eax, ebx
call fcn.00448810
push eax
call sub.user32.dll_ShowWindow
jmp 0x4bac20
mov eax, ebx
call fcn.004bac24
pop edi
pop esi
pop ebx
ret
Function at 0x4c9224
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c93cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x11b], 0x12
test byte [ebx + 0x1c], 0x10
jne 0x4c93ad
mov eax, ebx
call fcn.004d3298
test byte [eax + 0x2ec], 8
jne 0x4c93ad
push 0
mov eax, ebx
call fcn.004d32bc
push eax
push 0x4514
mov eax, ebx
call fcn.004d32bc
push eax
call sub.user32.dll_SendMessageA
dec eax
je 0x4c93ad
cmp word [ebx + 0x1ba], 0
je 0x4c92b6
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x4c93ad
mov eax, ebx
call fcn.004d3298
test eax, eax
je 0x4c93ad
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x4c93a2
mov byte [ebx + 0xa1], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x4c930e
mov al, byte [ebx + 0xa1]
cmp al, 2
je 0x4c930e
cmp al, 1
je 0x4c930e
cmp al, 3
je 0x4c930e
mov eax, ebx
call fcn.004d3298
lea edx, [ebp - 0x14]
call fcn.00441aec
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x91]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x4c9356
lea edx, [ebp - 0x18]
mov eax, dword [0x54d88c]
mov eax, dword [eax]
call fcn.004627b4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.00409938
mov eax, dword [0x54d88c]
mov eax, dword [eax]
call fcn.004625c8
push 0
mov eax, dword [0x54d88c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4c9392
mov eax, ebx
call fcn.004d3298
test eax, eax
je 0x4c9383
mov eax, ebx
call fcn.004d3298
lea edx, [ebp - 0x1c]
call fcn.0044214c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xbc]
mov ecx, 0x3f
call fcn.00409938
push 0
mov eax, ebx
call fcn.004d32bc
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0xa4]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x4c93a9
mov eax, ebx
call fcn.004c8cbc
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c93d2
lea eax, [ebp - 0x1c]
call fcn.00404658
lea eax, [ebp - 0x18]
call fcn.00404658
ret
Function at 0x4ddda4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4dddcb
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4ddddd
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4ddde9
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004ddc34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4dde36
xor eax, eax
push ebp
push 0x4dde2f
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004ddc64
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dde36
ret
cmp byte [ebp - 0xd], 2
je 0x4ddde9
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e12cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4e12f6
cmp dword [ebx + 0x64], 0
jne 0x4e12f6
cmp dword [ebx + 0x6c], 0
jne 0x4e12f6
mov esi, edi
jmp 0x4e1384
cmp esi, 0xffffffff
jne 0x4e1301
dec esi
jmp 0x4e1384
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x4e1384
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004e0934
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4e134c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4e1351
mov word [edx], 0
dec eax
test eax, eax
jne 0x4e1332
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4e1378
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4e137d
mov word [edx], 0
dec eax
test eax, eax
jne 0x4e135e
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4e13e2
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004e1054
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4e13cd
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4e13e2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4e12d6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x518b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x518bc1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.00403118
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004048c0
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00518144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518bc8
lea eax, [ebp - 0x10c]
call fcn.00404658
ret

Function at 0x519be8
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
lea eax, [ebp - 0x11]
call fcn.00519b68
mov byte [ebp - 1], al
cmp byte [ebp - 0x11], 0
je 0x519d01
xor eax, eax
push ebp
push 0x519ce7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x519c4c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x519c4c
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x519cdd
mov eax, 0x400
call fcn.00402780
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x400
push esi
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x519cd6
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x54a798
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x519ccd
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x519cc9
mov byte [ebp - 1], 1
jmp 0x519ccd
inc edi
dec ebx
jne 0x519cb1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.004027a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x519d01
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519db4
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x519f01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404658
mov dword [ebp - 0xc], 0x10
mov eax, esi
call fcn.00404b08
mov edi, eax
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x519ec3
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x519eb8
push 0
mov eax, esi
call fcn.00404910
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x519eaf
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x8c]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x519eaf
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x519eaf
inc edi
lea esi, [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
lea edx, [ebp - 0x98]
xor ecx, ecx
mov eax, 0x519f18
call fcn.00409ff0
mov edx, dword [ebp - 0x90]
mov eax, ebx
call fcn.00404918
inc esi
dec edi
jne 0x519e74
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
call fcn.00408e9c
mov edx, dword [ebp - 0x9c]
mov eax, ebx
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519f08
lea eax, [ebp - 0x9c]
call fcn.00404658
lea eax, [ebp - 0x90]
call fcn.00404658
ret
Function at 0x519f20
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404af8
xor eax, eax
push ebp
push 0x51a136
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404658
xor edx, edx
push ebp
push 0x51a0ec
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41a6d4]
call fcn.0041f5d0
mov esi, eax
push 0
push 0
mov eax, esi
call fcn.0041f0d4
mov dl, 1
mov eax, dword [0x41a7c4]
call fcn.00403880
mov ebx, eax
push 0
push 0
mov eax, ebx
call fcn.0041f0d4
push 0
push 0
mov eax, ebx
call fcn.0041f0d4
mov eax, esi
call fcn.0041f0e8
push edx
push eax
mov eax, ebx
call fcn.0041f138
mov eax, ebx
call fcn.0041f0e8
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0041f2e0
push 0
push 0
mov eax, ebx
call fcn.0041f0d4
mov eax, esi
call fcn.004038b0
mov dword [ebp - 0x14], 0x10
mov esi, dword [ebx + 4]
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptAcquireContextA
test eax, eax
je 0x51a0bd
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x8003
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptCreateHash
test eax, eax
je 0x51a0b2
push 0
mov eax, ebx
call fcn.0041f0e8
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptHashData
test eax, eax
je 0x51a0a9
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptGetHashParam
test eax, eax
je 0x51a0a9
mov edi, dword [ebp - 0x14]
dec edi
test edi, edi
jl 0x51a0a9
inc edi
lea esi, [ebp - 0x94]
lea eax, [ebp - 0x98]
push eax
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, 0x51a14c
call fcn.00409ff0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 8]
inc esi
dec edi
jne 0x51a06a
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CryptDestroyHash
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CryptReleaseContext
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00408e9c
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 8]
call fcn.004046ac
mov eax, ebx
call fcn.004038b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51a10a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51a13d
lea eax, [ebp - 0xa4]
call fcn.00404658
lea eax, [ebp - 0x98]
call fcn.00404658
lea eax, [ebp - 4]
call fcn.00404658
ret
Function at 0x51f828
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x51f856
mov eax, ebx
call fcn.005202e0
cmp dword [ebx + 0x3c], 0
je 0x51f84f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x51f8c7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x51f8b9
cmp dword [ebx + 8], 0
je 0x51f878
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x51f88a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x51f8b9
cmp dword [ebx + 8], 0
je 0x51f86b
cmp eax, 3
je 0x51f89d
dec eax
jne 0x51f86b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x51f86b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x51f86b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x51f8e5
cmp dword [ebx + 0x10], 0xcc
je 0x51f8e5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0051f8f0
pop ebx
ret

Function at 0x531bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x531bda
cmp dword [ebx + 0x64], 0
jne 0x531bda
cmp dword [ebx + 0x6c], 0
jne 0x531bda
mov edi, esi
jmp 0x531c61
cmp edi, 0xffffffff
jne 0x531be2
dec edi
jmp 0x531c61
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x531c61
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00530fac
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x531c2f
mov cx, word [esp]
sub cx, si
jmp 0x531c31
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x531c18
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x531c57
mov cx, word [esp]
sub cx, si
jmp 0x531c59
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x531c40
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x531cbe
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0053194c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x531ca9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x531cbe
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x531bba
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x537f14
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5670c4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x537f36
shr eax, 1
xor eax, 0xedb88320
jmp 0x537f38
shr eax, 1
dec edx
jne 0x537f24
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x537f1d
mov byte [0x5674c4], 1
pop esi
pop ebx
ret

Function at 0x537f54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5674c4], 0
jne 0x537f6b
call fcn.00537f14
mov eax, edi
dec eax
test eax, eax
jl 0x537f94
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5670c4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x537f75
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x53a520
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x53a551
dec al
je 0x53a592
dec al
je 0x53a5d6
dec al
je 0x53a641
jmp 0x53a6cb
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x53a6cb
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x53a561
jmp 0x53a6cb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53a6cb
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x53a5a2
jmp 0x53a6cb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53a6cb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x53a604
xor ebp, ebp
jmp 0x53a615
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x53a61e
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x53a5e6
jmp 0x53a6cb
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53a6cb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x53a699
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00537f9c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x53a655
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x542080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x5420b8]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x542096
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x5420a5
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x5420b4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x54341c
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x54d88c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
push 0
mov eax, dword [0x54d88c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x543638
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x54d88c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x54365e
push 0
mov eax, dword [0x54d88c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x543bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404af8
xor eax, eax
push ebp
push 0x543c45
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404b08
push eax
push 0x543c50
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543c4c
lea eax, [ebp - 8]
call fcn.00404658
ret

Function at 0x544924
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404af8
mov eax, dword [ebp - 8]
call fcn.00404af8
xor eax, eax
push ebp
push 0x54499c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x5675d8
mov edx, dword [ebp - 4]
call fcn.004046ac
mov eax, 0x5675dc
mov edx, dword [ebp - 8]
call fcn.004046ac
lea eax, [ebp - 0x10]
push eax
push 0x544840
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5449a3
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040467c
ret