joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4778dc
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.0040a28c
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.00471c48
test ebx, ebx
jne 0x47792f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00477758
mov ebx, eax
test ebx, ebx
je 0x477a25
cmp esi, ebx
je 0x477958
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x47796d
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 0x4779a5
add eax, 0xffffff5f
sub eax, 2
jb 0x4779bd
dec eax
sub eax, 2
jb 0x4779d1
dec eax
sub eax, 2
jb 0x4779c7
jmp 0x4779db
add eax, 0xfffffdff
sub eax, 2
jb 0x4779bd
dec eax
sub eax, 2
jb 0x4779d1
dec eax
sub eax, 2
jb 0x4779c7
jmp 0x4779db
mov byte [esp + 0x120], 0
jmp 0x4779e3
mov byte [esp + 0x120], 2
jmp 0x4779e3
mov byte [esp + 0x120], 1
jmp 0x4779e3
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004939f8
mov esi, eax
call fcn.0046e538
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.00473464
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x477a27
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x493500
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x493521
test edi, 0x40000
je 0x49353b
test bl, bl
jne 0x4935bc
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4935bc
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x49356e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x493583
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x493592
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4935a3
cmp byte [esp + 2], 0
je 0x4935bc
cmp byte [esp + 2], 0
je 0x4935b4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4935bc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x493868
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x49388e
mov eax, esp
push eax
push 0x493830
call sub.user32.dll_EnumWindows
jmp 0x4938a1
mov eax, esp
push eax
push 0x493810
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x493964
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4939b4]
test bl, 4
je 0x493978
or si, 1
test bl, 8
je 0x493981
or si, 4
test bl, 1
je 0x49398a
or si, 8
test bl, 2
je 0x493993
or si, 0x10
test bl, 0x10
je 0x49399c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4939ac
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4939b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4939f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4939d3
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4939e3
or bx, 4
test esi, 0x20000000
je 0x4939ef
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x49c06c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49c07e
add esp, 0xfffffff0
call fcn.004052d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00439f90
mov eax, dword [0x4f6644]
mov dword [eax + 4], ebx
mov dword [eax], 0x49c4c8
mov eax, dword [0x4f6654]
mov dword [eax + 4], ebx
mov dword [eax], 0x49c4d4
mov eax, ebx
call fcn.0049c4e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x497320
push eax
push 0
push 0
mov eax, dword [0x4f6898]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x442890]
call fcn.00447784
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x442890]
call fcn.00447784
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x442890]
call fcn.00447784
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x442890]
call fcn.00447784
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x442890]
call fcn.00447784
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0049ca38
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49c8a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49c8a8
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49c8a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49c8a8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49c8a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49c1f9
call fcn.00405330
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49c648
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c7f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x49c7d6
mov dl, 1
mov eax, dword [0x4271d4]
call fcn.00432c30
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406890
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49c7c5
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00480f30
test al, al
je 0x49c7b8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49c804
lea eax, [ebp - 0x394]
call fcn.00411d10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49c7b8
xor eax, eax
push ebp
push 0x49c7b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49c874
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49c79a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a78
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x49c79a
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c7b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49c6bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00432b6c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c7fc
lea eax, [ebp - 0x3a0]
call fcn.00406880
ret

Function at 0x49d354
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4fc280]
cmp byte [eax + 0xad], 0
jne 0x49d3c6
cmp dword [0x4fc298], 0
jne 0x49d386
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4f49dc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4fc298], eax
cmp dword [0x4fc294], 0
jne 0x49d3a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4fc294], eax
cmp dword [0x4fc29c], 0
jne 0x49d3c6
push esp
push 0
push 0
mov eax, dword [0x4f49d8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4fc29c], eax
pop edx
ret
Function at 0x49d694
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49d6ab
add esp, 0xfffffff0
call fcn.004052d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00439f90
mov eax, dword [0x4f6504]
cmp byte [eax], 0
jne 0x49d6d8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4f6870]
cmp word [eax + 2], 0
jne 0x49d6f2
mov eax, dword [0x4f6870]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049f740
mov eax, dword [0x4f69a0]
cmp word [eax + 2], 0
jne 0x49d70c
mov eax, dword [0x4f69a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049f950
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x442890]
call fcn.00447784
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x49fe04
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x445e40]
call fcn.0044e3bc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49d8ec
mov eax, dword [0x4f66f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0044e7bc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a00c4
mov dl, 1
mov eax, dword [0x424aec]
call fcn.00404d94
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4f66f8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411b08
test eax, eax
je 0x49d81d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004118ec
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411aec
test eax, eax
je 0x49d835
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a78
push ebx
push 0x49f128
call fcn.00493948
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4f6504]
cmp byte [eax], 0
jne 0x49d886
mov eax, ebx
call fcn.0049da60
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a02f0
mov eax, ebx
call fcn.004a0f24
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49d8e3
call fcn.00405330
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49dd34
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49ddd6
cmp dword [ebx + 0x94], 0
jne 0x49ddd0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49dc80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49ddd0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x49dd96
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49ddd0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f6f4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49dda5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x49dff4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4fc280]
cmp dword [eax + 0x170], 0
je 0x49e159
test bl, bl
jne 0x49e0a7
cmp dword [esi + 0x9c], 0
jne 0x49e09c
mov eax, esi
call fcn.004a0d74
push eax
push 0x49df00
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x49e06d
mov eax, dword [0x4fc280]
cmp byte [eax + 0xd3], 0
je 0x49e06d
mov eax, dword [esi + 0xd8]
call fcn.00407d90
mov edi, eax
cmp edi, 0
jl 0x49e06d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49e056
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49e09c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f6f4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49e07c
inc dword [esi + 0x9c]
jmp 0x49e159
cmp dword [esi + 0x9c], 0
jle 0x49e159
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x49e159
cmp dword [esi + 0x44], 0
je 0x49e104
mov eax, dword [0x4fc280]
cmp byte [eax + 0xd3], 0
je 0x49e104
mov eax, dword [esi + 0xd8]
call fcn.00407d90
mov edi, eax
cmp edi, 0
jl 0x49e104
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49e0ed
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49e133
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f6f4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49e113
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x491820]
call fcn.00407f50
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x49ed74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x49eddf
cmp byte [ebx + 0xd3], 0
jne 0x49eddf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069cc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x49edcc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x49edec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406890
jmp 0x49edec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406890
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a04d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a0546
mov eax, esi
call fcn.0047afa0
test al, al
je 0x4a0546
mov eax, dword [ebx + 0x84]
call fcn.0047ac20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a0546
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a053a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047ac20
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00472028
jmp 0x4a0546
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a0310
pop esi
pop ebx
ret
Function at 0x42d221
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x42d230
pop dword [ebp - 0x18]
mov eax, 0x48e4184
add eax, 0xfbb490ac
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x4fa45
push 0
mov eax, 0x1d473d54
add eax, 0xe2fd755c
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x4595
xor edi, edi
add edi, eax
mov edx, 0x475e00
add edx, dword [ebp - 0x18]
mov esi, 0x1b10d1f1
sub esi, 0x88ce807e
sub dword [ebp - 0x10], 0xbe4ee670
mov ebx, dword [edx]
sub dword [ebp - 0x10], eax
sub ebx, esi
mov dword [ebp - 0x14], 0x201f27f0
mov dword [edi], ebx
xor dword [ebp - 0x10], 0xa61d9bf6
add edi, 4
add edx, 0xddde6ddf
add edx, 0x22219225
loop 0x42d285
add eax, 0xac56397
sub eax, 0xac45a70
mov ebx, eax
add eax, 0xc66252df
add eax, 0x399dad26
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10011620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578ce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x16], 0
mov eax, 0x32
je 0x1001172e
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp + 8]
call sym.ScCore.dll_public:_int___thiscall_ScCore::String::encode_char_const____int___class_ScCore::Encoder_const__const
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
setne al
cmp byte [ebp + 0xc], 0
je 0x10011692
test al, al
je 0x10011692
mov eax, dword [edi + 0x22]
push eax
lea ecx, [ebp + 8]
call sym.ScCore.dll_public:_int___thiscall_ScCore::String::encode_char_const____int___class_ScCore::Encoder_const__const
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x12]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call sym.ScCore.dll_public:_int___thiscall_ScCore::String::encode_char_const____int___class_ScCore::Encoder_const__const
mov edi, eax
test edi, edi
jne 0x100116d7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100116d7
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x16]
mov edx, dword [ebp - 0x14]
push ecx
push 1
push eax
push edx
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x100116d7
mov edi, 0x34
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x16]
push ecx
call dword [sym.imp.msvcr100.dll_ferror]
add esp, 4
test eax, eax
je 0x10011702
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x16]
push eax
call dword [sym.imp.msvcr100.dll_clearerr]
add esp, 4
mov edi, 0x34
jmp 0x1001171d
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x16]
push edx
call dword [sym.imp.msvcr100.dll_ftell]
mov esi, dword [esi + 4]
add esp, 4
cmp eax, dword [esi + 0x1a]
jle 0x1001171d
mov dword [esi + 0x1a], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sym.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100280c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100280cf
pop dword [ebp - 0x14]
mov eax, 0x100280cf
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xd4bb1729
sub dword [ebp - 0x24], 0x8668d1de
mov dword [ebp - 0x20], 0xb5239437
sub dword [ebp - 0x20], 0x82f047f2
mov dword [ebp - 0x1c], 0x73d506c7
add dword [ebp - 0x1c], 0xd8773d67
mov dword [ebp - 0x18], 0x69f92a42
add dword [ebp - 0x18], 0x9606d5be
lea eax, [ebp - 0x24]
push eax
mov eax, 0xad380515
sub eax, 0x9d32340d
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xbb4f7ee2
add dword [ebp - 0x24], 0xb922ea74
mov dword [ebp - 0x20], 0x83f896ae
add dword [ebp - 0x20], 0xbd73cac7
mov dword [ebp - 0x1c], 0x1ba58d3
sub dword [ebp - 0x1c], 0x9e4aec67
mov dword [ebp - 0x18], 0xa7e0d729
sub dword [ebp - 0x18], 0xa7e0d729
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x90f93671
add eax, 0x7f0c9a8f
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x502f1
push 0
call eax
mov ecx, 0x49cc
xor esi, esi
add esi, eax
mov edx, 0xe64f1f8d
sub edx, 0xd646118d
add edx, dword [ebp - 0x14]
mov edi, 0x459c5f9f
sub edi, 0x13fd0528
mov dword [ebp - 0xc], 0x39c73c5d
mov ebx, dword [edx]
add ebx, edi
mov dword [esi], ebx
xor dword [ebp - 8], 0x62ed1454
add esi, 4
add edx, 4
loop 0x100281e8
add eax, 0x27d31971
sub eax, 0x27d1ff6e
xor ebx, ebx
add ebx, eax
add eax, 0x85a6b218
add eax, 0x7a594ded
mov ecx, 0xfa1e6ea7
sub ecx, 0xea1e6ea7
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x100374a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374cb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call sym.ScCore.dll_public:_int___thiscall_ScCore::String::encode_char_const____int___class_ScCore::Encoder_const__const
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x100374f9
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x100374f2
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x100374f5
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003750b
lea ecx, [ebp - 8]
push ecx
push 0x10037470
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret