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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x472c7c], 0
je 0x44a5d5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46dce4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44a5d5
mov eax, dword [0x472c80]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x472c7c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44a5a4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x472c7c]
call fcn.00418d0c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44a59c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44a59c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44a59c
mov eax, dword [ebp - 0x14]
call fcn.00454d70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a59c
push ebp
call fcn.0044a448
pop ecx
test al, al
jne 0x44a59c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404428
test al, al
je 0x44a59c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404428
cmp byte [ebp - 1], 0
je 0x44a59c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44a59c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x472c80]
call fcn.00449bb8
inc edi
dec ebx
jne 0x44a4f1
mov eax, dword [0x472c80]
cmp dword [eax + 8], 0
jle 0x44a5bc
mov eax, dword [0x472c80]
call fcn.00449c70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a5d5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a2ac
pop ecx
test al, al
jne 0x44a5d5
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451c44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407208
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0044c814
test ebx, ebx
jne 0x451c97
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00451b80
mov ebx, eax
test ebx, ebx
je 0x451d82
cmp esi, ebx
je 0x451cc0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x451cd5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x451d0d
add eax, 0xffffff5f
sub eax, 2
jb 0x451d25
dec eax
sub eax, 2
jb 0x451d39
dec eax
sub eax, 2
jb 0x451d2f
jmp 0x451d43
add eax, 0xfffffdff
sub eax, 2
jb 0x451d25
dec eax
sub eax, 2
jb 0x451d39
dec eax
sub eax, 2
jb 0x451d2f
jmp 0x451d43
mov byte [esp + 0x120], 0
jmp 0x451d4b
mov byte [esp + 0x120], 2
jmp 0x451d4b
mov byte [esp + 0x120], 1
jmp 0x451d4b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00432960
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044dfb0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x451d84
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45a0a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46dea0]
cmp byte [eax + 0xc], 0
je 0x45a211
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a20a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x472c8c], 0
jne 0x45a0f8
push 0x45a218
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45a220
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472c8c], eax
cmp dword [0x46d648], 0
jne 0x45a1f3
push 0x45a230
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46d648], eax
cmp dword [0x46d648], 0
je 0x45a1f3
push 0x45a23c
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472c90], eax
push 0x45a24c
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472c94], eax
push 0x45a260
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472c98], eax
push 0x45a278
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472c9c], eax
push 0x45a290
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472ca0], eax
push 0x45a2a4
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472ca4], eax
push 0x45a2bc
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472ca8], eax
push 0x45a2d4
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472cac], eax
push 0x45a2f0
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472cb0], eax
push 0x45a2fc
mov eax, dword [0x46d648]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472cb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a211
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x460b14
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055a8
xor eax, eax
push ebp
push 0x460c49
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x460c1c
xor edx, edx
push ebp
push 0x460c15
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x460b61
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x460bea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x460bd9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x460ba0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004055b8
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403130
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460be0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46da40]
mov dl, 1
mov eax, dword [0x4081c0]
call fcn.0040cca8
call fcn.00404aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460c50
lea eax, [ebp - 4]
call fcn.00405128
ret
Function at 0x460c58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x460e13
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004058ac
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x460e2c
call fcn.00405440
mov eax, ebx
call fcn.00420640
mov edi, eax
dec edi
test edi, edi
jl 0x460d10
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420614
mov edx, dword [0x45eb6c]
call fcn.004043b8
test al, al
je 0x460d0c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00420614
lea edx, [ebp - 0x14]
call fcn.0044cccc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004058ac
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004054bc
inc esi
dec edi
jne 0x460cbe
movzx eax, byte [0x460e30]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x460e3c
mov eax, dword [ebp - 8]
call fcn.0040df6c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004051c0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044cccc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x460e2c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0044cccc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x460e2c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x460e2c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x460e48
call fcn.0040a288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e1a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040514c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040514c
lea eax, [ebp - 0x14]
call fcn.00405128
lea eax, [ebp - 0x10]
call fcn.00405128
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040514c
ret
Function at 0x462960
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004055a8
xor eax, eax
push ebp
push 0x4629de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004055b8
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x4629a9
mov eax, dword [ebx + 4]
call fcn.004055b8
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4629e5
lea eax, [ebp - 4]
call fcn.00405128
ret

Function at 0x463a80
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x463c25
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.0040338c
cmp word [ebx + 0xa2], 0
je 0x463ac9
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x463add
lea esi, [ebp - 0xc]
jmp 0x463adf
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x463aec
xor edi, edi
jmp 0x463af9
mov eax, dword [ebx + 0x80]
call fcn.004055b8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.004055b8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00463130
mov eax, dword [ebp - 0x14]
call fcn.004055b8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.004055b8
push eax
mov eax, dword [ebp - 4]
call fcn.004055b8
push eax
mov eax, ebx
call fcn.00463270
push eax
mov eax, ebx
call fcn.00463244
push eax
mov eax, ebx
call fcn.004631fc
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00462ffc
mov eax, dword [ebp - 0x18]
call fcn.004055b8
push eax
mov eax, dword [ebx + 8]
call fcn.004055b8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x463b82
call fcn.0040e434
xor edx, edx
push ebp
push 0x463bfb
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x463bc0
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x463bb6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c02
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x463c34
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x463c60
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004055b8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x463c85
call fcn.0040e434
xor eax, eax
push ebp
push 0x463cbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x463ca5
call fcn.0040e434
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463cc3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x46a1ac
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
sub dl, 1
jb 0x46a1b8
je 0x46a1c9
jmp 0x46a1d0
push 1
mov eax, ebx
call fcn.004055b8
push eax
call sub.kernel32.dll_WinExec
pop ebx
ret
mov eax, ebx
call fcn.0046a1a8
pop ebx
ret

Function at 0x46a4dc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055a8
xor eax, eax
push ebp
push 0x46a6e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
add eax, edx
cmp eax, 0xc2e8
jge 0x46a5cb
cmp eax, 0xb7a2
jge 0x46a56e
cmp eax, 0xb2c1
jge 0x46a543
add eax, 0xffff4f5f
sub eax, 0x24
jb 0x46a66d
sub eax, 0x1fc
jb 0x46a671
jmp 0x46a6c9
add eax, 0xffff4d3f
sub eax, 0x22d
jb 0x46a675
sub eax, 0x1fc
jb 0x46a679
sub eax, 0xb8
jb 0x46a67d
jmp 0x46a6c9
cmp eax, 0xbbf7
jge 0x46a5a0
add eax, 0xffff485e
sub eax, 0x11f
jb 0x46a681
sub eax, 0x13d
jb 0x46a685
sub eax, 0x1f9
jb 0x46a689
jmp 0x46a6c9
add eax, 0xffff4409
sub eax, 0x3af
jb 0x46a68d
sub eax, 0x106
jb 0x46a691
sub eax, 0x23c
jb 0x46a695
jmp 0x46a6c9
cmp eax, 0xc8f6
jge 0x46a62b
cmp eax, 0xc5be
jge 0x46a602
add eax, 0xffff3d18
sub eax, 0x1db
jb 0x46a699
sub eax, 0xf3
jb 0x46a69d
sub eax, 8
jb 0x46a6a1
jmp 0x46a6c9
add eax, 0xffff3a42
sub eax, 0x11c
jb 0x46a6a5
sub eax, 0x1e1
jb 0x46a6a9
sub eax, 0x3b
jb 0x46a6ad
jmp 0x46a6c9
cmp eax, 0xcef4
jge 0x46a64e
add eax, 0xffff370a
sub eax, 0x304
jb 0x46a6b1
sub eax, 0x1e0
jb 0x46a6b5
sub eax, 0x11a
jb 0x46a6b9
jmp 0x46a6c9
add eax, 0xffff310c
sub eax, 0x295
jb 0x46a6bd
add eax, 0xffffffd0
sub eax, 0x318
jb 0x46a6c1
sub eax, 0x329
jb 0x46a6c5
jmp 0x46a6c9
mov bl, 0x41
jmp 0x46a6cb
mov bl, 0x42
jmp 0x46a6cb
mov bl, 0x43
jmp 0x46a6cb
mov bl, 0x44
jmp 0x46a6cb
mov bl, 0x45
jmp 0x46a6cb
mov bl, 0x46
jmp 0x46a6cb
mov bl, 0x47
jmp 0x46a6cb
mov bl, 0x48
jmp 0x46a6cb
mov bl, 0x4a
jmp 0x46a6cb
mov bl, 0x4b
jmp 0x46a6cb
mov bl, 0x4c
jmp 0x46a6cb
mov bl, 0x4d
jmp 0x46a6cb
mov bl, 0x4e
jmp 0x46a6cb
mov bl, 0x4f
jmp 0x46a6cb
mov bl, 0x50
jmp 0x46a6cb
mov bl, 0x51
jmp 0x46a6cb
mov bl, 0x52
jmp 0x46a6cb
mov bl, 0x53
jmp 0x46a6cb
mov bl, 0x54
jmp 0x46a6cb
mov bl, 0x57
jmp 0x46a6cb
mov bl, 0x58
jmp 0x46a6cb
mov bl, 0x59
jmp 0x46a6cb
mov bl, 0x5a
jmp 0x46a6cb
mov bl, 0x20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a6e8
lea eax, [ebp - 4]
call fcn.00405128
ret
Function at 0x46a830
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46a8e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x108]
call fcn.00409d98
lea eax, [ebp - 8]
mov edx, dword [0x46d9c0]
call fcn.004051c0
mov eax, dword [ebp - 8]
test eax, eax
je 0x46a88d
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x46a8b3
mov ebx, 1
lea eax, [ebp - 8]
call fcn.00405618
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor dl, 0xaa
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x46a898
push dword [ebp - 4]
push 0x46a8fc
push dword [ebp - 8]
mov eax, edi
mov edx, 3
call fcn.004054bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a8ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040514c
ret

Function at 0x46a900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffef0
mov esi, eax
mov eax, esi
call fcn.00405128
xor ebx, ebx
push esp
push 0x20019
push 0
push 0x46a978
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46a96d
mov dword [esp + 4], 0x105
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x46a998
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea edx, [esp + 8]
mov eax, esi
mov ecx, dword [esp + 4]
call fcn.00405218
mov bl, 1
mov eax, ebx
add esp, 0x110
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x212628e3
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x783d1fe5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40ba70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b49b
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.00460080
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40baf2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045db3d
mov eax, dword [eax]
push 0x54b1c0
push eax
call fcn.004509b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046030b
test bl, bl
je 0x40baf2
push 0x54b1c0
lea ecx, [esp + 0xc]
call fcn.0046069b
push 0x54ed48
lea ecx, [esp + 0xc]
call fcn.0046069b
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 0x40bb2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046030b
jmp 0x40bbf9
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 0x40bbb2
lea edx, [esp + 0x7c]
push 0x54ed44
push edx
call fcn.004509b4
add esp, 8
test eax, eax
je 0x40bbb2
lea eax, [esp + 0x7c]
push 0x54ed40
push eax
call fcn.004509b4
add esp, 8
test eax, eax
je 0x40bbb2
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 0x40bb42
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.0046030b
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 0x40c3f0
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 0x40c452
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 0x40c460
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b51b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x555238]
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 0x40c598
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c4c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046030b
xor eax, eax
jmp 0x40c60f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00460448
push esi
lea ecx, [esp + 0xc]
call fcn.004606d7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c5ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040c3f0
test eax, eax
jne 0x40c5ed
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.0040c3f0
test eax, eax
jne 0x40c5ed
lea eax, [esp + 0x14]
push 0x54ed5c
push eax
call fcn.004519f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c5cc
lea ecx, [esp + 0x14]
push 0x54ed58
push ecx
call fcn.00451970
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c5cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c5cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004603f8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c4de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046030b
xor eax, eax
jmp 0x40c60f
mov byte [esi], 0
push 0x54ed54
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.0046030b
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