joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eb34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
call sub.user32.dll_GetSysColorBrush
mov edx, dword [0x4790e8]
cmp eax, dword [edx]
jne 0x41eb5b
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call dword [ebx + 8]
jmp 0x41ec6e
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.user32.dll_GetFocus
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41ec56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47a86c
call sub.user32.dll_GetKeyboardState
xor eax, eax
push ebp
push 0x41ec38
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4773fc], 0
jne 0x41ebab
mov dl, 1
mov eax, dword [0x415954]
call fcn.00403734
mov dword [0x4773fc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [0x4773fc]
call fcn.004180f8
call fcn.0041e6c8
cmp word [0x4773ea], 0
je 0x41ebde
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [0x4773ec]
call dword [0x4773e8]
push 0x47a86c
call sub.user32.dll_OemToCharA
xor eax, eax
push ebp
push 0x41ec19
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetMenu
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ec20
push 0x47a86c
call sub.user32.dll_GetKeyboardState
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421098
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 0x42109e
ret

Function at 0x42110c
Capabilities:
Log keystrokes via polling

Disassembly:
add eax, 8
push eax
call sub.user32.dll_GetKeyboardState
ret

Function at 0x422bc4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x422c08]
mov eax, ebx
call fcn.00422ce0
mov eax, dword [ebp + 8]
call fcn.004218f4
push eax
push edi
push esi
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x422f50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x422fec
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetWindowTextA
mov ebx, eax
test ebx, ebx
je 0x422fce
push 0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x400
push ebx
push 0
push 0x1000
call sub.user32.dll_GetMenuStringA
test eax, eax
je 0x422fce
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, 0x100
call fcn.004047b0
mov ecx, dword [ebp - 0x104]
mov dl, 1
mov eax, dword [0x415898]
call fcn.0040c39c
call fcn.00403ed8
jmp 0x422fd3
call fcn.00422efc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422ff3
lea eax, [ebp - 0x104]
call fcn.00404540
ret
Function at 0x425cec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x420da8]
call fcn.00403734
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x425d73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov esi, eax
lea edi, [edx + 0x18]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x70], dl
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x425d55
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x4162cc]
call fcn.00403914
mov edx, dword [ebp - 8]
mov dword [edx + 0x6c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425d8a
push 0x47a8b0
call sub.user32.dll_GetKeyboardState
xor edx, edx
push ebp
push 0x425dd3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00424860
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], eax
call fcn.0042485c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425dda
push 0x47a8b0
call sub.user32.dll_OemToCharA
ret
Function at 0x4271ac
Capabilities:
Log keystrokes via polling

Disassembly:
add eax, 8
push eax
call sub.user32.dll_GetKeyboardState
ret
Function at 0x458fb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45907d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477e18], 0
jne 0x459060
push 0x459090
call sub.user32.dll_OffsetRect
mov dword [0x477e18], eax
cmp dword [0x477e18], 0
jne 0x459038
call sub.user32.dll_GetWindowTextA
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x478ba4]
call fcn.00406420
mov eax, dword [ebp - 8]
push eax
mov eax, 0x4590a4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.00409a14
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x457fdc]
call fcn.00458054
call fcn.00403ed8
push 0x4590b0
mov eax, dword [0x477e18]
push eax
call sub.user32.dll_IntersectRect
mov dword [0x47adc4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ax, word [ebp + 8]
push eax
call dword [0x47adc4]
mov ebx, eax
jmp 0x459062
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459084
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404564
ret
Function at 0x4628b4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4628bc
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x462aae
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x462ac4
mov eax, esi
call fcn.004604b8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404594
lea ecx, [ebp - 0x10]
mov edx, 0x462ad8
mov eax, esi
call fcn.004604b8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404594
lea ecx, [ebp - 0x14]
mov edx, 0x462af0
mov eax, esi
call fcn.004604b8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404594
lea ecx, [ebp - 0x18]
mov edx, 0x462b0c
mov eax, esi
call fcn.004604b8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404594
lea ecx, [ebp - 0x1c]
mov edx, 0x462b28
mov eax, esi
call fcn.004604b8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404594
lea ecx, [ebp - 0x24]
mov edx, 0x462b40
mov eax, esi
call fcn.004604b8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004086ec
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408c34
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x462b58
mov eax, esi
call fcn.004604b8
mov eax, dword [ebp - 0x28]
call fcn.0045ca78
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x462b68
mov eax, esi
call fcn.004604b8
mov eax, dword [ebp - 0x2c]
call fcn.0045ca78
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x462b80
mov eax, esi
call fcn.004604b8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408c34
inc eax
je 0x462a51
lea ecx, [ebp - 0x34]
mov edx, 0x462b80
mov eax, esi
call fcn.004604b8
mov eax, dword [ebp - 0x34]
call fcn.00408bf8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a2e4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a648
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x462a6c
lea ecx, [ebp - 0x40]
mov edx, 0x462b80
mov eax, esi
call fcn.004604b8
mov eax, dword [ebp - 0x40]
call fcn.0045ca78
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x462b90
mov eax, esi
call fcn.004604b8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ab5
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404564
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404564
ret
Function at 0x46e0a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x46e102
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0046e098
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045b544
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045b144
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e109
lea eax, [ebp - 4]
call fcn.00404540
ret

Function at 0x4729bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x472a71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404540
xor edx, edx
push ebp
push 0x472a4e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
push eax
push esi
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x472a44
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x472a44
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004047b0
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x472a88
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472a78
lea eax, [ebp - 0x110]
call fcn.00404540
ret

Function at 0x472c84
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x472d5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 4], eax
mov eax, 0x502
call fcn.0040272c
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebx, eax
cmp ebx, 0x6f
jne 0x472ceb
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040276c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebx, eax
test ebx, ebx
jne 0x472d23
cmp dword [ebp - 8], 0
je 0x472d37
mov ebx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x190]
lea eax, [ebx + 0x194]
call fcn.00472bac
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x472cf5
jmp 0x472d37
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0040bb94
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x502
mov eax, dword [ebp - 8]
call fcn.0040274c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d66
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404564
ret
Function at 0x474cb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, pe_nt_image_headers32
call fcn.00407274
pop ebp
ret

Function at 0x475360
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049f0
mov eax, dword [ebp - 8]
call fcn.004049f0
xor eax, eax
push ebp
push 0x4753ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040484c
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x4753e4
mov eax, 0x80000002
call fcn.00472f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4753d5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404564
ret
Function at 0x475748
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049f0
xor eax, eax
push ebp
push 0x4759b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x88], 0xc
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0xffffffff
push 0x186a0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetKeyNameTextA
test eax, eax
jne 0x475805
xor eax, eax
push ebp
push 0x4757e4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x186a0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_GetKeyNameTextA
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475805
xor eax, eax
push ebp
push 0x475961
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403010
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 0x101
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0x28
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
push 0
call sub.user32.dll_GetKeyState
test eax, eax
je 0x475943
mov dword [ebp - 0x1c], 0x103
mov eax, dword [0x4790b4]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00453b24
xor eax, eax
push ebp
push 0x47593c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_SetMenu
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_GetTopWindow
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.00455900
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.004756c4
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.004756c4
cmp dword [ebp - 0x1c], 0x103
je 0x47589d
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_GetTopWindow
test eax, eax
jne 0x4758f5
cmp dword [ebp - 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475943
mov eax, dword [0x4790b4]
mov eax, dword [eax]
xor edx, edx
call fcn.00453b24
cmp dword [ebp - 0x1c], 0x103
jne 0x475924
push 1
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_SetCursor
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_GetDCEx
mov eax, dword [ebp - 0x34]
push eax
call sub.user32.dll_GetDCEx
xor eax, eax
mov dword [ebp - 0x38], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475968
lea eax, [ebp - 0x10]
call fcn.0047569c
lea eax, [ebp - 0x18]
call fcn.0047569c
ret
Function at 0x475ec4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
xor edx, edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4760f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.004560bc
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.004091b8
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x476104
call fcn.0040484c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402de0
lea eax, [ebp - 0x1d0]
call fcn.00402b7c
call fcn.00402894
mov edx, 0x47611c
lea eax, [ebp - 0x1d0]
call fcn.00404bf0
call fcn.00403218
call fcn.00402894
push 0x47612c
lea edx, [ebp - 0x234]
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.004560bc
push dword [ebp - 0x234]
push 0x47613c
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.004048c0
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.00404bf0
call fcn.00403218
call fcn.00402894
push 0x476148
lea edx, [ebp - 0x23c]
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.004560bc
push dword [ebp - 0x23c]
push 0x47613c
push 0x47615c
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.004048c0
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.00404bf0
call fcn.00403218
call fcn.00402894
push 0x47612c
push dword [ebp - 4]
push 0x47613c
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.004048c0
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x1d0]
call fcn.00404bf0
call fcn.00403218
call fcn.00402894
lea eax, [ebp - 0x1d0]
call fcn.00402ea8
call fcn.00402894
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00403010
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push pe_nt_image_headers32
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
push 0
call sub.user32.dll_GetKeyState
test eax, eax
je 0x4760ca
mov eax, dword [ebp - 0x1dc]
push eax
call sub.user32.dll_GetDCEx
mov eax, dword [ebp - 0x1e0]
push eax
call sub.user32.dll_GetDCEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4760f7
lea eax, [ebp - 0x240]
mov edx, 7
call fcn.00404564
lea eax, [ebp - 4]
call fcn.00404540
ret
Function at 0x476d40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, 0x4768f0
call fcn.004066d8
xor eax, eax
push ebp
push 0x476df4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.004560bc
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004091ec
mov eax, dword [ebp - 0x14]
call fcn.00404a00
push eax
push 0xffffffffffffffff
push 0
call fcn.004068f8
mov ebx, eax
call sub.user32.dll_GetWindowTextA
cmp eax, 0xb7
jne 0x476da9
push ebx
call sub.user32.dll_ReleaseCapture
jmp 0x476dd9
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.00455a14
mov ecx, dword [0x478f6c]
mov eax, dword [0x478e7c]
mov eax, dword [eax]
mov edx, dword [0x475a00]
call fcn.00455a2c
mov eax, dword [0x478e7c]
mov eax, dword [eax]
call fcn.00455aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476dfb
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404564
ret
Function at 0x404db5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x404dc4
pop dword [ebp - 0x34]
mov eax, 0x30c9a08d
sub eax, 0x308952c9
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x52978
push 0
mov eax, 0xbe008d22
add eax, 0x4244258e
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x3ff71c79
add ecx, 0xc0093541
xor edx, edx
add edx, eax
mov ebx, 0x94feacf3
add ebx, 0x6b48b10d
add ebx, dword [ebp - 0x34]
mov esi, 0x3b041ce6
add esi, 0xe7e4dd06
add dword [ebp - 0xc], 0xb43b2744
mov edi, dword [ebx]
xor dword [ebp - 0x30], ebx
sub edi, esi
xor dword [ebp - 0xc], 0x6d47ed31
mov dword [edx], edi
sub dword [ebp - 0x14], edx
add edx, 0xbc88ef4b
sub edx, 0xbc88ef47
add ebx, 0x23e5ea05
add ebx, 0xdc1a15ff
loop 0x404e25
add eax, 0x139bb
mov ebx, eax
add eax, 5
mov ecx, 0x14ea8c69
sub ecx, 0x14aa8c69
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x247d939
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6400104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x247d9a7
push edi
push edi
lea ecx, [ebp - 8]
push ecx
push edi
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x247d99a
push dword [ebp - 8]
mov ecx, esi
call fcn.02493a7a
mov eax, dword [esi + 4]
sub eax, dword [esi]
je 0x247d9c4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push edi
push edi
push ecx
push dword [esi]
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x247d9a7
mov eax, dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0247de5b
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.02585cf8
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0247ff7a
int3