joyce8/EMBER2024-capa huggingface dataset:
Function at 0x529c3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x529c53
add esp, 0xfffffff0
call fcn.00405634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00452234
mov eax, dword [0x57f568]
cmp byte [eax], 0
jne 0x529c80
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x57f9e0]
cmp word [eax + 2], 0
jne 0x529c9a
mov eax, dword [0x57f9e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052be30
mov eax, dword [0x57fb90]
cmp word [eax + 2], 0
jne 0x529cb4
mov eax, dword [0x57fb90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052c034
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x460c20]
call fcn.00466e98
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x52c5ac
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x465778]
call fcn.00470830
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x529e98
mov eax, dword [0x57f828]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00470cc0
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x52c894
mov dl, 1
mov eax, dword [0x4379f8]
call fcn.00404ff8
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x57f828]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f840
test eax, eax
je 0x529dc8
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041f5f0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f824
test eax, eax
je 0x529de0
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 + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407888
push ebx
push 0x52b808
call fcn.0051f6d0
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x57f568]
cmp byte [eax], 0
jne 0x529e31
mov eax, ebx
call fcn.0052a058
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0052cadc
mov eax, ebx
call fcn.0052d708
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x529e8e
call fcn.0040568c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52a390
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x52a43c
cmp dword [ebx + 0x98], 0
jne 0x52a436
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x52a2c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x52a436
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x52a3fc
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x52a436
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.0044503c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x52a40b
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x585314]
cmp dword [eax + 0x178], 0
je 0x52a7c1
test bl, bl
jne 0x52a70f
cmp dword [esi + 0xa0], 0
jne 0x52a704
mov eax, esi
call fcn.0052d558
push eax
push 0x52a568
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x52a6d5
mov eax, dword [0x585314]
cmp byte [eax + 0xd7], 0
je 0x52a6d5
mov eax, dword [esi + 0xdc]
call fcn.004089c4
mov edi, eax
cmp edi, 0
jl 0x52a6d5
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52a6be
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52a704
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0044503c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52a6e4
inc dword [esi + 0xa0]
jmp 0x52a7c1
cmp dword [esi + 0xa0], 0
jle 0x52a7c1
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x52a7c1
cmp dword [esi + 0x48], 0
je 0x52a76c
mov eax, dword [0x585314]
cmp byte [eax + 0xd7], 0
je 0x52a76c
mov eax, dword [esi + 0xdc]
call fcn.004089c4
mov edi, eax
cmp edi, 0
jl 0x52a76c
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52a755
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52a79b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0044503c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52a77b
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x51bf40]
call fcn.00408b70
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x52b414
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x52b47f
cmp byte [ebx + 0xd7], 0
jne 0x52b47f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406dfc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x52b46c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x52b48c
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407054
jmp 0x52b48c
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407054
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x52ccc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x52cd32
mov eax, esi
call fcn.00497244
test al, al
je 0x52cd32
mov eax, dword [ebx + 0x88]
call fcn.00496e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x52cd32
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x52cd26
push 0
mov eax, dword [ebx + 0x88]
call fcn.00496e90
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0048dc74
jmp 0x52cd32
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0052cafc
pop esi
pop ebx
ret
Function at 0x5336f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x53376e
mov eax, dword [ebx + 8]
call fcn.00496e90
mov ecx, eax
mov dl, 1
mov eax, dword [0x4a3da4]
call fcn.0049127c
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004a8f9c
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x532fec
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00496e90
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00496e90
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5337e4
mov eax, dword [ebx + 8]
call fcn.00496e90
mov ecx, eax
mov dl, 1
mov eax, dword [0x4a3da4]
call fcn.0049127c
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004a8f9c
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x533038
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00496e90
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00496e90
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x533850
mov eax, dword [ebx + 8]
call fcn.00496e90
mov ecx, eax
mov dl, 1
mov eax, dword [0x4a47e0]
call fcn.0049127c
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00496e90
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00496e90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x53a44c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5857a0], 0
jne 0x53a463
call fcn.0053a408
mov eax, edi
dec eax
test eax, eax
jl 0x53a48b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5853a0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x53a46d
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x53d15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x53d1f6.0
jmp dword [ecx*4 + 0x53d18f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53d1c1
sub dl, 8
je 0x53d1d0
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53ce28
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53ce7c
jmp case.0x53d1f6.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x53d1f6.0
movzx ecx, byte [ecx + 0x53d1fd]
jmp dword [ecx*4 + 0x53d20e]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53cf1c
cmp dl, 3
jne 0x53d23b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53cf74
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53cf30
add bl, ch
pushal
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53d266
sub dl, 8
je 0x53d272
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53cfe4
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53d048
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53d291
sub dl, 8
je 0x53d29d
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53d0f8
jmp case.0x53d1f6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53d120

Function at 0x53d348
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
Function at 0x544f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x544f58
add esp, 0xfffffff0
call fcn.00405634
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x545072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404530
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x54505c
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004ac778
xor eax, eax
push ebp
push 0x545049
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004ac778
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004078c4
jmp 0x54501a
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407bf0
mov eax, dword [ebx + 4]
call fcn.00407164
dec eax
jle 0x54502e
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x545008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545050
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545079
lea eax, [ebp - 4]
call fcn.00406cbc
ret

Function at 0x5460b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00545674
test byte [ebx + 0x2ad], 4
jne 0x54614d
mov edx, esp
mov eax, ebx
call fcn.0048d5e4
push esp
mov eax, ebx
call fcn.00496c28
push eax
push 0
mov eax, ebx
test eax, eax
je 0x5460ed
sub eax, 0xfffffd0c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x288]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x29c], 0
jne 0x54611e
mov ecx, dword [0x57f92c]
mov dl, 1
mov eax, dword [0x4ac0f4]
call fcn.0042405c
call fcn.004063a8
mov eax, ebx
call fcn.00546d48
cmp byte [ebx + 0x61], 0
jne 0x546154
mov eax, ebx
call fcn.00496e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x546154
push 0
mov eax, ebx
call fcn.00496e90
push eax
call sub.user32.dll_ShowWindow
jmp 0x546154
mov eax, ebx
call fcn.00492af8
add esp, 0x10
pop ebx
ret
Function at 0x55e00c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x55e134
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0055def8
mov eax, dword [esi]
call fcn.004089bc
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x418b98]
call fcn.00408b70
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404728
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404728
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004089bc
mov dword [ebp - 0xc], eax
mov eax, dword [0x57fd3c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0054ee90
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404b3c
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004089bc
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0054ee6c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.0054ee4c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0054ee88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e13b
lea eax, [ebp - 4]
mov edx, dword [0x418b98]
call fcn.00408b7c
ret
Function at 0x56a59c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d58
xor eax, eax
push ebp
push 0x56a6ac
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x56a68c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004077dc
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
mov eax, ebx
call fcn.00404564
mov esi, eax
push esi
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x56a6bc
push esi
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [ebp - 0xa], dx
movzx edx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0xc], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0xe], dx
movzx edi, word [eax + 0xc]
and di, 0xffff
mov edx, ebx
mov eax, esi
call fcn.00404580
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
movzx eax, word [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
movzx eax, word [ebp - 0xe]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
movzx eax, di
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x56a6cc
call fcn.0041fb10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a696
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a6b3
lea eax, [ebp - 4]
call fcn.00406c74
ret

Function at 0x56a9d4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, edx
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041f928
add esp, 0x208
pop ebx
ret
Function at 0x56aff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb24
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4dc], ecx
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d58
xor eax, eax
push ebp
push 0x56b198
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
cmp dword [ebp - 4], 0
je 0x56b16d
lea eax, [ebp - 0x40a]
push eax
push 0x3e8
call sub.kernel32.dll_GetLogicalDriveStringsW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x56b162
mov ebx, 1
cmp ebx, dword [ebp - 0x20]
jge 0x56b162
cmp word [ebp + ebx*2 - 0x40c], 0x41
je 0x56b07f
cmp word [ebp + ebx*2 - 0x40c], 0x42
jne 0x56b087
add ebx, 4
jmp 0x56b159
movzx eax, word [ebp + ebx*2 - 0x40c]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp + ebx*2 - 0x40a]
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], 0
push 0x64
lea eax, [ebp - 0x4d2]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x56b16d
lea edx, [ebp - 8]
lea eax, [ebp - 0x4d2]
call fcn.0041f928
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040709c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040709c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00455acc
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 1
jne 0x56b156
lea edx, [ebp - 0x4d8]
lea eax, [ebp - 0x1c]
call fcn.0041f928
mov edx, dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x14]
call fcn.00407054
mov esi, dword [ebp - 8]
test esi, esi
je 0x56b11f
sub esi, 4
mov esi, dword [esi]
mov edi, dword [ebp - 4]
test edi, edi
je 0x56b12b
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x4dc]
push eax
lea edx, [esi + 1]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.00407ba8
mov edx, dword [ebp - 0x4dc]
mov eax, dword [ebp - 0x14]
call fcn.004079e0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x15], 1
jmp 0x56b16d
add ebx, 4
cmp ebx, dword [ebp - 0x20]
jl 0x56b069
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b19f
lea eax, [ebp - 0x4dc]
mov edx, 2
call fcn.00406cd4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406cd4
ret

Function at 0x56b1b4
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x56b246
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0x104
lea eax, [ebp - 0x20e]
push eax
push ebx
call sub.psapi_GetProcessImageFileNameW
test eax, eax
je 0x56b22d
push ebx
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x20e]
call fcn.0041f928
mov eax, dword [ebp - 0x214]
mov edx, esi
call fcn.0056aff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b24d
lea eax, [ebp - 0x214]
call fcn.00406c74
ret
Function at 0x56d198
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d58
lea edi, [ebp - 0x230]
xor eax, eax
push ebp
push 0x56d300
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.005361b4
mov esi, eax
mov dword [edi], 0x22c
mov edx, edi
mov eax, esi
call fcn.005361d4
mov ebx, eax
jmp 0x56d2d2
lea eax, [ebp - 0x23c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00407888
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0041f428
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.0041dd2c
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.0041dd2c
mov edx, dword [ebp - 0x240]
pop eax
call fcn.00407b70
je 0x56d2b2
lea eax, [ebp - 0x248]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00407888
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.0041dd2c
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.0041dd2c
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.00407b70
jne 0x56d2c7
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.005361f4
mov ebx, eax
test ebx, ebx
jne 0x56d213
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d307
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.00406cd4
lea eax, [ebp - 4]
call fcn.00406c74
ret

Function at 0x56da5c
Capabilities:
Create process on windows
Get common file path
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x56db51
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x80a]
push eax
push 0
push 0
push 0x25
push 0
call sub.shell32.dll_SHGetFolderPathW
lea edx, [ebp - 4]
lea eax, [ebp - 0x80a]
call fcn.0041f928
lea eax, [ebp - 8]
mov ecx, 0x56db68
mov edx, dword [ebp - 4]
call fcn.00407a38
push 5
push 0x56db84
push 0x56db88
mov eax, dword [ebp - 8]
call fcn.004077dc
push eax
push 0x56dbd8
push 0
call sub.shell32.dll_ShellExecuteW
push 0x3e8
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x12
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x43
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x43
call sub.user32.dll_keybd_event
push 0x1f4
call sub.kernel32.dll_Sleep_2
push 0
push 2
push 0
push 0x43
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x43
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x12
call sub.user32.dll_keybd_event
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56db58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cd4
ret