joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x461c76
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x461b22
cmp byte [ebp - 5], 0x80
jb 0x461b22
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0040318c
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x461c49
cmp byte [esi + 0x3b], 0
je 0x461b85
mov eax, dword [0x5a49b8]
mov edx, dword [esi + 0x37]
call fcn.00405284
je 0x461b74
mov eax, dword [esi + 0x37]
call fcn.00443cbc
mov eax, 0x5a49b8
mov edx, dword [esi + 0x37]
call fcn.00404eb0
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00443d5c
jmp 0x461bd7
cmp byte [ebx], 0
je 0x461bd7
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004050c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004441c0
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00405114
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.004050c0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x461c8c
call fcn.00405184
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, 0xff
call fcn.00405114
cmp byte [ebp - 6], 0
je 0x461c5b
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.004050c0
lea eax, [ebp - 0x1c]
mov edx, 0x461c98
call fcn.00405140
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, 0xff
call fcn.00405114
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004050c0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00461ac0
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x24]
call fcn.004050c0
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00405140
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov ecx, 0xff
call fcn.00405114
jmp 0x461c5b
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x461c5b
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x461c54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461c7d
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404e80
ret

Function at 0x467ef8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, ecx
mov ebp, edx
mov edi, eax
push 0
push 0
push 0xe
push ebp
push edi
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
inc esi
mov eax, ebx
mov edx, esi
call fcn.004054c4
mov eax, ebx
call fcn.00405390
push eax
push esi
push 0xd
push ebp
push edi
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx]
call fcn.00405138
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.004053d8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x468f48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov al, byte [ebp - 0xe5]
and al, 0x80
cmp al, 0x80
sete al
mov esp, ebp
pop ebp
ret
Function at 0x46fc6c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x59415c], 0
jne 0x46fcb9
xor esi, esi
mov edx, 0x5a5094
mov eax, esi
mov ebx, 8
test al, 1
je 0x46fc9f
shr eax, 1
xor eax, 0xedb88320
jmp 0x46fca1
shr eax, 1
dec ebx
jne 0x46fc92
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x46fc8b
mov byte [0x59415c], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x46fce6
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x5a5094]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x46fcc5
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x474430
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x474438
push ebx
push esi
mov esi, 0x5a46b8
xor eax, eax
push ebp
push 0x4746b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x5a4960], 1
mov eax, dword [0x5a49bc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x5a49c0]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.0045e5e8
call fcn.00472d10
xor eax, eax
push ebp
push 0x474688
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a5060]
call fcn.00463ad4
xor eax, eax
push ebp
push 0x474663
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00463ba0
xor eax, eax
push ebp
push 0x474635
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x4744de
mov al, 1
call fcn.00474370
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x4744de
push ebp
call fcn.004735ec
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x47451a
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x4744ff
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x474506
xor eax, eax
call fcn.00474370
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x47451a
push ebp
call fcn.00474224
pop ecx
and bl, al
test bl, bl
jne 0x474533
mov eax, dword [esi]
test byte [eax + 0x331], 0x10
je 0x474533
mov eax, dword [0x5a4784]
call fcn.0045eb4c
mov eax, dword [esi]
test byte [eax + 0x2f1], 2
je 0x4745b6
cmp byte [ebp - 0xd], 0
jne 0x4745b6
test bl, bl
je 0x474580
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.004312b0
mov eax, dword [ebp - 0x14]
call fcn.00405338
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.004312b0
mov eax, dword [ebp - 0x18]
call fcn.00405338
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4745b6
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.004312b0
mov eax, dword [ebp - 0x1c]
call fcn.00405338
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.004312b0
mov eax, dword [ebp - 0x20]
call fcn.00405338
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x331], 0x20
je 0x474607
test bl, bl
jne 0x474607
lea eax, [ebp - 0x24]
call fcn.004733e0
mov eax, dword [ebp - 0x24]
call fcn.00405338
push eax
lea eax, [ebp - 0x28]
call fcn.00463870
mov eax, dword [ebp - 0x28]
call fcn.00405338
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.004733e0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040c914
mov eax, dword [ebp - 0x2c]
call fcn.00473468
lea eax, [ebp - 0x34]
call fcn.00463870
mov eax, dword [ebp - 0x34]
call fcn.0045f814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47463c
lea eax, [ebp - 0x38]
call fcn.00463a1c
mov eax, dword [ebp - 0x38]
call fcn.0045f814
ret
Function at 0x47609c
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 0x476140
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
test ebx, ebx
je 0x476105
push 0x476150
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x476105
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 4]
test eax, eax
je 0x476105
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 0x476137
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 0x476eb8
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 0x477016
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404e5c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00405338
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x476ffb
mov eax, dword [ebp - 4]
call fcn.0040b930
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x476ff4
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 0x476fdb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x477024
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x476fdb
push 0x477048
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040c07c
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040c07c
push dword [ebp - 0x20]
push 0x477064
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004051f8
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.00405338
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x476fdb
cmp dword [ebp - 0xc], 1
jbe 0x476fdb
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0040ce28
mov ecx, eax
mov eax, esi
mov edx, ebx
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476ffb
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00402c24
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47701d
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404e80
ret
Function at 0x4770ac
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.00405328
xor eax, eax
push ebp
push 0x477184
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e5c
cmp dword [ebp - 4], 0
je 0x4770fc
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4770fc
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004053d8
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47716e
mov eax, ebx
mov edx, 0x400
call fcn.004054c4
mov eax, dword [ebx]
call fcn.00405138
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.00405338
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x47715e
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.004054c4
jmp 0x477165
mov eax, ebx
call fcn.00404e5c
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 0x47718b
lea eax, [ebp - 4]
call fcn.00404e5c
ret

Function at 0x477194
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.00405328
mov eax, dword [ebp - 8]
call fcn.00405328
xor eax, eax
push ebp
push 0x47726a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4771e6
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4771e6
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004053d8
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47724f
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405338
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x477246
cmp dword [ebp - 0x14], 4
jne 0x477246
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 0x477271
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e80
ret
Function at 0x477b08
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 0x477cb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404e5c
lea eax, [ebp - 8]
push eax
push 8
call fcn.0045a85c
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x477c96
xor eax, eax
push ebp
push 0x477c8f
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.0040b930
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x477c71
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 0x477c5b
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x477c5b
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.004054c4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405338
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.004054c4
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.00477ac8
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.00477a6c
pop ecx
push dword [ebp - 0x24]
push 0x477cc8
mov eax, esi
mov edx, 4
call fcn.004051f8
inc ebx
dec edi
jne 0x477bb6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477c78
mov eax, dword [ebp - 0x10]
call fcn.00402c24
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477cb8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404e80
ret
Function at 0x47bfe4
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x47c11e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a0004]
mov eax, dword [eax]
call fcn.0045edc0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47c05d
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040c9dc
mov eax, dword [ebp - 8]
call fcn.00405338
push eax
push 0x47c12c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00405338
push eax
push 0x47c13c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00405338
push eax
push 0x47c14c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.0045eecc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47c0be
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040c9dc
mov eax, dword [ebp - 0xc]
call fcn.00405338
push eax
push 0x47c15c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00405338
push eax
push 0x47c170
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00405338
push eax
push 0x47c184
call sub.kernel32.dll_SetEnvironmentVariableA
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.004758a4
mov eax, dword [ebp - 0x10]
call fcn.00405338
push eax
push 0x47c198
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x5a4784]
call fcn.00405338
push eax
push 0x47c1a4
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x47c1b0
push 0x47c1b4
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c125
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e80
ret
Function at 0x47d6bc
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 0x47d829
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404e5c
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x47d803
lea eax, [ebp - 0x10c]
call fcn.0047d660
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040b9c4
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040bc3c
mov edx, dword [ebp - 4]
mov eax, 0x47d840
call fcn.0040547c
test eax, eax
jg 0x47d75d
mov edx, dword [ebp - 4]
mov eax, 0x47d850
call fcn.0040547c
test eax, eax
jle 0x47d771
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x47d803
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 0x47d803
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004050cc
lea eax, [ebp - 0x114]
call fcn.0047d660
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040b9c4
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.0040bc3c
mov edx, dword [ebp - 4]
mov eax, 0x47d840
call fcn.0040547c
test eax, eax
jle 0x47d803
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x47d803
mov eax, dword [edi]
call fcn.00405138
mov ebx, eax
test ebx, ebx
jbe 0x47d803
mov esi, 1
mov eax, edi
call fcn.00405390
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x47d7f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d830
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.00404e80
lea eax, [ebp - 4]
call fcn.00404e5c
ret

Function at 0x4814e0
Capabilities:
Terminate thread

Disassembly:
call fcn.00430700
test al, al
jne 0x48153d
cmp dword [0x5a4758], 0
je 0x48153d
mov eax, dword [0x5a4758]
call fcn.0042ad3c
mov eax, dword [0x5a1668]
call fcn.0045eee8
test al, al
jne 0x48151c
push 0xffffffffffffffff
mov eax, dword [0x5a4758]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x48152c
push 1
mov eax, dword [0x5a4758]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x5a4758]
call fcn.00403f0c
xor eax, eax
mov dword [0x5a4758], eax
ret

Function at 0x485414
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 0x48541a
ret
Function at 0x487aac
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 0x487afd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x487ae4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x487ad4
jmp 0x487afd
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 0x487ae5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493044
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405328
xor eax, eax
push ebp
push 0x493174
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x493147
xor eax, eax
push ebp
push 0x493140
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405138
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x493115
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x493104
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405138
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405338
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402f44
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 0x49310b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x59fd60]
mov dl, 1
mov eax, dword [0x40acc4]
call fcn.00410558
call fcn.004047b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49317b
lea eax, [ebp - 4]
call fcn.00404e5c
ret