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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x20], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov al, byte [edi]
mov cl, byte [edi + 7]
movzx esi, word [edi + 8]
mov byte [ebp + 0xc], al
mov byte [ebp + 8], cl
je 0x450a15
cmp al, 0x14
je 0x450a15
cmp al, 0x90
je 0x450a15
cmp al, 0x91
je 0x450a15
push edi
call fcn.00438682
test al, al
je 0x450a93
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x45098a
movzx eax, byte [ebp + 0xc]
xor byte [ebp + eax - 0x11c], 0x80
lea eax, [ebp + eax - 0x11c]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
movzx esi, byte [ebp + 8]
shl esi, 0x10
push edi
or esi, 0xc0000001
call fcn.00448cf2
cmp al, 1
jne 0x4509a7
or esi, 0x1000000
cmp byte [ebx + 0x17], 0
jne 0x4509dd
cmp byte [ebx + 0x1d], 0
jne 0x4509dd
mov al, byte [ebp + 0xc]
cmp al, 0x12
je 0x4509e0
mov ecx, dword [ebx + 0x20]
push esi
movzx eax, al
push eax
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.004385af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
cmp byte [ebx + 0x16], 0
jne 0x4509ba
cmp byte [ebx + 0x1c], 0
jne 0x4509ba
mov edx, dword [ebx + 0x20]
movzx ecx, al
or esi, 0x20000000
push esi
push ecx
push 0x105
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.004385af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.00438682
test al, al
je 0x450a67
push edi
call fcn.00448cf2
cmp al, 1
jne 0x450a48
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 3
push edx
push eax
push ebx
call fcn.00438523
push ebx
call fcn.004385af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 2
push ecx
push edx
push ebx
call fcn.00438523
push ebx
call fcn.004385af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x1c
lea ecx, [ebp - 0x1c]
xor eax, eax
push ecx
push 1
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], si
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendInput]
push ebx
call fcn.004385af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x450c84
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 7], bl
mov word [esi], 0xff
mov dword [esi + 2], ebx
mov byte [esi + 6], bl
push esi
mov byte [esi + 0xa], bl
mov word [esi + 8], di
call fcn.0043866f
test al, al
je 0x450cc1
push edi
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
jne 0x450cca
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx edx, al
mov ecx, eax
push ebx
sar ecx, 8
push edx
mov byte [esi], al
mov byte [ebp + 0xf], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov cl, byte [ebp + 0xf]
mov byte [esi + 7], al
mov al, 1
test al, cl
je 0x450cee
mov byte [esi + 1], al
test cl, 2
je 0x450cf6
mov byte [esi + 3], al
test cl, 4
je 0x450cc3
pop edi
mov byte [esi + 4], al
pop esi
pop ebx
pop ebp
ret 8
Function at 0x457010
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call fcn.00401d80
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
inc dword [eax]
mov dword [ebp - 0x18], eax
mov edi, 0x49b770
mov eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.0040d650
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x278]
push eax
push ecx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x457179
nop
mov edx, dword [ebp - 0x14]
push edx
call fcn.00446e1c
cmp eax, 1
je 0x457177
cmp eax, 0xb
jne 0x457091
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x457070
lea eax, [ebp - 0x24c]
push 0x495738
push eax
call fcn.00413366
add esp, 8
test eax, eax
je 0x45715c
lea ecx, [ebp - 0x24c]
push 0x49b778
push ecx
call fcn.00413366
add esp, 8
test eax, eax
je 0x45715c
lea edx, [ebp - 0x24]
push edx
lea esi, [ebp - 0x10]
call fcn.0040e580
lea edi, [ebp - 0x24c]
mov eax, esi
call fcn.0040d650
test byte [ebp - 0x278], 0x10
je 0x457133
cmp byte [ebp + 0x18], 0
mov esi, dword [ebp + 0x14]
je 0x4570fb
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x45715c
mov edi, 0x49626c
lea eax, [ebp - 0x10]
call fcn.0040d650
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push esi
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00457010
mov bl, al
test bl, bl
je 0x457179
jmp 0x45715c
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp + 0xc]
xor edx, edx
or edx, dword [ebp - 0x258]
xor esi, esi
or ecx, esi
add dword [eax], edx
adc dword [eax + 4], ecx
cmp byte [ebp + 0x18], 0
je 0x45715c
mov eax, dword [ebp + 0x10]
add dword [eax], 1
adc dword [eax + 4], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x278]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457070
jmp 0x457179
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.004023b0
lea ecx, [ebp - 0x10]
call fcn.004023b0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x457297
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
push 4
mov edi, 1
lea ecx, [ebp - 0xc]
push edi
push ecx
call fcn.0041527b
add esp, 0x10
push 0x18ee
push 4
lea edx, [ebp - 0xc]
push edx
call fcn.0044f3c1
lea eax, [ebp - 0xc]
push str.FILE
push eax
mov byte [ebp - 8], 0
call fcn.004152a0
add esp, 8
test eax, eax
jne 0x45742d
mov ecx, dword [esi]
add dword [ebp - 4], edi
push ecx
push edi
lea edx, [ebp + 8]
push 4
push edx
call fcn.0041527b
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [ebp - 0x220]
push 1
push ecx
call fcn.0041527b
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [ebp - 0x220]
push edx
call fcn.0044f3c1
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x430]
xor eax, eax
push edx
mov word [ebp + ebx - 0x220], ax
call fcn.00412998
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.0041527b
mov edi, dword [ebp + 8]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.0041527b
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [ebp - 0x220]
push ecx
call fcn.0044f3c1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
xor edx, edx
push ecx
mov word [ebp + ebx - 0x220], dx
call fcn.00412998
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x430]
push edi
push edx
call fcn.00413366
add esp, 0x10
test eax, eax
je 0x457422
push 0x498d94
push edi
call fcn.00413366
add esp, 8
test eax, eax
jne 0x4573e2
cmp dword [ebp - 4], eax
je 0x457422
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.00415641
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0x10]
push 4
push edx
call fcn.0041527b
mov eax, dword [ebp - 0x10]
xor eax, 0x87bc
mov dword [ebp - 0x10], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.00415641
add esp, 0x1c
jmp 0x4572ad
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45743b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
xor ecx, ecx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov word [ebp - 0x44c], cx
mov ecx, dword [esi]
push eax
xor edx, edx
push ecx
mov word [ebp - 0x242], dx
mov dword [ebp - 4], 1
call fcn.00415641
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x680]
push edx
push eax
push esi
call fcn.00457297
test eax, eax
je 0x4574d4
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push ecx
push 1
lea edx, [ebp + 0x17]
push 1
push edx
call fcn.0041527b
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.0041527b
mov edx, dword [esi]
mov edi, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
push 4
push eax
xor edi, 0x87bc
call fcn.0041527b
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
xor ecx, 0x87bc
push 4
push eax
mov dword [ebx], ecx
call fcn.0041527b
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
add esp, 0x40
push 1
xor eax, 0xa685
push 0x10
push ecx
mov dword [ebp - 8], eax
call fcn.00415641
mov edx, dword [ebx]
add esp, 0xc
push edx
call fcn.004137db
add esp, 4
push edi
mov dword [ebp + 0xc], eax
call fcn.004137db
add esp, 4
mov ebx, eax
mov eax, dword [esi]
push eax
push 1
push edi
push ebx
call fcn.0041527b
mov ecx, dword [esi + 8]
add esp, 0x10
add ecx, 0x2477
push ecx
push edi
push ebx
call fcn.0044f3c1
push edi
push ebx
lea edx, [ebp - 4]
push edx
call fcn.004360f3
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x4575b4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413968
add esp, 4
push ebx
call fcn.00413968
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x17], 1
jne 0x457623
xor eax, eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
xor edx, edx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov word [ebp - 0x44c], dx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x470]
xor ecx, ecx
push eax
mov word [ebp - 0x242], cx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x470], edx
call fcn.0044f57b
push ebx
call fcn.00413968
jmp 0x45762f
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413968
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
pop edi
pop esi
mov dword [edx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4583f4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xa54
lea eax, [ebp - 0x440]
call fcn.004100c0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x234]
call fcn.004100c0
lea eax, [ebp - 0x440]
push eax
call fcn.0043779e
add esp, 4
test al, al
jne 0x458430
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x234]
push ebx
push ecx
call fcn.0043779e
add esp, 4
xor ebx, ebx
test al, al
je 0x458515
cmp byte [ebp + 0x10], bl
je 0x458574
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4584aa
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.00413366
add esp, 8
test eax, eax
je 0x4584a3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x644]
push edx
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x440]
push eax
call fcn.00413c2e
lea ecx, [ebp - 0x234]
push 0x49626c
push ecx
call fcn.00412967
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00412967
add esp, 0x24
cmp word [ebp - 0x644], bx
je 0x458515
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.00412967
add esp, 8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.0043770e
add esp, 8
test al, al
lea edx, [ebp - 0x234]
lea eax, [ebp - 0x440]
je 0x458566
push 1
push edx
push eax
call fcn.00450160
add esp, 0xc
test al, al
je 0x458574
lea ecx, [ebp - 0x440]
push 1
push ecx
call fcn.004500be
add esp, 8
test al, al
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.00413366
add esp, 8
test eax, eax
jne 0x45857b
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x440]
push ecx
call fcn.00412941
xor edx, edx
mov word [ebp + eax*2 - 0x43e], dx
lea eax, [ebp - 0x234]
push eax
call fcn.00412941
xor ecx, ecx
lea edx, [ebp - 0x440]
mov word [ebp + eax*2 - 0x232], cx
mov dword [ebp - 0x18], edx
add esp, 8
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x234]
mov ecx, 0x614
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458ace
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10c
cmp byte [eax], 0
push esi
mov esi, dword [ebp + 8]
mov cl, 1
je 0x458ae8
mov byte [esi + 0x14], cl
cmp byte [eax + 2], 0
je 0x458af1
mov byte [esi + 0x16], cl
cmp byte [eax + 3], 0
je 0x458afa
mov byte [esi + 0x17], cl
cmp byte [esi + 0x14], 0
je 0x458b0a
cmp byte [esi + 0x1a], 0
je 0x458b0a
mov byte [esi + 0x14], 0
cmp byte [esi + 0x15], 0
je 0x458b1a
cmp byte [esi + 0x1b], 0
je 0x458b1a
mov byte [esi + 0x15], 0
cmp byte [esi + 0x16], 0
je 0x458b2a
cmp byte [esi + 0x1c], 0
je 0x458b2a
mov byte [esi + 0x16], 0
cmp byte [esi + 0x17], 0
je 0x458b3a
cmp byte [esi + 0x1d], 0
je 0x458b3a
mov byte [esi + 0x17], 0
cmp byte [esi + 0x18], 0
je 0x458b4a
cmp byte [esi + 0x1e], 0
je 0x458b4a
mov byte [esi + 0x18], 0
cmp dword [esi + 0x20], 0
je 0x458bbf
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x458cfd
mov cl, byte [esi + 0x1a]
test cl, cl
jne 0x458b6f
mov byte [ebp - 0x6c], cl
mov al, byte [esi + 0x1b]
test al, al
jne 0x458b79
mov byte [ebp - 0x6b], al
test cl, cl
jne 0x458b87
test al, al
jne 0x458b87
mov byte [ebp - 0xfc], al
cmp byte [esi + 0x1c], 0
jne 0x458b94
mov byte [ebp - 0xfb], 0
cmp byte [esi + 0x1d], 0
jne 0x458ba1
mov byte [ebp - 0xfa], 0
test cl, cl
jne 0x458bab
mov byte [ebp - 0xb1], cl
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
lea edx, [ebp - 0xc]
push edx
call fcn.00448dc0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call edi
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x458bf8
push 0xa0
call ebx
mov edx, 0x8000
test dx, ax
je 0x458c16
cmp byte [esi + 0x1a], 0
jne 0x458c16
push 0xa0
lea eax, [ebp - 0xc]
push eax
call fcn.00450d05
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.00450908
push 0xa1
call edi
mov edx, 0x8000
test dx, ax
jne 0x458c38
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x458c56
cmp byte [esi + 0x1b], 0
jne 0x458c56
push 0xa1
lea edx, [ebp - 0xc]
push edx
call fcn.00450d05
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00450908
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
jne 0x458c72
push 0x11
call ebx
mov edx, 0x8000
test dx, ax
je 0x458c8d
cmp byte [esi + 0x1c], 0
jne 0x458c8d
push 0x11
lea eax, [ebp - 0xc]
push eax
call fcn.00450d05
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.00450908
push 0x12
call edi
mov edx, 0x8000
test dx, ax
jne 0x458ca9
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x458cc4
cmp byte [esi + 0x1d], 0
jne 0x458cc4
push 0x12
lea edx, [ebp - 0xc]
push edx
call fcn.00450d05
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00450908
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x458ce0
push 0x5b
call ebx
mov edx, 0x8000
test dx, ax
je 0x458cfb
cmp byte [esi + 0x1e], 0
jne 0x458cfb
push 0x5b
lea eax, [ebp - 0xc]
push eax
call fcn.00450d05
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.00450908
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x459d7f
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
call fcn.0040c040
lea ecx, [ebp - 0x1c]
call fcn.0040c040
lea ecx, [ebp - 0x3c]
call fcn.0040c040
mov ebx, str.SOFTWAREClasses_
lea eax, [ebp - 0x2c]
call fcn.004022c0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0040d650
mov edi, str.CLSID
lea eax, [ebp - 0x2c]
call fcn.0040d650
mov ebx, 0x4956ec
lea eax, [ebp - 0x1c]
call fcn.004022c0
test esi, esi
je 0x459e08
cmp word [esi], 0x5c
je 0x459e08
cmp word [esi + 2], 0x5c
je 0x459e08
mov ebx, 0x495724
lea eax, [ebp - 0x1c]
call fcn.004022c0
mov edi, esi
lea eax, [ebp - 0x1c]
call fcn.0040d650
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x459e5f
push 0x20
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.004129c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x58], 0
call fcn.0040e580
mov edi, str.IPC_
mov eax, esi
call fcn.0040d650
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x3c]
push 0
push ebx
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x48], edx
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov edi, eax
test edi, edi
js 0x459ef5
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov edi, eax
test edi, edi
jne 0x459ef5
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test edi, edi
jne 0x459eef
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x264]
push edx
push 0
push 0
push 0
push eax
mov dword [ebp + 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x459ee9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
shr eax, 1
xor ecx, ecx
mov dword [ebp + 0xc], eax
mov word [ebp + eax*2 - 0x264], cx
push edx
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, eax
mov ecx, dword [ebp - 0xc]
push ecx
call esi
mov edx, dword [ebp - 8]
push edx
call esi
lea ecx, [ebp - 0x3c]
call fcn.004023b0
lea ecx, [ebp - 0x1c]
call fcn.004023b0
lea ecx, [ebp - 0x2c]
call fcn.004023b0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b9a3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push edi
mov dword [esi + 0x170], ecx
mov dword [esi + 0x174], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp eax, dword [esi + 0x178]
jne 0x45b9f1
cmp ecx, dword [esi + 0x17c]
je 0x45ba0e
cmp dword [ebp + 0x10], 1
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], ecx
jl 0x45ba0e
push ecx
push eax
push esi
push 0xfffffffffffffff5
push ebx
call fcn.004565e9
mov ecx, dword [ebx + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebx + 0x1c]
movzx edi, ax
push edx
shr edi, 0xf
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
shr eax, 0xf
mov dword [ebp + 0xc], eax
cmp edi, dword [esi + 0x180]
je 0x45baad
cmp dword [ebp + 0x10], 1
jl 0x45baad
cmp byte [esi + 0x1ac], 0
je 0x45baad
test edi, edi
je 0x45ba59
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
push esi
push 0xfffffffffffffff9
jmp 0x45ba9d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push esi
push 0xfffffffffffffff8
push ebx
call fcn.004565e9
cmp byte [esi + 0x188], 0
je 0x45baa3
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x1000000
je 0x45ba92
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push esi
push 0xfffffffffffffffa
jmp 0x45ba9d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push ecx
push edx
push esi
push 0xfffffffffffffff4
push ebx
call fcn.004565e9
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x188], 0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45baba
mov dword [esi + 0x180], edi
cmp eax, dword [esi + 0x184]
je 0x45baec
cmp ecx, 1
jl 0x45baec
test eax, eax
je 0x45bad8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
push esi
push 0xfffffffffffffff7
jmp 0x45bae3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push esi
push 0xfffffffffffffff6
push ebx
call fcn.004565e9
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
je 0x45baf8
mov dword [esi + 0x184], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45e865
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040c040
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 1
call fcn.004129c0
mov esi, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0x14], 2
jb 0x45e8c0
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00457f8a
cmp word [eax], bx
je 0x45e8c0
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call fcn.00457f8a
mov edi, eax
call fcn.00410100
mov ebx, eax
cmp dword [ebp + 0x14], 3
jb 0x45e8dc
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00457f8a
mov edi, eax
call fcn.00410100
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jb 0x45e918
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.00457f8a
cmp word [eax], 0
je 0x45e918
mov edx, dword [esi + 4]
mov edi, dword [edx + 0xc]
push 0x29
push edi
call fcn.0045192e
test al, al
jne 0x45e918
push edi
call fcn.00457f69
push eax
lea esi, [ebp - 0x18]
call fcn.0040e580
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 5
jb 0x45e92f
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040ca20
movzx ecx, ax
mov dword [ebp - 8], ecx
push 0x3c
lea edx, [ebp - 0x54]
push 0
push edx
call fcn.004129c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.00457f8a
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test ebx, ebx
je 0x45e990
push ebx
call fcn.00411076
add esp, 4
test edi, edi
je 0x45e99d
push edi
call fcn.00411076
add esp, 4
test esi, esi
jne 0x45e9db
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
push 1
add eax, ecx
call fcn.004040c0
mov esi, dword [ebp + 0x18]
call fcn.00409370
mov dword [esi + 8], 1
mov dword [esi], 0
lea ecx, [ebp - 0x18]
call fcn.004023b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0xc], 0
je 0x45ea00
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x450], eax
lea ecx, [ebp - 0x18]
call fcn.004023b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 0x18]
call fcn.00409370
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x45e9c8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.004023b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14