joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4665c0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004664c4
xor edx, edx
push ebp
push 0x466662
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x466635
mov edx, ebx
mov eax, dword [0x4293a8]
call fcn.0042d618
test al, al
je 0x466625
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042d528
call fcn.0047c728
jmp 0x466669
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4665f0
mov ecx, dword [0x495c6c]
mov dl, 1
mov eax, dword [0x475968]
call fcn.00477c24
call fcn.0047c688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466669
mov eax, dword [ebp - 4]
call fcn.00466498
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x466670
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004664c4
xor eax, eax
push ebp
push 0x4666c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4666cf
mov eax, dword [ebp - 4]
call fcn.00466498
ret

Function at 0x4666d8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004664c4
xor edx, edx
push ebp
push 0x46672d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466734
mov eax, dword [ebp - 4]
call fcn.00466498
ret

Function at 0x4667a4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004664c4
xor eax, eax
push ebp
push 0x466819
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046647c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0042d5ec
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x466803
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466820
mov eax, dword [ebp - 4]
call fcn.00466498
ret
Function at 0x466828
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004664c4
xor eax, eax
push ebp
push 0x46689d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046647c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x466887
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4668a4
mov eax, dword [ebp - 4]
call fcn.00466498
ret

Function at 0x4773d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x47740d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0047caa8
jmp 0x477416
mov eax, ebx
mov edx, esi
call fcn.0047ca14
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x477420
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x477441
mov al, byte [esp]
jmp 0x477443
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x47bd88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4924f0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x47be20
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47be00
xor eax, eax
push ebp
push 0x47bdf9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x47be3c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47be00
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4924f0]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4924f0], ax
mov esp, ebp
pop ebp
ret
Function at 0x47e304
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x47e4c0
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x47e365
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x47e4dc
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47e3d7
xor eax, eax
push ebp
push 0x47e3d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.0047e15c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x47e3b9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x47e4fc
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3d7
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x47e4b8
cmp byte [ebp - 0xd], 0
jne 0x47e419
cmp byte [ebp - 0x12], 0
je 0x47e4b8
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x47e432
dec ebx
cmp byte [ebx], 0x2e
je 0x47e441
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x47e431
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x47e4b8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x47e46e
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x47e4b8
cmp byte [ebp - 0xd], 0
je 0x47e4b8
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x47e4b8
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e8ac
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x47e994
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x5e6818], 1
jae 0x47e986
xor eax, eax
mov dword [0x5e6424], eax
xor eax, eax
mov dword [0x5e642c], eax
xor eax, eax
mov dword [0x5e6430], eax
mov byte [0x5e6436], 2
mov byte [0x5e6437], 2
mov byte [0x5e6438], 3
mov word [0x5e67e0], 0
mov word [0x5e67f0], 1
mov word [0x5e6800], 0xa
mov dword [0x5e6808], 0x80020004
mov dword [0x5e67d4], 0x47d694
mov dword [0x5e67d8], 0x47d68c
mov dword [0x5e67dc], 0x47d694
call fcn.0047bd58
test al, al
je 0x47e945
call fcn.0047bd88
call fcn.0047be4c
mov eax, 0x5e643c
mov edx, 0x47e9a0
call fcn.00479592
mov eax, 0x5e6608
mov edx, 0x47e9a0
call fcn.00479592
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x5e641c], eax
call fcn.0047a520
mov dword [0x5e6418], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x5e6410], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e99b
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48083c
call fcn.00481e64
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x480858
test bl, 1
je 0x480858
call fcn.00485a58
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x480a3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00481a00
test byte [ebp + 0xd], 0xc0
jne 0x480a60
mov eax, dword [0x493388]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x480a6d
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x480a9a
je 0x480aac
sub ecx, 0x100
je 0x480aba
sub ecx, 0x100
je 0x480ac1
sub ecx, 0x100
je 0x480ab3
jmp 0x480ac8
sub ecx, 0x600
je 0x480ac1
sub ecx, 0x100
je 0x480aac
jmp 0x480ac8
mov edi, 1
jmp 0x480acd
mov edi, 2
jmp 0x480acd
mov edi, 4
jmp 0x480acd
mov edi, 5
jmp 0x480acd
mov edi, 3
test byte [ebp + 0xd], 1
je 0x480af4
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x492e00]
test al, 0x80
je 0x480aed
mov ebx, 0x80
jmp 0x480b06
mov ebx, 1
jmp 0x480b06
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x480b06
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x480b18
je 0x480b21
dec eax
je 0x480b2a
jmp 0x480b33
mov dword [ebp - 4], 0x80000000
jmp 0x480b42
mov dword [ebp - 4], 0x40000000
jmp 0x480b42
mov dword [ebp - 4], 0xc0000000
jmp 0x480b42
push 1
call fcn.00481df8
pop ecx
mov ebx, eax
jmp 0x480c2e
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x480b5e
sub eax, 0x10
je 0x480b65
sub eax, 0x10
je 0x480b6e
sub eax, 0x10
je 0x480b77
jmp 0x480b77
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x480b7e
mov dword [ebp - 8], 1
jmp 0x480b7e
mov dword [ebp - 8], 2
jmp 0x480b7e
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x480be7
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x480bdc
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x480bdc
add ebx, 0xffffffb2
push ebx
call fcn.00481df8
pop ecx
mov ebx, eax
jmp 0x480c2e
mov edi, esi
push edi
call fcn.004809a0
pop ecx
test eax, eax
je 0x480bfb
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x480c07
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00481b20
add esp, 8
mov ebx, eax
inc eax
jne 0x480c2e
push 4
call fcn.00481df8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00481a34
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4859f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x485a52
call fcn.004859a0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0047f6c0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0047f6c0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x485ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x494328], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x485baa
cmp dword [0x494324], 0
jne 0x485baa
cmp dword [0x494508], 0
je 0x485b64
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004858a0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x485b4a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004858a0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x485b4a
lea ebx, [ebp - 0x84]
jmp 0x485b4b
inc ebx
call fcn.00485a8c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x485be5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x49432c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0047f6c0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x49432f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x485be5
cmp dword [0x494324], 0
je 0x485bc4
cmp dword [0x494324], 0xffffffff
je 0x485be5
push esi
call dword [0x494324]
pop ecx
mov eax, dword [0x494328]
test eax, eax
je 0x485be5
cmp dword [0x494328], 0xffffffff
je 0x485be5
cmp byte [eax], 0
je 0x485be5
push esi
push eax
call fcn.004859f0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48637c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x5e7120], 0
jne 0x4863fd
cmp dword [0x5e7140], 0
jne 0x4863ac
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x5e7140], eax
test eax, eax
jne 0x4863ac
push str.GetEnvironmentStrings_failed
call fcn.00485bfc
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x5e7140]
jmp 0x4863c0
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0047f6c0
pop ecx
mov edi, eax
test eax, eax
jne 0x4863b8
lea edi, [ebp + 1]
push edi
call fcn.0047f084
pop ecx
mov ebx, eax
mov dword [0x5e7124], ebx
test ebx, ebx
jne 0x4863ea
xor eax, eax
jmp 0x4864c0
push edi
mov edx, dword [0x5e7140]
push edx
push ebx
call fcn.0047f4f4
add esp, 0xc
jmp 0x48641d
xor esi, esi
mov ebx, dword [0x5e7120]
jmp 0x486417
push eax
call fcn.0047f6c0
pop ecx
test eax, eax
jne 0x486413
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x486407
lea ebx, [esi + 4]
push 4
mov dword [0x5e7128], ebx
inc ebx
push ebx
call fcn.0047e9a4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x486440
xor eax, eax
jmp 0x4864c0
cmp dword [0x5e7120], 0
jne 0x486471
xor esi, esi
mov ebx, dword [0x5e7124]
mov eax, dword [esp]
mov ebp, eax
jmp 0x486462
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0047f6c0
pop ecx
mov edi, eax
test eax, eax
jne 0x486458
jmp 0x4864a2
xor esi, esi
mov ebx, dword [0x5e7120]
mov eax, dword [esp]
mov edi, eax
jmp 0x48649c
push eax
call fcn.0047f6c0
pop ecx
test eax, eax
je 0x486491
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x486495
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x486480
mov eax, dword [0x5e7120]
test eax, eax
je 0x4864b2
push eax
call fcn.0047f094
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x5e7120], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40a190
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x467c4b
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.0045c726
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a212
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045a63d
mov eax, dword [eax]
push 0x4f01c0
push eax
call fcn.0044d4a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045c9b1
test bl, bl
je 0x40a212
push 0x4f01c0
lea ecx, [esp + 0xc]
call fcn.0045cd41
push 0x4f3d50
lea ecx, [esp + 0xc]
call fcn.0045cd41
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 0x40a24e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045c9b1
jmp 0x40a319
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 0x40a2d2
lea edx, [esp + 0x7c]
push 0x4f3d4c
push edx
call fcn.0044d4a4
add esp, 8
test eax, eax
je 0x40a2d2
lea eax, [esp + 0x7c]
push 0x4f3d48
push eax
call fcn.0044d4a4
add esp, 8
test eax, eax
je 0x40a2d2
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 0x40a262
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.0045c9b1
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 0x40ab10
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 0x40ab72
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 0x40ab80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x467ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4fa228]
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 0x40acb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40abe6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045c9b1
xor eax, eax
jmp 0x40ad2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045caee
push esi
lea ecx, [esp + 0xc]
call fcn.0045cd7d
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 0x40ad0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040ab10
test eax, eax
jne 0x40ad0d
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.0040ab10
test eax, eax
jne 0x40ad0d
lea eax, [esp + 0x14]
push 0x4f3d64
push eax
call fcn.0044e4e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40acec
lea ecx, [esp + 0x14]
push 0x4f3d60
push ecx
call fcn.0044e460
mov esi, eax
add esp, 8
test esi, esi
jne 0x40acec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40acef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045ca9e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40abfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045c9b1
xor eax, eax
jmp 0x40ad2f
mov byte [esi], 0
push 0x4f3d5c
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.0045c9b1
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 0x41d520
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 0x41d58e
cmp si, 0x69
ja 0x41d58e
add esi, 0xffd0
cmp si, 0x11
je 0x41d55e
push 0x11
call edi
test ax, ax
jge 0x41d55e
or esi, 0x2000
cmp si, 0x10
je 0x41d573
push 0x10
call edi
test ax, ax
jge 0x41d573
or esi, 0x4000
cmp si, 0x12
je 0x41d588
push 0x12
call edi
test ax, ax
jge 0x41d588
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41d59b
mov esi, 0xbd
jmp 0x41d54f
cmp si, 0x6e
jne 0x41d5a8
mov esi, 0xbe
jmp 0x41d54f
cmp si, 0x6f
jne 0x41d549
mov esi, 0xbf
jmp 0x41d54f

Function at 0x41ec40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50a878]
xor edx, edx
cmp eax, edx
jne 0x41ec66
xor eax, eax
mov byte [eax + 0x50a778], al
inc eax
cmp eax, 0x100
jl 0x41ec4e
mov dword [0x50a878], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50a778
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ecf7
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 0x41ecca
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 0x41ec98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41ed70
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 0x41edc3
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 0x41edaa
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