joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6754
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004907a9
xor ebx, ebx
cmp dword [0x4e3484], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4a682a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4a690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c4a74
push edi
call esi
cmp eax, ebx
je 0x4a690a
push eax
call fcn.0049073b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4e3484], eax
call esi
push eax
call fcn.0049073b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4e3488], eax
call esi
push eax
call fcn.0049073b
mov dword [0x4e348c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00490ff0
test eax, eax
pop ecx
pop ecx
je 0x4a67f8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048edb6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4a682a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0049073b
cmp eax, ebx
pop ecx
mov dword [0x4e3494], eax
je 0x4a682a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049073b
pop ecx
mov dword [0x4e3490], eax
mov eax, dword [0x4e3490]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4a68af
cmp dword [0x4e3494], ecx
je 0x4a68af
push eax
call fcn.004907b2
push dword [0x4e3494]
mov esi, eax
call fcn.004907b2
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4a68af
cmp edi, ebx
je 0x4a68af
call esi
cmp eax, ebx
je 0x4a687c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a687c
test byte [ebp - 0x18], 1
jne 0x4a68af
lea eax, [ebp - 0x10]
push eax
call fcn.0049109f
test eax, eax
pop ecx
je 0x4a6897
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048edb6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4a68a6
or dword [ebp + 0x10], 0x200000
jmp 0x4a68ea
or dword [ebp + 0x10], 0x40000
jmp 0x4a68ea
mov eax, dword [0x4e3488]
cmp eax, dword [ebp - 8]
je 0x4a68ea
push eax
call fcn.004907b2
cmp eax, ebx
pop ecx
je 0x4a68ea
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4a68ea
mov eax, dword [0x4e348c]
cmp eax, dword [ebp - 8]
je 0x4a68ea
push eax
call fcn.004907b2
cmp eax, ebx
pop ecx
je 0x4a68ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e3484]
call fcn.004907b2
cmp eax, ebx
pop ecx
je 0x4a690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002c08
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e0cc]
jne 0x10002c12
repz ret
jmp fcn.10004fac

Function at 0x10006d0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*8 + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
jmp 0x10006d5d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x10006da2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
push dword [ebp - 0x14]
push dword [ebp + 0x14]
call fcn.10006cb5
pop ecx
pop ecx
cmp eax, dword [ebp + 0x10]
jne 0x10006da0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x10006da4
jmp 0x10006d56
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10006da8
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x10006e11
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
call fcn.100068b1
pop ecx
cmp dword [ebp + 8], eax
jne 0x10006e07
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
jmp 0x10006e13
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x10006de0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001e00
Capabilities:
Create http request

Disassembly:
cmp dword [esi + 0x50], 0
jne 0x10001eb8
cmp dword [esi + 0x10c], 0
mov eax, 8
jne 0x10001e1c
xor ecx, ecx
jmp 0x10001e32
cmp dword [esi + 0x110], eax
jb 0x10001e2c
mov ecx, dword [esi + 0xfc]
jmp 0x10001e32
lea ecx, [esi + 0xfc]
cmp dword [esi + 0xf4], eax
jb 0x10001e42
mov eax, dword [esi + 0xe0]
jmp 0x10001e48
lea eax, [esi + 0xe0]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x14c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 0x50], eax
jne 0x10001e65
xor al, al
ret
cmp dword [esi + 0x150], 0xfffffffe
lea ecx, [esi + 0x150]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
je 0x10001e83
push 4
push ecx
push 2
push eax
call edi
cmp dword [esi + 0x154], 0xfffffffe
lea eax, [esi + 0x154]
je 0x10001e9d
mov edx, dword [esi + 0x50]
push 4
push eax
push 5
push edx
call edi
cmp dword [esi + 0x158], 0xfffffffe
lea eax, [esi + 0x158]
je 0x10001eb7
push 4
push eax
mov eax, dword [esi + 0x50]
push 6
push eax
call edi
pop edi
mov al, 1
ret

Function at 0x10007d10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1002aa38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x1003424c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.10004cc0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10007d64
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.10007ef0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.10004cc0
cmp dword [esp + 0x24], 8
jb 0x10007daa
mov eax, dword [esp + 0x10]
push eax
call fcn.10016244
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x10009fc0
Capabilities:
Create thread

Disassembly:
push ecx
push 0x100368d8
call fcn.10011ca0
sub esp, 0xd8
mov eax, esp
mov dword [esp + 0xd8], esp
push eax
mov byte [0x10036681], 0
mov dword [0x10036700], 0x100368d8
call fcn.10009720
mov ecx, 0x10036680
call fcn.10001460
push 0x10036680
push 0
push 0x10001ee0
mov dword [0x100367e0], 0x1000a0b0
call fcn.1001604e
mov dword [0x100367dc], eax
add esp, 0x10
ret
Function at 0x1000d6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002ae40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1003424c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x1003424c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x54], edi
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push edi
jne 0x1000d761
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov ecx, esi
mov word [esi + 4], di
call fcn.10004cc0
cmp dword [esp + 0x58], 8
jb 0x1000d80e
mov eax, dword [esp + 0x44]
push eax
jmp 0x1000d806
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.10004cc0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
lea ebx, [eax - 1]
cmp eax, ebx
ja 0x1000d790
call fcn.10015365
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x1000d79f
lea eax, [esp + 0x14]
cmp word [eax + ebx*2], 0x2f
je 0x1000d7b6
push 1
push 0x1002fb8c
lea ecx, [esp + 0x18]
call fcn.10007ef0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
lea eax, [esp + 0x18]
mov ecx, esi
mov word [esi + 4], di
call fcn.10004cc0
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x1000d7ea
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10016244
add esp, 4
cmp dword [esp + 0x58], ebx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jb 0x1000d80e
mov edx, dword [esp + 0x44]
push edx
call fcn.10016244
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10015d38
add esp, 0x30
ret
Function at 0x1000d830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002ae40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1003424c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x1003424c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x54], edi
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push edi
jne 0x1000d8a1
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov ecx, esi
mov word [esi + 4], di
call fcn.10004cc0
cmp dword [esp + 0x58], 8
jb 0x1000d94e
mov eax, dword [esp + 0x44]
push eax
jmp 0x1000d946
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.10004cc0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
lea ebx, [eax - 1]
cmp eax, ebx
ja 0x1000d8d0
call fcn.10015365
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x1000d8df
lea eax, [esp + 0x14]
cmp word [eax + ebx*2], 0x5c
je 0x1000d8f6
push 1
push 0x1002fb90
lea ecx, [esp + 0x18]
call fcn.10007ef0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
lea eax, [esp + 0x18]
mov ecx, esi
mov word [esi + 4], di
call fcn.10004cc0
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x1000d92a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10016244
add esp, 4
cmp dword [esp + 0x58], ebx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jb 0x1000d94e
mov edx, dword [esp + 0x44]
push edx
call fcn.10016244
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10015d38
add esp, 0x30
ret
Function at 0x1000fc80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1002ad40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003424c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
push 8
push str.FileName
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10005580
sub esp, 0x1c
mov byte [esp + 0x58], 1
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x68]
mov word [ecx + 4], bx
call fcn.10004cc0
lea eax, [esp + 0x30]
lea ebp, [edi + 0xc]
push eax
mov ecx, ebp
mov byte [esp + 0x5c], 2
call fcn.10012600
mov byte [esp + 0x58], 1
mov esi, dword [eax]
push edi
call fcn.10011440
mov esi, 0x10
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x2c], esi
jb 0x1000fd34
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10016244
add esp, 4
push 0xe
push str.FileDownloaded
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10005580
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov byte [esp + 0x40], 3
call fcn.10012600
mov eax, dword [eax]
push eax
call fcn.100114d0
cmp dword [esp + 0x2c], esi
jb 0x1000fd80
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10016244
add esp, 4
cmp dword [esp + 0x5c], 8
jb 0x1000fd94
mov edx, dword [esp + 0x48]
push edx
call fcn.10016244
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x1c
Function at 0x100190b9
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100190f4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100190db
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100190ec
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100190f6
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100190d1
xor eax, eax
pop edi
pop esi
ret

Function at 0x10019879
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
call fcn.10019057
ret

Function at 0x1001abfe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 0x78b5b], al
inc dword [eax]
Function at 0x478474
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6d5ff8
cmp dword [edi], 0
jne 0x4784f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6d5ff4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6c8a94
mov ecx, 2
call fcn.0040714c
mov edx, 0x47844c
lea eax, [esi + 5]
call fcn.0047846c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0047846c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4784c5
mov dword [0x6d5ff4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x492be8
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffec8
mov dword [esp], eax
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x90]
mov eax, dword [esp]
mov eax, dword [eax + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x14], eax
mov esi, dword [esp]
mov esi, dword [esi + 0xa0]
mov eax, dword [esp]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xa8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xac]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x38]
mov eax, dword [esp]
mov ecx, 0x40
call fcn.0040714c
mov edx, 0x10
lea eax, [esp + 0x38]
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x18
mov ebp, ecx
shl ebp, 0x18
or edi, ebp
mov ebp, ecx
shr ebp, 8
and ebp, 0xff00
or edi, ebp
shl ecx, 8
and ecx, 0xff0000
or edi, ecx
mov dword [eax], edi
add eax, 4
dec edx
jne 0x492c6f
mov edx, 0x30
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
shl ecx, 0x19
mov edi, dword [esp + 0x24]
shr edi, 7
or ecx, edi
mov edi, dword [esp + 0x28]
shl edi, 0xe
mov ebp, dword [esp + 0x28]
shr ebp, 0x12
or edi, ebp
xor ecx, edi
mov edi, dword [eax]
shr edi, 3
xor ecx, edi
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
shl ecx, 0xf
mov edi, dword [esp + 0x2c]
shr edi, 0x11
or ecx, edi
mov edi, dword [esp + 0x30]
shl edi, 0xd
mov ebp, dword [esp + 0x30]
shr ebp, 0x13
or edi, ebp
xor ecx, edi
mov edi, dword [eax + 0x34]
shr edi, 0xa
xor ecx, edi
mov edi, dword [eax - 4]
add edi, dword [esp + 4]
add edi, dword [eax + 0x20]
add ecx, edi
mov dword [eax + 0x3c], ecx
add eax, 4
dec edx
jne 0x492ca6
mov edx, 0x40
mov eax, 0x6c8ae0
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], ecx
Function at 0x578e38
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00578f00
test eax, eax
je 0x578e8a
mov edi, dword [ebx + 8]
test edi, edi
je 0x578e66
test edi, edi
je 0x578e66
mov edx, esi
mov eax, edi
call fcn.005123e0
jmp 0x578e98
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00578f00
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a350
jmp 0x578e98
mov ecx, esi
mov edx, 0x578eb8
mov eax, ebx
call fcn.00578dc0
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a5a8
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x59af70
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040a1c8
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x59afc2
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x59afbb
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040b318
jmp 0x59afc2
mov eax, esi
call fcn.0040a1c8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5a0850
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a09af
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6cdb88], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4e4cf4]
call fcn.004e5d2c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5a0985
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004e5dd8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040b318
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5a09c8
call fcn.0040b4c8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004e5e3c
test al, al
je 0x5a096f
lea ecx, [ebp - 4]
mov edx, 0x5a0a3c
mov eax, dword [ebp - 0xc]
call fcn.004e624c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042b860
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5a096f
xor edx, edx
push ebp
push 0x5a0968
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5a0a54
mov eax, dword [ebp - 8]
push eax
call fcn.00414030
test eax, eax
je 0x5a0951
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5a0951
call fcn.005a07dc
test eax, eax
je 0x5a0941
mov eax, dword [ebx + 0x50]
jmp 0x5a0944
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6cdb88]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a096f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a098c
mov eax, dword [ebp - 0xc]
call fcn.00408444
ret
Function at 0x5c7a88
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x5c7a9c
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x6d67e4], 0
jne 0x5c7abf
push 0x5c7ae4
push 0x5c7b04
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414030
mov dword [0x6d67e4], eax
cmp dword [0x6d67e4], 0
je 0x5c7ad9
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x6d67e4]
jmp 0x5c7ade
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x5c7b20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x5c7c93
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x5c7b54
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x5c7b5e
mov ebx, 0x57
jmp 0x5c7c7d
call fcn.00429d30
cmp eax, 2
jne 0x5c7c6c
push 0
push 8
lea eax, [ebp - 0x14]
push eax
movzx eax, byte [ebp - 5]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.005c7a60
test eax, eax
jne 0x5c7c6c
xor eax, eax
push ebp
push 0x5c7c65
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.0040a350
xor eax, eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x5c7bb9
sub ebx, 4
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
call fcn.0040a774
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov esi, eax
cmp esi, 0xea
jne 0x5c7c24
mov edi, dword [ebp - 4]
test edi, edi
je 0x5c7bf4
sub edi, 4
mov edi, dword [edi]
cmp edi, 0x10000
jge 0x5c7c4e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5c7c13
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a350
jmp 0x5c7bad
test esi, esi
jne 0x5c7c4e
mov eax, dword [ebp - 4]
call fcn.0040b278
mov ecx, eax
movzx eax, byte [ebp - 5]
mov edx, dword [ebp - 0x14]
call fcn.005c7b20
test eax, eax
je 0x5c7bad
inc dword [ebp - 0x18]
jmp 0x5c7bad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7c6c
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, byte [ebp - 5]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.005c7a88
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7c9a
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x605824
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6cdf58]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x605868
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x60585d
mov eax, dword [esp + 4]
jmp 0x60585f
xor eax, eax
add esp, 0x2b4
pop ebx
ret

Function at 0x605847
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6cdf58]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x605868
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x60585d
mov eax, dword [esp + 4]
jmp 0x60585f
xor eax, eax
add esp, 0x2b4
pop ebx
ret