joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d69c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x46d72d
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00452044
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.0046d340
mov edi, eax
test edi, edi
je 0x46d6f7
mov al, byte [0x46d738]
cmp al, bl
jne 0x46d6f7
mov edx, edi
mov eax, esi
call fcn.0046d2e8
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x46d72d
cmp byte [esi + 0x161], 2
jne 0x46d720
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4dd6b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043c21c
test eax, eax
jne 0x46d72d
xor eax, eax
mov dword [ebp + 0xc], eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4719c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x471a7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404be4
mov eax, dword [0x4dd00c]
cmp byte [eax], 0
je 0x471a33
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404f44
mov eax, dword [ebx]
call fcn.00404d70
push eax
mov eax, dword [ebx]
call fcn.00404d60
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404d70
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404f44
jmp 0x471a65
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409218
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471a85
lea eax, [ebp - 0x3f0]
call fcn.004044d8
ret

Function at 0x471a8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409218
add esp, 0x3ec
pop ebx
ret
Function at 0x473024
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x84]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x88]
cdq
cmp edx, dword [esp + 4]
jne 0x47305c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4730da
jmp 0x473060
pop edx
pop eax
jge 0x4730da
mov eax, dword [0x4dd6b4]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x4c], 0x10
je 0x4730b2
cmp byte [ebx + 0x161], 2
je 0x4730b2
mov eax, ebx
call fcn.0046e4b0
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4730ff
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4730ff
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4730ff
push 0
mov edx, dword [ebx + 0x12c]
push edx
push 0
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
push esi
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4730ff
cmp dword [ebx + 0x11c], 0
je 0x4730ff
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042bccc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47d81c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d98d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x47d972
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409218
mov dl, 1
mov eax, dword [0x45cdfc]
call fcn.0045ce54
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4136c8]
call fcn.004036e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045ced0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x47d96f
mov dl, 1
mov eax, dword [0x45e440]
call fcn.0045e4a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x47d9a4
call fcn.0045d21c
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004047e4
xor eax, eax
push ebp
push 0x47d968
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0045e7a8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047d9ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d96f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403710
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403710
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403710
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d994
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004044fc
ret
Function at 0x47f344
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47f465
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4dd5dc]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4dd5dc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x47f47c
call fcn.00409730
mov eax, dword [ebp - 4]
call fcn.004781b4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4dd1bc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4dd57c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x47f498
call fcn.00409730
mov eax, dword [ebp - 0x10]
call fcn.004781b4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x47ef30
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x47f4b8
call fcn.00409730
mov eax, dword [ebp - 0x24]
call fcn.004781b4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x47f4d0
call fcn.00409730
mov eax, dword [ebp - 0x28]
call fcn.004781b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f46c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004044fc
lea eax, [ebp - 0x10]
call fcn.004044d8
lea eax, [ebp - 4]
call fcn.004044d8
ret
Function at 0x482e84
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 1
je 0x482eab
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x483034
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48302d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x482efa
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
test edi, edi
je 0x482ef0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
call edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 4
je 0x483012
mov edx, dword [ebp - 4]
test al, 8
je 0x482f76
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x482f5b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00439968
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x14
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x482f98
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00439968
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x318
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00439968
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 0x10
je 0x482ff0
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x28], 0x1e
lea eax, [ebp - 0x34]
push eax
push 0x482dc0
push ebx
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 0x20
je 0x483012
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0x482dc0
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483034
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48e6ec
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov eax, ebx
call fcn.00424a14
call fcn.00420548
mov esi, eax
push 0
push 1
push 1
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
call sub.gdi32.dll_CreateBitmap
mov dword [ebp - 0x14], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
push esi
call sub.gdi32.dll_GetBkColor
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x48e7a8
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
call fcn.0041ed0c
push eax
push esi
call sub.gdi32.dll_SetBkColor
cmp dword [ebp - 0x1c], 0
sete al
and eax, 0x7f
mov eax, dword [eax*4 + 0x4db210]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push esi
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x1c]
add ebx, 4
dec dword [ebp - 0x20]
jne 0x48e75b
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.gdi32.dll_SetBkColor
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00425760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4926f8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x492724
cmp dword [esp + 4], 5
jne 0x492720
cmp dword [esp + 8], 1
jae 0x492724
xor eax, eax
jmp 0x492726
mov al, 1
mov byte [0x4ded80], al
add esp, 0x94
ret
Function at 0x4974dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ecx]
mov edx, eax
add edx, 3
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 8]
sub edx, eax
sub edx, 6
mov dword [ebp - 8], edx
mov esi, dword [ecx + 4]
add esi, dword [ecx + 0xc]
sub esi, 9
sar esi, 1
jns 0x49750c
adc esi, 0
mov eax, dword [ebp - 4]
call fcn.004a4e70
mov edx, dword [ebp + 8]
call fcn.0041f6b8
xor ebx, ebx
push ebp
mov ecx, ebx
and cl, 1
xor cl, 1
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00497484
pop ecx
add esi, 2
inc ebx
cmp ebx, 5
jne 0x49751e
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a7d48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov edi, eax
xor ebp, ebp
xor ebx, ebx
mov esi, 0x4dbc9c
mov eax, ebx
cmp al, 7
ja 0x4a7d6b
and eax, 0x7f
bt dword [edi + 0x23f], eax
jae 0x4a7d80
cmp bl, 3
jne 0x4a7d7e
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x4a7d80
add ebp, dword [esi]
inc ebx
add esi, 4
cmp bl, 4
jne 0x4a7d5b
mov eax, dword [esp]
mov dword [eax + 0xc], ebp
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bde74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00452044
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4ce598
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4ce5a0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ce70b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x4dd640]
call fcn.00406238
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 8], eax
lea edx, [ebp - 8]
mov eax, dword [0x4dd278]
call fcn.00406238
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [0x4dd208]
call fcn.00406238
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x10], eax
lea edx, [ebp - 0x10]
mov eax, dword [0x4dd6d4]
call fcn.00406238
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4dd4ac]
call fcn.00406238
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x28], eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4dd614]
call fcn.00406238
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x18], eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4dd2f4]
call fcn.00406238
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x1c], eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4dcefc]
call fcn.00406238
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x30], eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4dd494]
call fcn.00406238
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x2c], eax
lea edx, [ebp - 0x28]
mov eax, dword [0x4dd5b8]
call fcn.00406238
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x34], eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4dd030]
call fcn.00406238
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x20], eax
lea edx, [ebp - 0x30]
mov eax, dword [0x4dd480]
call fcn.00406238
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.004ce558
mov dword [ebx + 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce712
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.004044fc
ret
Function at 0x407c30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x481ddb
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.00476c18
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407cb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00474b2a
mov eax, dword [eax]
push 0x7afcb8
push eax
call fcn.00466d44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00476ea3
test bl, bl
je 0x407cb2
push 0x7afcb8
lea ecx, [esp + 0xc]
call fcn.00477233
push 0x7afcc4
lea ecx, [esp + 0xc]
call fcn.00477233
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 0x407cee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00476ea3
jmp 0x407db9
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 0x407d72
lea edx, [esp + 0x7c]
push 0x7afcc0
push edx
call fcn.00466d44
add esp, 8
test eax, eax
je 0x407d72
lea eax, [esp + 0x7c]
push 0x7afcbc
push eax
call fcn.00466d44
add esp, 8
test eax, eax
je 0x407d72
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 0x407d02
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.00476ea3
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 0x4085c0
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 0x408622
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 0x408630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x481e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7bdb44]
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 0x408768
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408696
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476ea3
xor eax, eax
jmp 0x4087df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00476fe0
push esi
lea ecx, [esp + 0xc]
call fcn.0047726f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7afcf8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4087bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004085c0
test eax, eax
jne 0x4087bd
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 closesocket
mov ecx, edi
call fcn.004085c0
test eax, eax
jne 0x4087bd
lea eax, [esp + 0x14]
push 0x7afcd4
push eax
call fcn.00467dc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40879c
lea ecx, [esp + 0x14]
push 0x7afcd0
push ecx
call fcn.00467d40
mov esi, eax
add esp, 8
test esi, esi
jne 0x40879c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40879f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00476f90
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4086ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476ea3
xor eax, eax
jmp 0x4087df
mov byte [esi], 0
push 0x7afccc
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.00476ea3
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 0x418eb0
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 0x418f1e
cmp si, 0x69
ja 0x418f1e
add esi, 0xffd0
cmp si, 0x11
je 0x418eee
push 0x11
call edi
test ax, ax
jge 0x418eee
or esi, 0x2000
cmp si, 0x10
je 0x418f03
push 0x10
call edi
test ax, ax
jge 0x418f03
or esi, 0x4000
cmp si, 0x12
je 0x418f18
push 0x12
call edi
test ax, ax
jge 0x418f18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x418f2b
mov esi, 0xbd
jmp 0x418edf
cmp si, 0x6e
jne 0x418f38
mov esi, 0xbe
jmp 0x418edf
cmp si, 0x6f
jne 0x418ed9
mov esi, 0xbf
jmp 0x418edf

Function at 0x41a7c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7ce2a0]
xor edx, edx
cmp eax, edx
jne 0x41a7e6
xor eax, eax
mov byte [eax + 0x7ce1a0], al
inc eax
cmp eax, 0x100
jl 0x41a7ce
mov dword [0x7ce2a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7ce1a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41a877
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 0x41a84a
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 0x41a818
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a8f0
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 0x41a943
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 0x41a92a
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