joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450814
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x496ccc]
cmp esi, dword [eax + 0x30]
jne 0x45083b
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x45086a
mov eax, dword [0x496ccc]
cmp esi, dword [eax + 0x30]
jne 0x450866
mov eax, dword [0x496ccc]
cmp byte [eax + 0x5b], 0
jne 0x45086a
xor eax, eax
jmp 0x45086c
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x450881
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x450898
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4508a7
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x4508b6
test bl, bl
je 0x4508cc
test bl, bl
je 0x4508c4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4508cc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x450b70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x450b96
mov eax, esp
push eax
push 0x450b38
call sub.user32.dll_EnumWindows
jmp 0x450ba9
mov eax, esp
push eax
push 0x450b18
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x450c50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450ca4]
test si, 4
je 0x450c65
or bl, 1
test si, 8
je 0x450c6f
or bl, 4
test si, 1
je 0x450c79
or bl, 8
test si, 2
je 0x450c83
or bl, 0x10
test si, 0x10
je 0x450c8d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450c9c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450ca8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450ce4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450cc2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450cd1
or bl, 4
test esi, 0x20000000
je 0x450cdc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458bb0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458bc2
add esp, 0xfffffff0
call fcn.00403f44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ac64
mov eax, dword [0x4912cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x458f54
mov eax, dword [0x4912d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x458f60
mov eax, ebx
call fcn.00458f6c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45461c
push eax
push 0
push 0
mov eax, dword [0x49144c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420878]
call fcn.00422124
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420878]
call fcn.00422124
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420878]
call fcn.00422124
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045939c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45926c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45926c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45926c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458cff
call fcn.00403f9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459050
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4591fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4591dc
mov dl, 1
mov eax, dword [0x412c28]
call fcn.00403bf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a90
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4591cb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044b4f0
test al, al
je 0x4591be
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45920c
lea eax, [ebp - 0x254]
call fcn.0040988c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4591be
xor eax, eax
push ebp
push 0x4591b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x459244
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4591a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d00
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4591a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4591be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4590c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416a10
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459202
lea eax, [ebp - 0x260]
call fcn.00404a90
ret

Function at 0x459b74
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x496ccc]
cmp byte [eax + 0xad], 0
jne 0x459be5
cmp dword [0x496ce8], 0
jne 0x459ba6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459b30
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496ce8], eax
cmp dword [0x496ce4], 0
jne 0x459bc1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496ce4], eax
cmp dword [0x496cec], 0
jne 0x459be5
push esp
push 0
push 0
push 0x459ad4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x496cec], eax
pop edx
ret
Function at 0x459db8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459dcf
add esp, 0xfffffff0
call fcn.00403f44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ac64
mov eax, dword [0x491434]
cmp word [eax + 2], 0
jne 0x459df7
mov eax, dword [0x491434]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ba10
mov eax, dword [0x4914f4]
cmp word [eax + 2], 0
jne 0x459e11
mov eax, dword [0x4914f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bc1c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412804]
call fcn.00403bf0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x421388]
call fcn.0042918c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x459fc8
mov eax, dword [0x491344]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429560
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c2e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x491344]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d198
test eax, eax
je 0x459f18
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409244
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1cc
test eax, eax
je 0x459f2c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d00
mov byte [ebx + 0xd4], 0
push ebx
push 0x45b538
call fcn.0041bde0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x491200]
cmp byte [eax], 0
jne 0x459f7d
mov eax, ebx
call fcn.0045a10c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045c4b8
mov eax, ebx
call fcn.0045d01c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459fbd
call fcn.00403f9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a38c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45a42b
cmp dword [ebx + 0x94], 0
jne 0x45a425
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a314
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a425
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a3eb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a425
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414bdc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a3fa
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a644
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x496ccc]
cmp dword [eax + 0x30], 0
je 0x45a7a1
test bl, bl
jne 0x45a6f2
cmp dword [esi + 0x9c], 0
jne 0x45a6e7
mov eax, esi
call fcn.0045ce98
push eax
push 0x45a570
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45a6b8
mov eax, dword [0x496ccc]
call fcn.0045d578
test al, al
je 0x45a6b8
mov eax, dword [0x496cf0]
call fcn.00405998
mov edi, eax
cmp edi, 0
jl 0x45a6b8
push 0
mov eax, dword [0x496cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a6a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a6e7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414bdc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a6c7
inc dword [esi + 0x9c]
jmp 0x45a7a1
cmp dword [esi + 0x9c], 0
jle 0x45a7a1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45a7a1
cmp dword [esi + 0x44], 0
je 0x45a74d
mov eax, dword [0x496ccc]
call fcn.0045d578
test al, al
je 0x45a74d
mov eax, dword [0x496cf0]
call fcn.00405998
mov edi, eax
cmp edi, 0
jl 0x45a74d
push 5
mov eax, dword [0x496cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a737
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a77c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414bdc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a75c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x496cf0
mov ecx, 1
mov edx, dword [0x45a550]
call fcn.00405b4c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45b234
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45b29e
mov eax, ebx
call fcn.0045d578
test al, al
jne 0x45b29e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b80
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45b28b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45b2ab
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae4
jmp 0x45b2ab
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45c69c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c70a
mov eax, esi
call fcn.00446268
test al, al
je 0x45c70a
mov eax, dword [ebx + 0x84]
call fcn.00445ee4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c70a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45c6fe
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445ee4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043de78
jmp 0x45c70a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045c4d8
pop esi
pop ebx
ret

Function at 0x45fb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004232b8
cmp ebx, dword [ebp - 8]
jge 0x45fba3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004234e0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004234e0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042350c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x45fb69
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45fbac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004232b8
cmp ebx, dword [ebp - 8]
jge 0x45fc0f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004234e0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004234e0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042350c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x45fbd5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46a410
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00404d50
mov edx, eax
mov eax, ebp
call fcn.004051b0
mov eax, dword [esp]
call fcn.00404d50
mov edi, eax
test edi, edi
jle 0x46a475
mov ebx, 1
mov eax, ebp
call fcn.00404f80
mov edx, dword [esp]
movzx edx, byte [edx + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x46a440
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46a47c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00404d50
mov edx, eax
mov eax, dword [esp]
call fcn.004051b0
mov eax, edi
call fcn.00404d50
mov ebp, eax
test ebp, ebp
jle 0x46a4db
mov ebx, 1
mov eax, dword [esp]
call fcn.00404f80
movzx edx, byte [edi + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
movzx eax, byte [edi + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x46a4ab
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x479bc4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x479bf2
mov eax, ebx
call fcn.0047a678
cmp dword [ebx + 0x40], 0
je 0x479beb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x479c63
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x479c55
cmp dword [ebx + 8], 0
je 0x479c14
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x479c26
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x479c55
cmp dword [ebx + 8], 0
je 0x479c07
cmp eax, 3
je 0x479c39
dec eax
jne 0x479c07
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x479c07
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x479c07
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x479c81
cmp dword [ebx + 0x14], 0xcc
je 0x479c81
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00479c8c
pop ebx
ret

Function at 0x5d8abb
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x5d87dc
or edx, edx
call fcn.005d8aec
add eax, edx
xor dword [ecx], ebx
mov eax, 0xfe4cc922
add ecx, 2
dec edx
cmp ecx, esi
jl fcn.005d8abb
mov edx, eax
mov edx, 0x1956e2e
and edx, edx
ret
Function at 0x40e2c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49940b
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.0048b3a2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e342
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004881f4
mov eax, dword [eax]
push 0x5701f0
push eax
call fcn.0047a2d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048b62d
test bl, bl
je 0x40e342
push 0x5701f0
lea ecx, [esp + 0xc]
call fcn.0048ba09
push 0x573d6c
lea ecx, [esp + 0xc]
call fcn.0048ba09
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 0x40e37e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048b62d
jmp 0x40e449
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 0x40e402
lea edx, [esp + 0x7c]
push 0x573d68
push edx
call fcn.0047a2d4
add esp, 8
test eax, eax
je 0x40e402
lea eax, [esp + 0x7c]
push 0x573d64
push eax
call fcn.0047a2d4
add esp, 8
test eax, eax
je 0x40e402
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 0x40e392
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.0048b62d
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 0x40ec40
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 0x40eca2
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 0x40ecb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49948b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57bca8]
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 0x40ede8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40ed16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048b62d
xor eax, eax
jmp 0x40ee5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048b7b6
push esi
lea ecx, [esp + 0xc]
call fcn.0048ba45
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 0x40ee3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040ec40
test eax, eax
jne 0x40ee3d
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040ec40
test eax, eax
jne 0x40ee3d
lea eax, [esp + 0x14]
push 0x573d80
push eax
call fcn.0047b3b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ee1c
lea ecx, [esp + 0x14]
push 0x573d7c
push ecx
call fcn.0047b330
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ee1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40ee1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048b766
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40ed2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048b62d
xor eax, eax
jmp 0x40ee5f
mov byte [esi], 0
push 0x573d78
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.0048b62d
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