joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465a48
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x465a5a
add esp, 0xfffffff0
call fcn.00404020
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004206e8
mov eax, dword [0x4750c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x465e5c
mov eax, dword [0x4750d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x465e68
mov eax, ebx
call fcn.00465e74
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x74], 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, 0x460e98
push eax
push 0
push 0
mov eax, dword [0x475260]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424b10]
call fcn.00426590
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x424b10]
call fcn.00426590
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x424b10]
call fcn.00426590
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x424b10]
call fcn.00426590
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.0046636c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466244
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466244
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466244
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466244
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465bad
call fcn.00404078
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x465fe4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466191
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x466172
mov dl, 1
mov eax, dword [0x417604]
call fcn.0041baa4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.0040560c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x466161
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.00455eec
test al, al
je 0x466154
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4661a0
lea eax, [ebp - 0x394]
call fcn.0040bbe4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x466154
xor eax, eax
push ebp
push 0x46614d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x466210
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x466136
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004057f4
mov edx, dword [ebp - 0x3a0]
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 0x466136
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004057f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466154
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x466057
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0041b890
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 0x466198
lea eax, [ebp - 0x3a0]
call fcn.004055fc
ret

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

Disassembly:
push ecx
mov eax, dword [0x47b17c]
cmp byte [eax + 0xa9], 0
jne 0x466bf2
cmp dword [0x47b194], 0
jne 0x466bb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x474a54]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x47b194], eax
cmp dword [0x47b190], 0
jne 0x466bcd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x47b190], eax
cmp dword [0x47b198], 0
jne 0x466bf2
push esp
push 0
push 0
mov eax, dword [0x474a50]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47b198], eax
pop edx
ret
Function at 0x466e08
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x466e1f
add esp, 0xfffffff0
call fcn.00404020
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004206e8
mov eax, dword [0x475008]
cmp byte [eax], 0
jne 0x466e4c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x475244]
cmp word [eax + 2], 0
jne 0x466e66
mov eax, dword [0x475244]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468cf8
mov eax, dword [0x475308]
cmp word [eax + 2], 0
jne 0x466e80
mov eax, dword [0x475308]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468f08
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x424b10]
call fcn.00426590
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x46939c
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x425368]
call fcn.0042c100
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x46705c
mov eax, dword [0x47513c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0042c504
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46964c
mov dl, 1
mov eax, dword [0x41718c]
call fcn.00403bb8
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x47513c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040ba30
test eax, eax
je 0x466f8e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040b830
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040ba18
test eax, eax
je 0x466fa6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004057f4
push ebx
push 0x46870c
call fcn.0045d660
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x475008]
cmp byte [eax], 0
jne 0x466ff7
mov eax, ebx
call fcn.004671d0
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00469874
mov eax, ebx
call fcn.0046a438
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x467054
call fcn.00404078
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467478
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x46751a
cmp dword [ebx + 0x90], 0
jne 0x467514
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4673f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x467514
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_GetWindowLongW
test al, 8
je 0x4674da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467514
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.004197bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4674e9
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x47b17c]
cmp dword [eax + 0x170], 0
je 0x46789d
test bl, bl
jne 0x4677eb
cmp dword [esi + 0x98], 0
jne 0x4677e0
mov eax, esi
call fcn.0046a288
push eax
push 0x467644
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x4677b1
mov eax, dword [0x47b17c]
cmp byte [eax + 0xcf], 0
je 0x4677b1
mov eax, dword [esi + 0xd4]
call fcn.00406534
mov edi, eax
cmp edi, 0
jl 0x4677b1
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46779a
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4677e0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004197bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4677c0
inc dword [esi + 0x98]
jmp 0x46789d
cmp dword [esi + 0x98], 0
jle 0x46789d
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x46789d
cmp dword [esi + 0x40], 0
je 0x467848
mov eax, dword [0x47b17c]
cmp byte [eax + 0xcf], 0
je 0x467848
mov eax, dword [esi + 0xd4]
call fcn.00406534
mov edi, eax
cmp edi, 0
jl 0x467848
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x467831
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467877
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004197bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x467857
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x45d06c]
call fcn.004066f4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x468458
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x4684c3
cmp byte [ebx + 0xcf], 0
jne 0x4684c3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405748
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4684b0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4684d0
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.0040560c
jmp 0x4684d0
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.0040560c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x469a48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x469ab6
mov eax, esi
call fcn.004507a8
test al, al
je 0x469ab6
mov eax, dword [ebx + 0x80]
call fcn.004503fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x469ab6
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x469aaa
push 0
mov eax, dword [ebx + 0x80]
call fcn.004503fc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00447a58
jmp 0x469ab6
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00469894
pop esi
pop ebx
ret
Function at 0x46a884
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46a88d
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46aa0e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x46a9ae
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00410600
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00405948
mov eax, dword [ebp - 0x14]
call fcn.0040b48c
test al, al
je 0x46a9ae
lea eax, [ebp - 8]
call fcn.0040b790
mov eax, ebx
call fcn.0040b79c
xor eax, eax
push ebp
push 0x46a9a7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x46aa2c
call fcn.00411580
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00405870
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040a8a8
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00405870
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040a8a8
mov eax, dword [ebp - 0x20]
pop edx
call fcn.00405550
dec eax
jge 0x46a968
push ebx
push 0x46aa44
push dword [ebp - 4]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405a98
mov eax, dword [ebp - 0x28]
call fcn.00405698
push eax
push 0x46aa48
call sub.kernel32.dll_SetEnvironmentVariableW
push 8
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00410600
lea eax, [ebp - 0x2c]
mov edx, esi
call fcn.00405948
mov eax, dword [ebp - 0x2c]
call fcn.00405698
push eax
call sub.kernel32.dll_LoadLibraryExW_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a9be
mov eax, dword [ebp - 8]
call fcn.0040b79c
ret
mov eax, esi
call fcn.00405698
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46a9ce
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aa15
lea eax, [ebp - 0x2c]
call fcn.004055fc
lea eax, [ebp - 0x28]
call fcn.004055fc
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405304
lea eax, [ebp - 0x14]
call fcn.004055fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405604
ret

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x77b73ddd
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x246a1f7b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402033
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x402078
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x40207e
add eax, 4
pop esi
dec esi
push esi
jne 0x402060
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x405a4c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x405a84
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x405a72
mov al, 1
jmp 0x405ad5
cmp dword [ebx + 0x54], ecx
jne 0x405a7b
mov al, 2
jmp 0x405ad5
cmp dword [ebx + 0x7c], ecx
jne 0x405ad5
mov al, 3
jmp 0x405ad5
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x405a99
mov al, 4
jmp 0x405ad5
cmp ecx, 5
jne 0x405ab9
cmp ebx, 0
jne 0x405aa7
mov al, 5
jmp 0x405ad5
cmp ebx, 1
jne 0x405ab0
mov al, 6
jmp 0x405ad5
cmp ebx, 2
jne 0x405ab9
mov al, 7
jmp 0x405ad5
cmp ecx, 6
jne 0x405ac5
cmp ebx, 0
jne 0x405ac7
mov al, 8
jmp 0x405ad5
cmp ebx, 1
jne 0x405ace
mov al, 9
cmp ebx, 2
jne 0x405ad5
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45550f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
test ecx, ecx
je 0x45556c
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x45553b
cmp word [ecx], ax
je 0x455540
jmp 0x45552f
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x45552f
jmp 0x455540
mov eax, edx
lea ecx, [ecx + edx*2]
cdq
sub eax, edx
sar eax, 1
sub ecx, 2
test eax, eax
jle 0x45556c
lea ecx, [ecx]
mov dx, word [esi]
xor word [ecx], dx
movzx edx, word [ecx]
xor word [esi], dx
movzx edx, word [esi]
xor word [ecx], dx
dec eax
sub ecx, 2
add esi, 2
test eax, eax
jg 0x45554f
pop esi
pop ebp
ret 8
Function at 0x4bb910
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x541e2b
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.00532087
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4bb992
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0052f550
mov eax, dword [eax]
push 0x673244
push eax
call fcn.00520b94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00532312
test bl, bl
je 0x4bb992
push 0x673244
lea ecx, [esp + 0xc]
call fcn.005326ee
push 0x676de0
lea ecx, [esp + 0xc]
call fcn.005326ee
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 0x4bb9ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00532312
jmp 0x4bba99
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 0x4bba52
lea edx, [esp + 0x7c]
push 0x676ddc
push edx
call fcn.00520b94
add esp, 8
test eax, eax
je 0x4bba52
lea eax, [esp + 0x7c]
push 0x676dd8
push eax
call fcn.00520b94
add esp, 8
test eax, eax
je 0x4bba52
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 0x4bb9e2
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.00532312
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 0x4bc290
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 0x4bc2f2
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 0x4bc300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x541eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x67f4d8]
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 0x4bc438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4bc366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00532312
xor eax, eax
jmp 0x4bc4af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0053249b
push esi
lea ecx, [esp + 0xc]
call fcn.0053272a
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 0x4bc48d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004bc290
test eax, eax
jne 0x4bc48d
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 accept
mov ecx, edi
call fcn.004bc290
test eax, eax
jne 0x4bc48d
lea eax, [esp + 0x14]
push 0x676df4
push eax
call fcn.00521d40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bc46c
lea ecx, [esp + 0x14]
push 0x676df0
push ecx
call fcn.00521cc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bc46c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4bc46f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0053244b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4bc37e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00532312
xor eax, eax
jmp 0x4bc4af
mov byte [esi], 0
push 0x676dec
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.00532312
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