joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4639bc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x463a74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00463950
test al, al
je 0x463a56
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ed8
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x463a56
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c20
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00407c20
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00407c78
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x463a0f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a7b
lea eax, [ebp - 0x2c]
call fcn.00406d50
lea eax, [ebp - 4]
call fcn.00406d50
ret

Function at 0x463c2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x463ce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00463950
test al, al
je 0x463cc6
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ed8
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x463cc6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c20
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00407c20
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00407c78
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x463c7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463ceb
lea eax, [ebp - 0x2c]
call fcn.00406d50
lea eax, [ebp - 4]
call fcn.00406d50
ret
Function at 0x464278
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
movzx eax, byte [ebp + 8]
call fcn.004630c8
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.00407c20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004632b0
test al, al
jne 0x4642e0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5b1678]
mov dl, 1
mov eax, dword [0x461928]
call fcn.00425464
call fcn.00406448
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4642ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00407c20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004632b0
test al, al
jne 0x46434d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5b1a40]
mov dl, 1
mov eax, dword [0x461928]
call fcn.00425464
call fcn.00406448
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004630f8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46494c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x464a74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00463350
xor eax, eax
push ebp
push 0x464a4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00463950
test al, al
je 0x464a33
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0046482c
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ed8
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x464a33
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c20
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004632b0
test al, al
je 0x464a2f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c20
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407c78
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0046482c
pop ecx
inc edi
dec ebx
jne 0x4649d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a56
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00463350
ret
Function at 0x464a84
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x464cd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00463350
xor eax, eax
push ebp
push 0x464ca8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00463950
test al, al
je 0x464c8c
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ed8
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x464c8c
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c20
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004632b0
test al, al
je 0x464c80
mov eax, dword [ebp - 4]
call fcn.00407c20
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00407c78
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046439c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x464c80
xor eax, eax
push ebp
push 0x464c79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.00463350
xor eax, eax
push ebp
push 0x464c5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407c20
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00407c78
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00463354
mov eax, dword [ebp - 4]
call fcn.00407c20
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00407c78
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046439c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x464c38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0046494c
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00464a84
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c3f
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x464b0f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464caf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00463350
ret
Function at 0x46dea8
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 0x46deae
ret
Function at 0x479204
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4793b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x47938e
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x47938e
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4791cc]
call fcn.00409124
add esp, 4
lea eax, [ebp - 4]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x5b1494]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408f70
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00404b18
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x46c76c]
call fcn.00475ba0
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x47936c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00477818
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00476828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47938e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4793b9
lea eax, [ebp - 8]
mov edx, dword [0x4791cc]
call fcn.00409248
lea eax, [ebp - 4]
call fcn.0040a90c
ret
Function at 0x48c840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x5b71c8], 0
je 0x48c981
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5b1760]
mov edx, dword [edx]
xor al, byte [edx + 0xc0]
je 0x48c981
mov eax, dword [0x5b71cc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5b71c8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x48c950
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5b71c8]
call fcn.00448cd4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x48c948
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1f2], 0
je 0x48c948
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x48c948
mov eax, dword [ebp - 0x14]
call fcn.004983f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48c948
push ebp
call fcn.0048c7fc
pop ecx
test al, al
jne 0x48c948
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00405360
test al, al
je 0x48c948
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00405360
cmp byte [ebp - 1], 0
je 0x48c948
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040ccb0
test al, al
je 0x48c948
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5b71cc]
call fcn.0048bf5c
inc edi
dec ebx
jne 0x48c8a5
mov eax, dword [0x5b71cc]
cmp dword [eax + 8], 0
jle 0x48c968
mov eax, dword [0x5b71cc]
call fcn.0048c014
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48c981
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0048c664
pop ecx
test al, al
jne 0x48c981
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494e3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040cc98
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0048edec
test ebx, ebx
jne 0x494e8f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00494cb8
mov ebx, eax
test ebx, ebx
je 0x494f85
cmp esi, ebx
je 0x494eb8
mov eax, dword [esp]
sub eax, dword [ebx + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x4c]
mov dword [esp + 0x118], eax
jmp 0x494ecd
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x494f05
add eax, 0xffffff5f
sub eax, 2
jb 0x494f1d
dec eax
sub eax, 2
jb 0x494f31
dec eax
sub eax, 2
jb 0x494f27
jmp 0x494f3b
add eax, 0xfffffdff
sub eax, 2
jb 0x494f1d
dec eax
sub eax, 2
jb 0x494f31
dec eax
sub eax, 2
jb 0x494f27
jmp 0x494f3b
mov byte [esp + 0x120], 0
jmp 0x494f43
mov byte [esp + 0x120], 2
jmp 0x494f43
mov byte [esp + 0x120], 1
jmp 0x494f43
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00523940
mov esi, eax
call fcn.0048b8ec
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00490800
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x494f87
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4bea94
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x42b73c]
call fcn.004084c4
xor eax, eax
push ebp
push 0x4bebde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5b01dc], 0
jne 0x4beae8
mov ecx, dword [0x5b12a4]
mov dl, 1
mov eax, dword [0x419ec0]
call fcn.00425394
call fcn.00406448
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404b18
mov eax, ebx
call fcn.00407a08
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4bebec
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040a90c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4beb2f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4beb84
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4beb7d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407d08
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407ccc
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0041f07c
test eax, eax
jne 0x4beb7d
mov ebx, 0x15
jmp 0x4beb89
mov ebx, 0x10
jmp 0x4beb89
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5b01dc]
call fcn.004be900
mov eax, dword [ebp - 4]
call fcn.004be900
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bebe5
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406db0
lea eax, [ebp - 0xc]
mov edx, dword [0x42b73c]
call fcn.0040859c
ret
Function at 0x4d1644
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.00406e34
xor eax, eax
push ebp
push 0x4d1783
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4d1756
xor edx, edx
push ebp
push 0x4d174f
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4d1691
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d1724
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4d1713
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4d16d6
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00407c20
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404750
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d171a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5b1320]
mov dl, 1
mov eax, dword [0x419ec0]
call fcn.00425394
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d178a
lea eax, [ebp - 4]
call fcn.00406d50
ret

Function at 0x4f6908
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004f69b8
test eax, eax
je 0x4f6943
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004f69b8
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406ed8
jmp 0x4f6951
mov ecx, esi
mov edx, 0x4f6970
mov eax, ebx
call fcn.004f6850
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00407130
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x50deda
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edi
push ecx
call 0x50deef
add byte [ebx], dh
cmp dword [0x3f464c33], esi
inc edx
inc ebp
xor al, byte [ebx - 0x167efb3c]
mov edx, 0x59000034
mov ecx, dword [ebp - 0x1fa0]
mov dword [ebp - 0x14b8], ecx
push ecx
or ecx, 0xb771
or ecx, 0x260c
pop ecx
push esi
jmp 0x50df1c
pop esi
push eax
and eax, 0x73ee
call 0x50df33
add byte [ecx], bh
dec ebx
dec ebx
inc ecx
cmp byte [edx + 0x46], al
aas
cmp al, byte [ebx - 0x74a7fb3c]
push ebp
in al, dx
add edx, 0x138
imul eax, dword [ebp - 0x10], 0x138
add eax, 0x44f3644b
imul ecx, dword [ebp - 0x10], 0x138
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x14b8], edx
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x1ef8], edx
mov eax, dword [ebp - 0x1ef8]
add eax, dword [ebp - 0x14b8]
mov dword [ebp - 0x3c0], eax
push esi
push ebx
add esp, 4
xor esi, 0x1411f
or esi, 0x9a9d
pop esi
push ecx
call 0x50dfa1
add byte [eax], bh
dec ecx
dec eax
inc ecx
dec esp
cmp dword [ebx], edi
cmp dword [eax], edi
add esp, 4
or ecx, 0xe651
add ecx, 0x10e72
pop ecx
mov byte [ebp - 0xb78], 0x52
mov byte [ebp - 0xb77], 0xb9
mov byte [ebp - 0xb76], 0x10
mov byte [ebp - 0xb75], 0x10
mov byte [ebp - 0xb74], 0x10
mov byte [ebp - 0xb73], 0x10
mov byte [ebp - 0xb72], 0x5a
push ebx
xor ebx, 0x11549
sub ebx, 0x18245
xor ebx, 0x6316
pop ebx
push eax
push esi
add esp, 4
sub eax, 0xa48b
or eax, 0xa349
sub eax, 0x3aa3
xor eax, 0x15624
pop eax
mov byte [ebp - 0xb80], 0x52
mov byte [ebp - 0xb7f], 0xb9
mov byte [ebp - 0xb7e], 0x20
mov byte [ebp - 0xb7d], 0x20
mov byte [ebp - 0xb7c], 0x20
mov byte [ebp - 0xb7b], 0x20
mov byte [ebp - 0xb7a], 0x5a
push ebx
jmp 0x50e04c
add ebx, 0x15a56
add ebx, 0x18092
pop ebx
push eax
push ecx
add esp, 4
jmp 0x50e064
add al, 0xeb
add al, 0x42
inc eax
dec edi
cmp byte [eax + 0x53], bl
pop eax
push ebx
push edx
add esp, 4
add ebx, 0xdefe
sub ebx, 0xbd72
pop ebx
mov dword [ebp - 0x1fa4], 0xe
push ebx
and ebx, 0x12dd6
and ebx, 0x73eb
pop ebx
push ecx
xor ecx, 0xfea8
and ecx, 0xdf41
call 0x50e0a9
add byte [esi + 0x50], cl
xor dh, byte [ebx]
cmp eax, 0xc4834741
add al, 0x81
int1
jae 0x50e05d
add byte [eax], al
pop ecx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb78]
mov dword [ebp - 0x14bc], eax
push ecx
xor ecx, 0xdcbb
pop ecx
push edx
xor edx, 0x5dff
add edx, 0x134bd
pop edx
push edx
push edx
add esp, 4
call 0x50e0f0
add byte [eax + 0x4a], dl
inc eax
cmp eax, 0x83324449
les eax, [ecx + eax*4]
dec edi
add dword [bx + si], eax
pop edx
mov dword [ebp - 0x1fa8], 0xffffffff
push edx
xor edx, 0x109f2
sub edx, 0xa81
or edx, 0x131f9
pop edx
push ebx
push edi
add esp, 4
call 0x50e12c
add byte [edx + 0x4f], al
dec eax
dec edx
inc eax
dec ecx
inc ebp
cmp byte [ecx - 0x7d], cl
les eax, [ecx + eax*4]
retf