joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466c10
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x466c18
push ebx
push esi
mov esi, 0x4bc6b8
xor eax, eax
push ebp
push 0x466e97
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x4bc960], 1
mov eax, dword [0x4bc9bc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4bc9c0]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.004517bc
call fcn.004654f0
xor eax, eax
push ebp
push 0x466e68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bd060]
call fcn.00456590
xor eax, eax
push ebp
push 0x466e43
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045665c
xor eax, eax
push ebp
push 0x466e15
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x466cbe
mov al, 1
call fcn.00466b50
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x466cbe
push ebp
call fcn.00465dcc
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x466cfa
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x466cdf
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x466ce6
xor eax, eax
call fcn.00466b50
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x466cfa
push ebp
call fcn.00466a04
pop ecx
and bl, al
test bl, bl
jne 0x466d13
mov eax, dword [esi]
test byte [eax + 0x331], 0x10
je 0x466d13
mov eax, dword [0x4bc784]
call fcn.00451d20
mov eax, dword [esi]
test byte [eax + 0x2f1], 2
je 0x466d96
cmp byte [ebp - 0xd], 0
jne 0x466d96
test bl, bl
je 0x466d60
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.00424d98
mov eax, dword [ebp - 0x14]
call fcn.00404c98
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.00424d98
mov eax, dword [ebp - 0x18]
call fcn.00404c98
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x466d96
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.00424d98
mov eax, dword [ebp - 0x1c]
call fcn.00404c98
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.00424d98
mov eax, dword [ebp - 0x20]
call fcn.00404c98
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x331], 0x20
je 0x466de7
test bl, bl
jne 0x466de7
lea eax, [ebp - 0x24]
call fcn.00465bc0
mov eax, dword [ebp - 0x24]
call fcn.00404c98
push eax
lea eax, [ebp - 0x28]
call fcn.0045632c
mov eax, dword [ebp - 0x28]
call fcn.00404c98
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.00465bc0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040b4ac
mov eax, dword [ebp - 0x2c]
call fcn.00465c48
lea eax, [ebp - 0x34]
call fcn.0045632c
mov eax, dword [ebp - 0x34]
call fcn.00452990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466e1c
lea eax, [ebp - 0x38]
call fcn.004564d8
mov eax, dword [ebp - 0x38]
call fcn.00452990
ret
Function at 0x468830
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 0x4688d4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
test ebx, ebx
je 0x468899
push 0x4688e4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x468899
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 4]
test eax, eax
je 0x468899
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 0x4688cb
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 0x46960c
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 0x46976a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004047bc
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404c98
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x46974f
mov eax, dword [ebp - 4]
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x469748
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 0x46972f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x469778
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46972f
push 0x46979c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040ae78
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040ae78
push dword [ebp - 0x20]
push 0x4697b8
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b58
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.00404c98
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46972f
cmp dword [ebp - 0xc], 1
jbe 0x46972f
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0040b9a0
mov ecx, eax
mov eax, esi
mov edx, ebx
call fcn.004048ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46974f
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 0x469771
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004047e0
ret
Function at 0x469800
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.00404c88
xor eax, eax
push ebp
push 0x4698d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047bc
cmp dword [ebp - 4], 0
je 0x469850
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x469850
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404d38
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404c98
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4698c2
mov eax, ebx
mov edx, 0x400
call fcn.00404e24
mov eax, dword [ebx]
call fcn.00404a98
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.00404c98
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4698b2
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00404e24
jmp 0x4698b9
mov eax, ebx
call fcn.004047bc
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 0x4698df
lea eax, [ebp - 4]
call fcn.004047bc
ret

Function at 0x4698e8
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.00404c88
mov eax, dword [ebp - 8]
call fcn.00404c88
xor eax, eax
push ebp
push 0x4699be
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x46993a
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x46993a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404d38
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404c98
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4699a3
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404c98
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46999a
cmp dword [ebp - 0x14], 4
jne 0x46999a
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 0x4699c5
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e0
ret
Function at 0x46a25c
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 0x46a405
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004047bc
lea eax, [ebp - 8]
push eax
push 8
call fcn.0044da40
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x46a3ea
xor eax, eax
push ebp
push 0x46a3e3
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 0x46a3c5
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 0x46a3af
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x46a3af
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.00404e24
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404c98
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.00404e24
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.0046a21c
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.0046a1c0
pop ecx
push dword [ebp - 0x24]
push 0x46a41c
mov eax, esi
mov edx, 4
call fcn.00404b58
inc ebx
dec edi
jne 0x46a30a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a3cc
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a40c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004047e0
ret
Function at 0x46e650
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x46e773
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b8a24]
mov eax, dword [eax]
call fcn.00451f94
mov ebx, eax
test ebx, ebx
je 0x46e6be
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.0040b574
mov eax, dword [ebp - 4]
call fcn.00404c98
push eax
push 0x46e780
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404c98
push eax
push 0x46e790
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404c98
push eax
push 0x46e7a0
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.00452050
mov ebx, eax
test ebx, ebx
je 0x46e713
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.0040b574
mov eax, dword [ebp - 8]
call fcn.00404c98
push eax
push 0x46e7b0
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404c98
push eax
push 0x46e7c4
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404c98
push eax
push 0x46e7d8
call sub.kernel32.dll_SetEnvironmentVariableA
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00468044
mov eax, dword [ebp - 0xc]
call fcn.00404c98
push eax
push 0x46e7ec
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x4bc784]
call fcn.00404c98
push eax
push 0x46e7f8
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x46e804
push 0x46e808
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e77a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047e0
ret
Function at 0x46fc38
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 0x46fda5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004047bc
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x46fd7f
lea eax, [ebp - 0x10c]
call fcn.0046fbdc
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040aa14
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040ac64
mov edx, dword [ebp - 4]
mov eax, 0x46fdbc
call fcn.00404ddc
test eax, eax
jg 0x46fcd9
mov edx, dword [ebp - 4]
mov eax, 0x46fdcc
call fcn.00404ddc
test eax, eax
jle 0x46fced
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x46fd7f
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 0x46fd7f
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404a2c
lea eax, [ebp - 0x114]
call fcn.0046fbdc
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040aa14
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.0040ac64
mov edx, dword [ebp - 4]
mov eax, 0x46fdbc
call fcn.00404ddc
test eax, eax
jle 0x46fd7f
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x46fd7f
mov eax, dword [edi]
call fcn.00404a98
mov ebx, eax
test ebx, ebx
jbe 0x46fd7f
mov esi, 1
mov eax, edi
call fcn.00404cf0
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x46fd6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fdac
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.004047e0
lea eax, [ebp - 4]
call fcn.004047bc
ret

Function at 0x47331c
Capabilities:
Terminate thread

Disassembly:
call fcn.004241f8
test al, al
jne 0x473379
cmp dword [0x4bc758], 0
je 0x473379
mov eax, dword [0x4bc758]
call fcn.0041e814
mov eax, dword [0x4b9668]
call fcn.00452064
test al, al
jne 0x473358
push 0xffffffffffffffff
mov eax, dword [0x4bc758]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x473368
push 1
mov eax, dword [0x4bc758]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4bc758]
call fcn.00403904
xor eax, eax
mov dword [0x4bc758], eax
ret
Function at 0x47447c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00453914
mov edi, eax
mov dl, 1
mov eax, dword [0x41578c]
call fcn.004038d4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x474592
push dword fs:[edx]
mov dword fs:[edx], esp
mov al, 0x10
call fcn.004554e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4744c2
mov dword [ebp - 0x14], 1
jmp 0x4744cd
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00417cbc
mov al, 0x13
call fcn.004554e4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4744e6
mov dword [ebp - 0xc], 1
jmp 0x4744f1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00417cbc
mov al, 0x11
call fcn.004554e4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47450a
mov dword [ebp - 0x10], 1
jmp 0x474515
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00417cbc
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x474543
inc esi
xor ebx, ebx
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*8 + 4]
cmp eax, dword [ebp - 0x10]
je 0x47453f
cmp eax, dword [ebp - 0xc]
je 0x47453f
cmp eax, dword [ebp - 0x14]
je 0x47453f
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00417cbc
inc ebx
dec esi
jne 0x47451f
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x47457c
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.00474318
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00417e18
mov edx, dword [edi + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x47454d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474599
mov eax, dword [ebp - 8]
call fcn.00403904
ret

Function at 0x474638
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.00453914
mov esi, eax
mov ebx, dword [esi]
dec ebx
jmp 0x47464b
dec ebx
test ebx, ebx
jl 0x474658
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x47464a
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x47469d
mov dword [0x4bc6d8], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.00474318
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.00474318
mov dword [0x4bc724], eax
mov eax, 0x4745a0
mov edx, dword [0x4bc724]
mov dword [edx], eax
mov ebx, dword [esi]
dec ebx
jmp 0x4746a3
dec ebx
test ebx, ebx
jl 0x4746b1
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x4746a2
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x4746e7
mov dword [0x4bc6dc], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00474318
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x474628
mov edx, dword [esi + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476f78
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 0x476f7e
ret

Function at 0x479414
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 0x479465
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x47944c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x47943c
jmp 0x479465
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 0x47944d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481f14
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.00404c88
xor eax, eax
push ebp
push 0x482042
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x482015
xor eax, eax
push ebp
push 0x48200e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a98
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x481fe3
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 0x481fd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a98
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c98
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 0x481fd9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4b893c]
mov dl, 1
mov eax, dword [0x409d48]
call fcn.0040ef70
call fcn.00404154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482049
lea eax, [ebp - 4]
call fcn.004047bc
ret
Function at 0x482050
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 0x482201
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e88
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x482218
call fcn.00404ae4
mov eax, ebx
call fcn.0041eee4
mov edi, eax
dec edi
test edi, edi
jl 0x482108
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041eeb8
mov edx, dword [0x485860]
call fcn.00403a90
test al, al
je 0x482104
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041eeb8
lea edx, [ebp - 0x14]
call fcn.00498d40
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e88
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b58
inc esi
dec edi
jne 0x4820b6
mov al, byte [0x48221c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x482228
mov eax, dword [ebp - 0xc]
call fcn.00410344
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404854
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.00498d40
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x482218
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.00498d40
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x482218
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, 0x482218
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, 0x482234
call fcn.0040c0bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482208
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047e0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047e0
lea eax, [ebp - 0x14]
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047e0
ret

Function at 0x4875ac
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 0x4874f8
call sub.user32.dll_EnumWindows
ret