joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4663ec
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 0x466490
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
test ebx, ebx
je 0x466455
push 0x4664a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x466455
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 4]
test eax, eax
je 0x466455
mov eax, dword [ebp - 0x3c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
jmp 0x466487
mov dword [ebp - 0x64], 0x20
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fistp qword [edi]
wait
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fistp qword [esi]
wait
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4671bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467319
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004047d0
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404cac
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4672fe
mov eax, dword [ebp - 4]
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4672f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4672de
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x467328
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4672de
push 0x46734c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040ae2c
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040ae2c
push dword [ebp - 0x20]
push 0x467368
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b6c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404cac
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4672de
cmp dword [ebp - 0xc], 1
jbe 0x4672de
mov eax, dword [ebp - 0x14]
call fcn.0040b97c
mov ecx, eax
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.004048c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4672fe
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467320
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004047f4
ret
Function at 0x4673b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404c9c
xor eax, eax
push ebp
push 0x467488
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047d0
cmp dword [ebp - 4], 0
je 0x467400
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x467400
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404d4c
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404cac
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467472
mov eax, ebx
mov edx, 0x400
call fcn.00404e38
mov eax, dword [ebx]
call fcn.00404aac
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.00404cac
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x467462
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00404e38
jmp 0x467469
mov eax, ebx
call fcn.004047d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46748f
lea eax, [ebp - 4]
call fcn.004047d0
ret

Function at 0x467498
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c9c
mov eax, dword [ebp - 8]
call fcn.00404c9c
xor eax, eax
push ebp
push 0x46756e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4674ea
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4674ea
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404d4c
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404cac
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467553
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404cac
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46754a
cmp dword [ebp - 0x14], 4
jne 0x46754a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467575
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047f4
ret
Function at 0x467e04
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x467fad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004047d0
lea eax, [ebp - 8]
push eax
push 8
call fcn.0044bf48
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x467f92
xor eax, eax
push ebp
push 0x467f8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xc]
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x467f6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x467f57
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x467f57
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x14], ecx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404e38
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404cac
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404e38
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.00467dc4
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.00467d70
pop ecx
push dword [ebp - 0x24]
push 0x467fc4
mov eax, esi
mov edx, 4
call fcn.00404b6c
inc ebx
dec edi
jne 0x467eb2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467f74
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467fb4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004047f4
ret
Function at 0x46c230
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x46c352
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c87c4]
mov eax, dword [eax]
call fcn.0044ff78
mov ebx, eax
test ebx, ebx
je 0x46c29e
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.0040b568
mov eax, dword [ebp - 4]
call fcn.00404cac
push eax
push 0x46c360
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404cac
push eax
push 0x46c370
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404cac
push eax
push 0x46c380
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.00450034
mov ebx, eax
test ebx, ebx
je 0x46c2f3
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.0040b568
mov eax, dword [ebp - 8]
call fcn.00404cac
push eax
push 0x46c390
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404cac
push eax
push 0x46c3a4
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404cac
push eax
push 0x46c3b8
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
call fcn.00466318
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00404cac
push eax
push 0x46c3cc
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x4cc774]
call fcn.00404cac
push eax
push 0x46c3d8
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x46c3e4
push 0x46c3e8
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c359
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047f4
ret
Function at 0x46d810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46d97d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004047d0
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x46d957
lea eax, [ebp - 0x10c]
call fcn.0046d7b4
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040a994
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040abe4
mov edx, dword [ebp - 4]
mov eax, 0x46d994
call fcn.00404df0
test eax, eax
jg 0x46d8b1
mov edx, dword [ebp - 4]
mov eax, 0x46d9a4
call fcn.00404df0
test eax, eax
jle 0x46d8c5
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x46d957
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x46d957
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404a40
lea eax, [ebp - 0x114]
call fcn.0046d7b4
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040a994
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.0040abe4
mov edx, dword [ebp - 4]
mov eax, 0x46d994
call fcn.00404df0
test eax, eax
jle 0x46d957
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x46d957
mov eax, dword [edi]
call fcn.00404aac
mov ebx, eax
test ebx, ebx
jbe 0x46d957
mov esi, 1
mov eax, edi
call fcn.00404d04
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x46d947
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d984
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.004047f4
lea eax, [ebp - 4]
call fcn.004047d0
ret

Function at 0x470d54
Capabilities:
Terminate thread

Disassembly:
call fcn.00423870
test al, al
jne 0x470db1
cmp dword [0x4cc748], 0
je 0x470db1
mov eax, dword [0x4cc748]
call fcn.0041e87c
mov eax, dword [0x4c9668]
call fcn.00450048
test al, al
jne 0x470d90
push 0xffffffffffffffff
mov eax, dword [0x4cc748]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x470da0
push 1
mov eax, dword [0x4cc748]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4cc748]
call fcn.00403918
xor eax, eax
mov dword [0x4cc748], eax
ret
Function at 0x471d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.004518e8
mov edi, eax
mov dl, 1
mov eax, dword [0x415750]
call fcn.004038e8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x471ea6
push dword fs:[edx]
mov dword fs:[edx], esp
mov al, 0x10
call fcn.00453484
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x471dd6
mov dword [ebp - 0x14], 1
jmp 0x471de1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00417c48
mov al, 0x13
call fcn.00453484
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x471dfa
mov dword [ebp - 0xc], 1
jmp 0x471e05
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00417c48
mov al, 0x11
call fcn.00453484
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x471e1e
mov dword [ebp - 0x10], 1
jmp 0x471e29
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00417c48
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x471e57
inc esi
xor ebx, ebx
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*8 + 4]
cmp eax, dword [ebp - 0x10]
je 0x471e53
cmp eax, dword [ebp - 0xc]
je 0x471e53
cmp eax, dword [ebp - 0x14]
je 0x471e53
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00417c48
inc ebx
dec esi
jne 0x471e33
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x471e90
inc esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [edi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00471c2c
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00417da4
mov edx, dword [edi + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x471e61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471ead
mov eax, dword [ebp - 8]
call fcn.00403918
ret

Function at 0x471f4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.004518e8
mov esi, eax
mov ebx, dword [esi]
dec ebx
jmp 0x471f5f
dec ebx
test ebx, ebx
jl 0x471f6c
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x471f5e
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x471fb1
mov dword [0x4cc6c8], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.00471c2c
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.00471c2c
mov dword [0x4cc714], eax
mov eax, 0x471eb4
mov edx, dword [0x4cc714]
mov dword [edx], eax
mov ebx, dword [esi]
dec ebx
jmp 0x471fb7
dec ebx
test ebx, ebx
jl 0x471fc5
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x471fb6
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x471ffb
mov dword [0x4cc6cc], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00471c2c
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x471f3c
mov edx, dword [esi + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x474780
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x474786
ret

Function at 0x476d10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x476d61
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x476d48
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x476d38
jmp 0x476d61
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x476d49
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f810
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.00404c9c
xor eax, eax
push ebp
push 0x47f93e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x47f911
xor eax, eax
push ebp
push 0x47f90a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404aac
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47f8df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x47f8ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404aac
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404cac
mov edx, ebx
pop ecx
call fcn.00402a48
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 0x47f8d5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c8660]
mov dl, 1
mov eax, dword [0x409ca4]
call fcn.0040ef98
call fcn.00404168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f945
lea eax, [ebp - 4]
call fcn.004047d0
ret
Function at 0x47f94c
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 - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47fafd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e9c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x47fb14
call fcn.00404af8
mov eax, ebx
call fcn.0041ef4c
mov edi, eax
dec edi
test edi, edi
jl 0x47fa04
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ef20
mov edx, dword [0x485e90]
call fcn.00403aa4
test al, al
je 0x47fa00
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ef20
lea edx, [ebp - 0x14]
call fcn.00490ad8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e9c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b6c
inc esi
dec edi
jne 0x47f9b2
mov al, byte [0x47fb18]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x47fb24
mov eax, dword [ebp - 0xc]
call fcn.004103e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404868
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00490ad8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x47fb14
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00490ad8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x47fb14
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x47fb14
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x47fb30
call fcn.0040c06c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fb04
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047f4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047f4
lea eax, [ebp - 0x14]
call fcn.004047d0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047f4
ret
Function at 0x482bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0048294c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404cac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x482c4e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c8948]
mov dl, 1
mov eax, dword [0x482870]
call fcn.0040efd4
call fcn.00404168
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48b340
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x48b28c
call sub.user32.dll_EnumWindows
ret

Function at 0x48b460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48b4dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048aec0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48b485
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0048aac0
cmp dword [ebp - 4], 0
je 0x48b4c7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404cac
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b4e4
lea eax, [ebp - 4]
call fcn.004047d0
ret