joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40561c
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x800
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp dword [esi + 0x5c], ebx
jne 0x405669
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x405669
call ebp
push eax
lea eax, [esp + 0x14]
push 0x42cfc0
push eax
call fcn.0041c5d8
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x60], ebx
jne 0x40569c
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x60], eax
jne 0x40569c
call ebp
push eax
lea eax, [esp + 0x14]
push 0x42cf84
push eax
call fcn.0041c5d8
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x814]
mov eax, dword [esi + 0x5c]
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x814]
pop esi
pop ebp
pop ebx
mov dword [ecx], eax
add esp, 0x800
ret 8

Function at 0x4056e4
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x405753
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push eax
push edi
call sub.KERNEL32.dll_Module32First
jmp 0x405748
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push eax
call fcn.004279b0
pop ecx
test eax, eax
pop ecx
je 0x40575a
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x40571c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
leave
ret 4
mov al, 1
jmp 0x405755

Function at 0x40575e
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
call fcn.0040743b
test al, al
je 0x405791
lea eax, [esp]
push 0x400
push eax
call fcn.004076e2
pop ecx
test al, al
pop ecx
jne 0x405791
push 0x42d004
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, 1
jmp 0x405793
xor al, al
add esp, 0x400
ret
Function at 0x406912
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push edi
push 0x42d2ec
push dword [ebp + 8]
call fcn.0041ceb4
mov esi, eax
xor edi, edi
pop ecx
cmp esi, edi
pop ecx
je 0x4069cd
push 2
push edi
push esi
call fcn.0041d2ec
xor ebx, ebx
inc ebx
push ebx
push 0xfffffffffffffffa
push esi
call fcn.0041d2ec
push esi
push ebx
lea eax, [ebp - 2]
push 2
push eax
call fcn.0041d1d5
movzx eax, word [ebp - 2]
push ebx
push 0xfffffffffffffffe
pop ecx
sub ecx, eax
push ecx
push esi
call fcn.0041d2ec
push esi
call fcn.0041d053
mov dword [ebp + 8], eax
push esi
movzx eax, word [ebp - 2]
push eax
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0041d1d5
add esp, 0x48
push edi
push edi
push esi
call fcn.0041d2ec
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push ebx
mov ebx, 0x42d2c0
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push eax
call edi
test eax, eax
jne 0x4069d4
push 0xf0000008
push 1
push ebx
push eax
lea eax, [ebp - 8]
push eax
call edi
test eax, eax
jne 0x4069d4
push esi
call fcn.0041cdca
pop ecx
xor al, al
jmp 0x406abc
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4069fc
push esi
call fcn.0041cdca
pop ecx
xor bl, bl
jmp 0x406aaf
mov ebx, dword [ebp + 8]
and byte [ebp + 0xb], 0
mov edi, 0x400
cmp ebx, edi
jge 0x406a12
mov edi, ebx
mov byte [ebp + 0xb], 1
push esi
push edi
lea eax, [ebp - 0x410]
push 1
push eax
call fcn.0041d1d5
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x406a90
sub ebx, edi
cmp byte [ebp + 0xb], 0
je 0x406a03
push esi
call fcn.0041cdca
pop ecx
lea eax, [ebp - 0xc]
xor esi, esi
push eax
push esi
push esi
push 0x54
push 0x42d230
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x406a97
movzx eax, word [ebp - 2]
push esi
push 0x42d2a0
push dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
test eax, eax
jne 0x406a9b
xor bl, bl
jmp 0x406a9d
push esi
call fcn.0041cdca
pop ecx
xor bl, bl
jmp 0x406aa6
mov bl, 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406ae4
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret
Function at 0x406b03
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x348]
push eax
call fcn.0041c440
lea eax, [ebp - 0x348]
push 0x42d34c
push eax
call fcn.0041c450
add esp, 0x10
lea eax, [ebp - 0x140]
mov bl, 1
push eax
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406bde
test byte [ebp - 0x140], 0x10
jne 0x406bc8
push dword [ebp + 0xc]
lea eax, [ebp - 0x44c]
push eax
call fcn.0041c440
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.0041c450
push dword [ebp + 8]
lea eax, [ebp - 0x244]
push eax
call fcn.0041c440
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0041c450
lea eax, [ebp - 0x244]
push eax
call fcn.00406ae4
add esp, 0x24
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x406bc8
xor bl, bl
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406b52
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret

Function at 0x406beb
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push esi
lea eax, [ebp - 0x348]
push dword [ebp + 8]
push eax
call fcn.0041c440
lea eax, [ebp - 0x348]
push 0x42d358
push eax
call fcn.0041c450
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406ccc
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0041c440
lea eax, [ebp - 0x104]
push 0x42c45c
push eax
call fcn.0041c450
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0041c450
lea eax, [ebp - 0x218]
push 0x42d354
push eax
call fcn.0041d3b0
add esp, 0x20
test eax, eax
je 0x406cb6
lea eax, [ebp - 0x218]
push 0x42d350
push eax
call fcn.0041d3b0
pop ecx
test eax, eax
pop ecx
je 0x406cb6
test byte [ebp - 0x244], 0x10
lea eax, [ebp - 0x104]
push eax
je 0x406cb0
call fcn.00406beb
jmp 0x406cb5
call fcn.00406ae4
pop ecx
lea eax, [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406c37
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
leave
ret
Function at 0x411fc3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x41202c
push dword [esi + 8]
lea ecx, [ebp - 8]
call fcn.00413a60
mov ecx, esi
call fcn.00411967
test al, al
jne 0x412024
lea ecx, [ebp - 4]
call fcn.00413a41
lea ecx, [ebp - 8]
call fcn.00413e73
push eax
lea eax, [ebp - 4]
push 0x42f8d0
push eax
call fcn.00413dde
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00413e73
push eax
push 0x42f8bc
call fcn.0041386c
pop ecx
pop ecx
push 0xffffffffffffffff
call fcn.0041d533
lea ecx, [ebp - 8]
call fcn.00413b1b
pop esi
leave
ret

Function at 0x41247a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
je 0x4124a6
mov ecx, dword [esp + 8]
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
mov esi, dword [esi*4 + 0x42f3e0]
shr eax, 8
xor eax, esi
inc ecx
dec edx
jne 0x41248c
pop edi
pop esi
ret

Function at 0x414387
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0041c440
lea eax, [ebp - 0x104]
push eax
call fcn.00414409
add esp, 0xc
push 0
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
jne 0x414404
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.0041c530
test eax, eax
pop ecx
pop ecx
jne 0x4143ec
lea eax, [ebp - 0x104]
push 0x2f
push eax
call fcn.0041c530
test eax, eax
pop ecx
pop ecx
je 0x414400
and byte [eax], 0
push 0
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x4143c4
jmp 0x414397
xor al, al
jmp 0x414406
mov al, 1
pop esi
leave
ret

Function at 0x4144cf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4144e1
xor al, al
ret
and eax, 1
dec al
neg al
sbb eax, eax
inc eax
ret

Function at 0x4144ec
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x414513
and eax, 0xfffffffe
cmp byte [esp + 8], 0
je 0x414508
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x41f8c3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x431e30]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41f920
push 0x74
push 1
call fcn.0041e2f3
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x41f918
push esi
push dword [0x431e30]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41f918
push esi
call fcn.0041f8b0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x41f920
push 0x10
call fcn.0041d00a
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x421d25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, dword [eax*8 + 0x434260]
je 0x421d42
inc eax
cmp eax, 0x12
jb 0x421d33
push esi
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x434260]
jne 0x421e70
mov eax, dword [0x437798]
cmp eax, 1
je 0x421e4a
test eax, eax
jne 0x421d73
cmp dword [0x431a64], 1
je 0x421e4a
cmp ecx, 0xfc
je 0x421e70
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x421daa
lea eax, [ebp - 0x1a4]
push 0x429ed0
push eax
call fcn.0041c440
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041c3c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x421ded
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041c3c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429ecc
push edi
call fcn.0041c630
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x429eb0
push eax
call fcn.0041c440
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041c450
lea eax, [ebp - 0xa0]
push 0x429eac
push eax
call fcn.0041c450
push dword [esi + 0x434264]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041c450
push 0x12010
lea eax, [ebp - 0xa0]
push 0x429e84
push eax
call fcn.004254c0
add esp, 0x2c
pop edi
jmp 0x421e70
lea eax, [ebp + 8]
lea esi, [esi + 0x434264]
push 0
push eax
push dword [esi]
call fcn.0041c3c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x424c18
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 3
push 0x1f03ff
push 0x429f6c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
je 0x424c96
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x804]
push dword [ebp + 8]
push eax
call fcn.0041e0f1
add esp, 0xc
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret

Function at 0x424c9a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov ebx, eax
push esi
push 0x80
push 4
push esi
push 3
push 0x1f03ff
push 0x429f6c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
lea eax, [ebp - 4]
push esi
push eax
push 0x400
push ebx
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 4]
lea eax, [ebp - 0x808]
push ebx
push 0x429f94
push eax
call fcn.0041c5d8
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, esi
je 0x424d44
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412e50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f7eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00493918
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412ed2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00490d21
mov eax, dword [eax]
push 0x509200
push eax
call fcn.00482f24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00493ba3
test bl, bl
je 0x412ed2
push 0x509200
lea ecx, [esp + 0xc]
call fcn.00493f33
push 0x50cd7c
lea ecx, [esp + 0xc]
call fcn.00493f33
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x412f0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00493ba3
jmp 0x412fd9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x412f92
lea edx, [esp + 0x7c]
push 0x50cd78
push edx
call fcn.00482f24
add esp, 8
test eax, eax
je 0x412f92
lea eax, [esp + 0x7c]
push 0x50cd74
push eax
call fcn.00482f24
add esp, 8
test eax, eax
je 0x412f92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x412f22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00493ba3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4137d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x413832
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x413840
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f86b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x515bdc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x413978
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4138a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00493ba3
xor eax, eax
jmp 0x4139ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00493ce0
push esi
lea ecx, [esp + 0xc]
call fcn.00493f6f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x50cdb4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4139cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x50cdac
push accept
call fcn.004137d0
test eax, eax
jne 0x4139cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x50cd98
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004137d0
test eax, eax
jne 0x4139cd
lea eax, [esp + 0x14]
push 0x50cd90
push eax
call fcn.00483f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4139ac
lea ecx, [esp + 0x14]
push 0x50cd8c
push ecx
call fcn.00483ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4139ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4139af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00493c90
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4138be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00493ba3
xor eax, eax
jmp 0x4139ef
mov byte [esi], 0
push 0x50cd88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00493ba3
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4244a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42450e
cmp si, 0x69
ja 0x42450e
add esi, 0xffd0
cmp si, 0x11
je 0x4244de
push 0x11
call edi
test ax, ax
jge 0x4244de
or esi, 0x2000
cmp si, 0x10
je 0x4244f3
push 0x10
call edi
test ax, ax
jge 0x4244f3
or esi, 0x4000
cmp si, 0x12
je 0x424508
push 0x12
call edi
test ax, ax
jge 0x424508
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42451b
mov esi, 0xbd
jmp 0x4244cf
cmp si, 0x6e
jne 0x424528
mov esi, 0xbe
jmp 0x4244cf
cmp si, 0x6f
jne 0x4244c9
mov esi, 0xbf
jmp 0x4244cf

Function at 0x425cd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x526340]
xor edx, edx
cmp eax, edx
jne 0x425cf6
xor eax, eax
mov byte [eax + 0x526240], al
inc eax
cmp eax, 0x100
jl 0x425cde
mov dword [0x526340], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x526240
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425d87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x425d5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x425d28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x425e53
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x425e3a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret