joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov cl, 0x74
mov eax, dword [0x4d9540]
mov byte [esp + 5], cl
mov byte [esp + 6], cl
mov cl, 0x77
push ebx
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], cl
mov cl, 0x2e
mov byte [esp + 0x12], cl
mov byte [esp + 0x19], cl
lea ecx, [esp + 8]
push ebp
mov dl, 0x2f
push esi
test ecx, ecx
push edi
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0x68
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x3a
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1f], 0x73
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x22], 0x66
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x26], 0x64
mov byte [esp + 0x27], 0x65
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0
je 0x4884e7
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [esp + 0x10]
jmp 0x4884e9
xor esi, esi
mov ecx, dword [eax - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 1
cmp ecx, edi
jg 0x488500
cmp esi, dword [eax - 4]
jle 0x48851b
lea ecx, [esp + 0x10]
call fcn.0040e950
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x488567
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
mov esi, eax
test ecx, ecx
jne 0x488528
test eax, eax
jne 0x488546
push ecx
push eax
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x488546
mov word [esi + eax*2 - 2], 0
lea ecx, [esp + 0x10]
call fcn.00401380
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x488585
push ecx
mov dword [ebp], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4885e2
mov edx, dword [0x4d9540]
mov esi, eax
test eax, eax
mov dword [ebp], edx
jne 0x488598
xor ebx, ebx
jmp 0x48859d
push eax
call ebx
mov ebx, eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], edi
jg 0x4885aa
cmp ebx, dword [eax - 4]
jle 0x4885bd
mov ecx, ebp
call fcn.0040e950
push ebx
mov ecx, ebp
call fcn.004012f0
test eax, eax
je 0x4885e2
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x488611
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x488611
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x48b410
Capabilities:
Create process on windows

Disassembly:
sub esp, 8
mov eax, dword [0x4d9540]
mov ecx, str.online
push esi
push edi
test ecx, ecx
mov dword [esp + 8], eax
je 0x48b47c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x48b47c
push esi
lea ecx, [esp + 0xc]
call fcn.004012f0
test eax, eax
je 0x48b47c
mov ecx, dword [esp + 8]
lea eax, [esi + 1]
test eax, eax
mov esi, ecx
jne 0x48b453
test ecx, ecx
jne 0x48b471
push eax
push ecx
push 0xffffffffffffffff
push str.online
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x48b471
mov word [esi + eax*2 - 2], 0
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00401970
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x14]
push ebx
push edx
push esi
call fcn.004c5509
mov edx, dword [0x4d9544]
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
mov eax, dword [esp + 0xc]
sete bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48b4c5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x48b4c5
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
test bl, bl
pop ebx
jne 0x48b5bd
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00489e70
mov ecx, dword [0x4d9540]
mov edx, str._help
add esp, 8
mov dword [esp + 0x14], ecx
test edx, edx
jne 0x48b4f4
xor eax, eax
jmp 0x48b4ff
push str._help
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi - 8]
push esi
push ecx
push str._help
push eax
lea ecx, [esp + 0x24]
call fcn.004017b0
lea edx, [esp + 0x14]
lea ecx, [esp + 8]
push edx
call fcn.00401200
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48b54c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x48b54c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 3
push 0
push eax
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 8]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x48b592
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x48b592
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48b5bd
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x48b5bd
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov ecx, dword [0x4d9544]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x48b5dd
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x48b5dd
push esi
call fcn.004c5432
add esp, 4
pop edi
pop esi
add esp, 8
ret
Function at 0x48c0e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48c158
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x48c130
call edi
cmp eax, 3
je 0x48c130
mov ecx, dword [0x4d9544]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x48c12a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48c12a
push esi
call fcn.004c5432
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [0x4d9544]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x48c153
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48c153
push esi
call fcn.004c5432
add esp, 4
pop edi
xor eax, eax
pop esi
ret
test al, 0x10
je 0x48c187
mov eax, dword [0x4d9544]
lea edx, [esi - 0xc]
cmp edx, eax
je 0x48c17f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48c17f
push esi
call fcn.004c5432
add esp, 4
pop edi
mov eax, 2
pop esi
ret
mov ecx, dword [0x4d9544]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x48c1ab
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48c1ab
push esi
call fcn.004c5432
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x490f20
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
and edi, 0xffff
push 1
push edi
mov eax, dword [esi + 0x23c]
push 0x403
push eax
call ebp
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [esi + 0x23c]
push 0
push edi
push 0x419
push ecx
mov ebx, eax
call ebp
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esi + 0x23c]
push 0x41d
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x23c]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x30]
push 0x3ff
push edx
call fcn.0048eb30
mov eax, dword [eax]
add esp, 8
push eax
push 0x3e8
push 0
push ebx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [esp + 0x30]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x490feb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x490feb
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esi + 0x1d8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x3e8
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push ecx
push 0
push edx
push eax
push 0x102
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x49106b
mov eax, dword [esi + 0x1d8]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x1d8], ecx
mov ecx, esi
call fcn.00490c60
mov edx, dword [esi + 0x1d8]
push 0
push edx
push 0x4de560
push str.Search
call fcn.00480e00
mov ecx, dword [esi + 0x190]
add esp, 0x10
test ecx, ecx
je 0x49106b
call fcn.0047ce00
mov eax, dword [esi + 0x23c]
push 0
push edi
push 0x403
push eax
call ebp
test ebx, ebx
je 0x491087
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 0x10
Function at 0x497fc0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x808
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
mov esi, dword [esp + 0x818]
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
xor edi, edi
push 0xb0
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x498050
cmp dword [esp + 0x10], edi
jne 0x498050
mov edx, dword [0x4e3a2c]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], edx
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
push 0x2e
push ecx
call fcn.004c609a
add esp, 8
test eax, eax
je 0x4980ab
lea edx, [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
jmp 0x4980a1
mov eax, dword [0x4e3a2c]
mov ecx, 0x1ff
mov dword [esp + 0x18], eax
xor eax, eax
lea edi, [esp + 0x1c]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0x18]
push 0x2e
push edx
call fcn.004c609a
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
jne 0x49809f
test eax, eax
je 0x4980ab
lea ecx, [esp + 0x18]
push ebp
sub eax, ecx
sar eax, 1
inc eax
push eax
jmp 0x4980a3
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
Function at 0x499670
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, dword [esi]
push ebx
push 0x419
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x440
push edx
mov ebp, eax
mov dword [esp + 0x30], 0x20
mov dword [esp + 0x34], 8
mov byte [esp + 0x41], 1
call edi
mov edx, dword [esi]
mov ax, word [esp + 0x48]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x20
push ecx
push ebx
push 0x440
push edx
mov dword [esp + 0x34], 0x40
mov word [esp + 0x42], ax
call edi
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x41d
push ecx
call edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x4a2560
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0xaffe
mov eax, dword [esi + 4]
mov dword [esi], 0x4d4bd8
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret

Function at 0x4a27c0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4edfb0]
mov edx, dword [esp + 8]
mov dword [esp], 0
mov dword [eax + 0x20], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4a27a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x4edfb0]
mov dword [ecx + 4], eax
pop ecx
ret 4

Function at 0x4a2820
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0xaffe
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x4a8c2a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x3c
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x4a8ced
push eax
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x4a8ced
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 8]
push eax
call ebx
mov ecx, dword [0x4ee160]
mov dword [esi + 0x10], ecx
mov edx, dword [0x4ee15c]
mov eax, ecx
mov dword [esi + 0x14], edx
test eax, eax
jne 0x4a8c71
mov eax, dword [esi + 0x60]
test eax, eax
mov dword [esi + 0x10], eax
je 0x4a8ced
push edi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x40]
mov dword [esp + 0x1c], 0x2c
push ecx
mov dword [esp + 0x24], 0x31
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4ee160]
push edx
mov edx, dword [esi + 0x50]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MenuItemFromPoint]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 1
push eax
push edx
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0x3c]
test eax, eax
mov edi, eax
je 0x4a8ce5
lea eax, [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
mov ecx, esi
call fcn.004aa000
mov dword [esi + 0x10], 0
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 0xc
Function at 0x4acc20
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4d9540]
push ebx
push ebp
push esi
mov edx, dword [esp + 0x2cc]
push edi
mov dword [esp + 0x10], eax
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
push 0x208
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x2b4
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4accd7
lea eax, [esp + 0x20]
test eax, eax
jne 0x4acc7c
xor ebx, ebx
jmp 0x4acc85
lea ecx, [esp + 0x20]
push ecx
call ebp
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x4acc94
cmp ebx, dword [edi - 4]
jle 0x4accaf
lea ecx, [esp + 0x10]
call fcn.0040e950
push ebx
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4accd7
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x20]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2cc]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x4accf7
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4acd51
mov ecx, dword [0x4d9540]
mov esi, eax
test eax, eax
mov dword [ebx], ecx
jne 0x4acd09
xor ebp, ebp
jmp 0x4acd0e
push eax
call ebp
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x4acd1b
cmp ebp, dword [eax - 4]
jle 0x4acd2e
mov ecx, ebx
call fcn.0040e950
push ebp
mov ecx, ebx
call fcn.004012f0
test eax, eax
je 0x4acd51
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4acd80
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4acd80
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x2b8
ret

Function at 0x4ada30
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
mov edx, ecx
mov ecx, 0xad
xor eax, eax
push edi
lea edi, [esp + 4]
mov edx, dword [edx + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2bc]
lea ecx, [esp + 4]
or eax, 0x4008
push eax
push 0x2b4
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 8]
pop edi
add esp, 0x2b4
ret 4
Function at 0x4ada80
Capabilities:
Get common file path

Disassembly:
mov eax, dword [ecx + 4]
push esi
lea esi, [ecx + 4]
test eax, eax
je 0x4adad3
mov eax, dword [0x4e3a58]
test eax, eax
jne 0x4adaa1
push 0x4e3a58
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
jmp 0x4adaa7
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [esi]
mov dword [esi], 0
mov eax, dword [0x4e3a58]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [0x4e3a58]
test eax, eax
je 0x4adad3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test eax, eax
jne 0x4adad3
mov dword [0x4e3a58], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push esi
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
pop esi
ret 8
Function at 0x4b4b50
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
jge 0x4b4b68
mov esi, 1
push 0x11
call edi
test ax, ax
jge 0x4b4b74
add esi, 2
push 0x12
call edi
test ax, ax
jge 0x4b4b80
add esi, 4
mov eax, esi
pop edi
pop esi
ret

Function at 0x4b50e0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x4b4
push esi
push edi
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x20c]
mov dword [esp + 0x208], 0
rep stosd dword es:[edi], eax
mov eax, dword [0x4e3a2c]
mov ecx, 0x7f
mov dword [esp + 8], eax
xor eax, eax
lea edi, [esp + 0xc]
push 0xff
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [esp + 0x4c0]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test esi, esi
je 0x4b5157
push 0x4000
lea edx, [esp + 0x20c]
push 0x2b4
push edx
lea eax, [esp + 0x14]
push 0
push eax
call edi
mov dword [esi], eax
mov esi, dword [esp + 0x4c4]
test esi, esi
je 0x4b517f
push 0x4001
lea ecx, [esp + 0x20c]
push 0x2b4
push ecx
lea edx, [esp + 0x14]
push 0
push edx
call edi
mov dword [esi], eax
pop edi
mov eax, 1
pop esi
add esp, 0x4b4
ret
Function at 0x4bc1f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4bc23a
mov eax, dword [esi + 4]
push 0x23
push 0x4daea0
push str.Save_the_changes__
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
je 0x4bc235
cmp eax, 6
jne 0x4bc235
mov ecx, dword [esi + 4]
push 0
push 0x3fb
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
ret 0x10
cmp eax, 2
je 0x4bc250
mov dword [0x4ecd28], 0
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x4bf560
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
mov ecx, 0xad
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c0]
pop edi
test eax, eax
mov eax, dword [esp + 0x2c0]
je 0x4bf5a2
neg eax
sbb eax, eax
lea ecx, [esp]
and eax, 2
or eax, 0x4011
push eax
push 0x2b4
push ecx
push 0x10
jmp 0x4bf5be
neg eax
sbb eax, eax
lea ecx, [esp]
and eax, 2
or eax, 0x4011
push eax
push 0x2b4
push ecx
push 0x80
mov edx, dword [esp + 0x2c8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 4]
add esp, 0x2b4
ret

Function at 0x4bf6c0
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edx, dword [0x4f2790]
sub esp, 0x2b8
xor eax, eax
push esi
mov esi, dword [esp + 0x2c0]
test edx, edx
push edi
jle 0x4bf6f1
mov ecx, dword [0x4f2788]
cmp dword [ecx], esi
je 0x4bf7c9
inc eax
add ecx, 4
cmp eax, edx
jl 0x4bf6e1
lea edx, [esp + 8]
mov dword [esp + 8], 0
push edx
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, 0xad
xor eax, eax
lea edi, [esp + 0xc]
mov edx, dword [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c8]
lea ecx, [esp + 0xc]
or eax, 0x4008
push eax
push 0x2b4
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x10]
push 0
push eax
call fcn.004bf5e0
mov ecx, dword [0x4f2790]
mov edi, eax
mov eax, dword [0x4f2788]
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.004c58b3
add esp, 0x10
test eax, eax
je 0x4bf7be
mov ecx, dword [0x4f2790]
mov dword [0x4f2788], eax
mov eax, dword [0x4f278c]
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.004c58b3
add esp, 8
test eax, eax
je 0x4bf7be
mov edx, dword [0x4f2788]
mov dword [0x4f278c], eax
mov eax, dword [0x4f2790]
inc eax
mov dword [0x4f2790], eax
lea ecx, [eax*4 - 4]
lea eax, [ecx + edx]
test eax, eax
je 0x4bf7b1
mov dword [eax], esi
mov eax, dword [0x4f278c]
add eax, ecx
test eax, eax
je 0x4bf7be
mov dword [eax], edi
mov eax, edi
pop edi
pop esi
add esp, 0x2b8
ret
cmp eax, 0xffffffff
je 0x4bf6f1
mov ecx, dword [0x4f278c]
pop edi
pop esi
mov eax, dword [ecx + eax*4]
add esp, 0x2b8
ret