joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417d80
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x10]
push 0x419
push dword [ebp + 0xc]
call esi
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x41d
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret

Function at 0x4181e4
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4396ac
call fcn.00437bf0
sub esp, 0x20
push ebx
push esi
push str.runas
lea ecx, [ebp - 0x10]
call fcn.00402d79
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x14]
call fcn.00402cdf
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call sub.MSVCRT.dll_wcscmp
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x14]
inc bl
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402cb3
test bl, bl
jne 0x418287
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
call fcn.00418757
cmp dword [ebp + 0xc], 0
pop ecx
je 0x418287
lea ecx, [ebp - 0x2c]
call fcn.004182ab
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.004183be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0041860a
mov eax, esi
jmp 0x41829d
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x418690
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4397f4
call fcn.00437bf0
sub esp, 0x20
push ebx
push esi
push str.runas
lea ecx, [ebp - 0x10]
call fcn.00402d79
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x14]
call fcn.00402cdf
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call sub.MSVCRT.dll_wcscmp
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x14]
inc bl
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402cb3
test bl, bl
jne 0x418733
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
call fcn.00418757
cmp dword [ebp + 0xc], 0
pop ecx
je 0x418733
lea ecx, [ebp - 0x2c]
call fcn.004182ab
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.004183be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0041860a
mov eax, esi
jmp 0x418749
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41968e
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0xc], 0
je 0x4196b5
push 0x4040
push 1
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xffffffffffffffff
push dword [0x4696e4]
call dword [sym.imp.USER32.dll_SetWindowPos]
ret
push 0
push dword [0x4696e4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x4196c4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x419725
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 4]
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41971d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [esp + 0x10]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret
Function at 0x419833
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xc
pop ecx
xor eax, eax
mov edi, esi
push 0x5b
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ebx, 0x8000
push 1
test ebx, eax
pop ebp
je 0x41985a
mov dword [esi], ebp
push 0x5c
call edi
test ebx, eax
je 0x419865
mov dword [esi + 4], ebp
push 0xa5
call edi
test ebx, eax
je 0x419873
mov dword [esi + 8], ebp
push 0xa4
call edi
test ebx, eax
je 0x419881
mov dword [esi + 0xc], ebp
push 0x12
call edi
test ebx, eax
je 0x41988c
mov dword [esi + 0x10], ebp
push 0x11
call edi
test ebx, eax
je 0x419897
mov dword [esi + 0x14], ebp
push 0xa3
call edi
test ebx, eax
je 0x4198a5
mov dword [esi + 0x18], ebp
push 0xa2
call edi
test ebx, eax
je 0x4198b3
mov dword [esi + 0x1c], ebp
push ebp
call edi
test ebx, eax
je 0x4198bd
mov dword [esi + 0x20], ebp
push 4
call edi
test ebx, eax
je 0x4198c8
mov dword [esi + 0x24], ebp
push 2
call edi
test ebx, eax
je 0x4198d3
mov dword [esi + 0x28], ebp
cmp dword [esi], 0
mov edi, dword [sym.imp.USER32.dll_keybd_event]
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, 0x1bc
je 0x4198fd
push ebp
push 2
push 0
push 0x5b
call ebx
push eax
push 0x5b
call edi
mov dword [esi], 1
cmp dword [esi + 4], 0
je 0x419918
push ebp
push 2
push 0
push 0x5c
call ebx
push eax
push 0x5c
call edi
mov dword [esi + 4], 1
cmp dword [esi + 8], 0
je 0x419939
push ebp
push 2
push 0
push 0xa5
call ebx
push eax
push 0xa5
call edi
mov dword [esi + 8], 1
cmp dword [esi + 0xc], 0
je 0x41995a
push ebp
push 2
push 0
push 0xa4
call ebx
push eax
push 0xa4
call edi
mov dword [esi + 0xc], 1
cmp dword [esi + 0x14], 0
je 0x419975
push ebp
push 2
push 0
push 0x11
call ebx
push eax
push 0x11
call edi
mov dword [esi + 0x14], 1
cmp dword [esi + 0x18], 0
je 0x419996
push ebp
push 2
push 0
push 0xa3
call ebx
push eax
push 0xa3
call edi
mov dword [esi + 0x18], 1
cmp dword [esi + 0x1c], 0
je 0x4199b7
push ebp
push 2
push 0
push 0xa2
call ebx
push eax
push 0xa2
call edi
mov dword [esi + 0x1c], 1
cmp dword [esi + 0x20], 0
je 0x4199d2
push ebp
push 2
push 0
push 1
call ebx
push eax
push 1
call edi
mov dword [esi + 0x20], 1
cmp dword [esi + 0x24], 0
je 0x4199ed
push ebp
push 2
push 0
push 4
call ebx
push eax
push 4
call edi
mov dword [esi + 0x24], 1
cmp dword [esi + 0x28], 0
je 0x419a08
push ebp
push 2
push 0
push 2
call ebx
push eax
push 2
call edi
mov dword [esi + 0x28], 1
cmp dword [esi + 0x10], 0
je 0x419a23
push ebp
push 3
push 0
push 0x12
call ebx
push eax
push 0x12
call edi
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x419a2a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push 0x1bc
cmp dword [ebp + 0xc], eax
jne 0x419a3c
push eax
jmp 0x419a3e
push 2
push eax
movzx eax, byte [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_keybd_event]
pop ebp
ret
Function at 0x419ae0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x4398f4
call fcn.00437bf0
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x419be9
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push 0xd
call esi
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
je 0x419b6e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x419be1
mov ecx, dword [ebp + 8]
lea eax, [esi + 2]
push eax
call fcn.00403003
mov edi, eax
cmp edi, ebx
je 0x419b63
push esi
push dword [ebp - 0x14]
push edi
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [edi + esi]
push 0xffffffffffffffff
mov byte [eax], bl
mov byte [eax + 1], bl
call fcn.0040306b
push 1
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x419be1
push 1
call esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x419be1
mov eax, dword [0x444130]
mov dword [ebp - 0x14], eax
lea eax, [esi + 2]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.00403003
mov edi, eax
cmp edi, ebx
je 0x419bc9
push esi
push dword [ebp - 0x18]
push edi
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [edi + esi]
push edi
mov byte [eax], bl
mov byte [eax + 1], bl
call fcn.00402ee2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
lea ecx, [ebp - 0x14]
call fcn.00402cb3
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x419bf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push edi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
or ah, 2
mov ecx, 0x1ff
mov dword [ebp - 0x38], eax
mov eax, dword [0x45689c]
mov dword [ebp - 0x83c], eax
xor eax, eax
lea edi, [ebp - 0x838]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x83c]
push edx
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x83c]
push 0x2e
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
pop ecx
pop edi
test eax, eax
je 0x419c75
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret
Function at 0x41a0fc
Capabilities:
Open clipboard

Disassembly:
mov eax, 0x439958
call fcn.00437bf0
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], ebx
call fcn.00402cdf
push ebx
push str.replace:
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004030c9
test eax, eax
jne 0x41a2c7
mov eax, dword [0x444130]
mov dword [ebp - 0x14], eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41a158
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.004197e2
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
lea eax, [ebp - 0x14]
push eax
call fcn.00419ae0
pop ecx
mov esi, 0x4561e8
push esi
push 0x4442f4
lea ecx, [ebp + 8]
call fcn.0040348c
push 0x4442b4
push 0x45478c
lea ecx, [ebp + 8]
call fcn.0040348c
push esi
push str._nc_
lea ecx, [ebp + 8]
call fcn.0040348c
mov eax, dword [0x444130]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push 1
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x20], ebx
push eax
call fcn.0041a9a3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push 1
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041a9a3
add esp, 0x20
test eax, eax
je 0x41a29f
push ebx
push 0x4547e8
lea ecx, [ebp - 0x10]
call fcn.004030c9
mov esi, eax
cmp esi, 0xffffffff
je 0x41a25b
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e5d1
add esi, 2
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040e505
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
call fcn.0041a05d
lea eax, [ebp - 0x18]
push eax
call fcn.0041a05d
pop ecx
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.0040348c
add dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402cb3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00402cb3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push 1
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041a9a3
add esp, 0x10
test eax, eax
jne 0x41a1e4
cmp dword [ebp - 0x24], ebx
je 0x41a29f
push 0x19
call edi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00402c6d
call fcn.00419726
push 0x14
call fcn.00419a9b
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402cb3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402cb3
push 1
pop eax
jmp 0x41a2d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402cb3
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41afa2
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
mov eax, 0x439a98
call fcn.00437bf0
sub esp, 0x820
push ebx
push esi
push edi
push str._plain_text_to_tmp_html_
lea ecx, [ebp - 0x1c]
call fcn.00402d79
mov ecx, dword [ebp + 8]
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x1c]
call fcn.004030c9
test eax, eax
jl 0x41b1be
push 0x4561f0
lea ecx, [ebp - 0x10]
call fcn.00402d79
mov byte [ebp - 4], 1
call fcn.004197e2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10]
push eax
call fcn.00419ae0
mov eax, dword [ebp - 0x10]
pop ecx
mov eax, dword [eax - 8]
cmp eax, 2
jge 0x41b01e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00402cb3
jmp 0x41b1be
mov eax, dword [0x45689c]
mov ecx, 0x1ff
mov dword [ebp - 0x82c], eax
xor eax, eax
lea edi, [ebp - 0x828]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x82c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x13
call fcn.004163d6
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00402cdf
push 0x445490
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00402d79
mov esi, dword [eax]
push 0x445d3c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402d79
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040348c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00402cb3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00402cb3
lea eax, [ebp - 0x82c]
push str.to_html_
push eax
call sub.MSVCRT.dll_wcscat
push dword [ebp - 0x18]
lea eax, [ebp - 0x82c]
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x82c]
push str..html
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x18
lea ecx, [ebp - 0x14]
push str.__pre_
call fcn.00402d79
push str._pre_
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00402d79
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00407449
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407449
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00402cb3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00402cb3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00402cb3
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00402c6d
push ecx
lea eax, [ebp - 0x82c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.00402cdf
mov byte [ebp - 4], 9
call fcn.004179ea
pop ecx
lea eax, [ebp - 0x82c]
pop ecx
push 5
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00402cb3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402cb3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00402cb3
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41da9c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x439e44
call fcn.00437bf0
sub esp, 0xc
push esi
xor esi, esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [ebp + 8]
push eax
call fcn.004263b5
pop ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41db4f
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00402c6d
call fcn.0041da34
pop ecx
cmp eax, esi
pop ecx
jne 0x41db4d
lea eax, [ebp - 0x10]
push 1
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x41db13
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x41db1f
push dword [ebp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
jmp 0x41db3c
push 1
mov ecx, 0x470598
push dword [ebp + 8]
call fcn.00435400
cmp eax, esi
je 0x41db4f
push dword [ebp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
lea eax, [ebp + 8]
push eax
call fcn.00402c6d
call fcn.0041d9d7
add esp, 0xc
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x41e8bc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, edi
mov ebx, eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [ebp - 0xc], eax
call esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_GetFocus]
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ClientToScreen]
push edi
push dword [ebp - 0xc]
push ebx
call esi
cmp dword [ebp - 4], edi
je 0x41e986
cmp dword [ebp - 0x14], edi
jne 0x41e940
lea eax, [ebp - 0x10]
test eax, eax
je 0x41e986
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
call esi
push eax
push 0x4e
call esi
push eax
push 0x4d
call esi
push eax
push 0x4c
call esi
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41e986
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ebee
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
xor edi, edi
call esi
test ax, ax
jge 0x41ec04
push 1
pop edi
push 0x11
call esi
test ax, ax
jge 0x41ec0f
inc edi
inc edi
push 0x12
call esi
test ax, ax
jge 0x41ec1b
add edi, 4
push 0x5b
call esi
test ax, ax
jge 0x41ec27
add edi, 8
push 0x5c
call esi
test ax, ax
jge 0x41ec33
add edi, 0x10
mov eax, edi
pop edi
pop esi
ret
Function at 0x41f166
Capabilities:
Get common file path
Get geographical location

Disassembly:
mov ecx, 0x4579a8
jmp 0x41f151
mov eax, 0x439f42
call fcn.00437bf0
mov eax, 0x1008
call fcn.00437c10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.00406ae0
mov al, byte [ebp - 0xd]
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], edi
and byte [ecx + 8], 0
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
call fcn.0042c927
mov al, byte [ebp - 0xd]
and byte [esi + 0x38], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
call fcn.0042c927
mov al, byte [ebp - 0xd]
and byte [esi + 0x48], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
call fcn.0042cdc4
mov dword [esi + 0x860], edi
mov dword [esi + 0x864], edi
mov dword [esi + 0x868], edi
lea eax, [esi + 0x60]
mov dword [esi + 0x86c], edi
mov ebx, 0x400
mov dword [esi], 0x43cdb8
mov dword [esi + 4], edi
push eax
mov dword [0x48068c], esi
push ebx
mov dword [esi + 0x890], edi
mov dword [esi + 0x89c], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0x1ff
mov word [ebp - 0x814], di
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x812]
and word [ebp - 0x1014], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x1012]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x814]
push eax
push 0x1001
push ebx
call edi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1014]
push eax
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x814]
push eax
push 0x1002
push ebx
call edi
lea eax, [ebp - 0x814]
push eax
call sub.MSVCRT.dll_wcslen
test eax, eax
pop ecx
je 0x41f2ad
lea eax, [ebp - 0x1014]
push 0x454950
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1014]
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x814]
push ebx
push eax
push 0x1004
push 0x800
call edi
lea eax, [ebp - 0x814]
push eax
call sub.MSVCRT.dll_wcslen
test eax, eax
pop ecx
je 0x41f2f9
lea eax, [ebp - 0x1014]
push 0x454eb8
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1014]
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x1014]
push eax
push 0
call sub.MSVCRT.dll__wsetlocale
pop ecx
mov eax, esi
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41f708
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, 0x454ebc
push 0
mov esi, ecx
push edi
call fcn.0040f51e
pop ecx
test eax, eax
pop ecx
jne 0x41f747
push 1
push edi
call fcn.0040f4f6
push 0x33
call fcn.004166bc
push 0x34
mov edi, eax
call fcn.004166bc
add esp, 0x10
push 0x40
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x457188
call fcn.00434de8
pop edi
pop esi
ret
Function at 0x41f885
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00426527
cmp dword [0x4806ec], 0
je 0x41f89f
mov ecx, esi
call fcn.0041f708
jmp 0x41f8c2
cmp dword [0x4546b0], 0
je 0x41f8c7
push 1
mov ecx, 0x457188
push dword [esi + 4]
call fcn.00434ffc
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
jmp 0x41f8ea
mov ecx, esi
call fcn.00427ecb
push 0x6f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, esi
call fcn.004265a4
xor eax, eax
pop esi
ret 0x10

Function at 0x41f8ee
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
and dword [eax], 0
cmp word [esp + 0xc], 0xf020
jne 0x41f941
push ebx
mov dword [eax], 1
call fcn.00426527
cmp dword [0x4546ac], 0
je 0x41f93b
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, ebx
jne 0x41f93b
push 1
push ebx
mov ecx, 0x457188
call fcn.00434ffc
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
pop ebx
jmp 0x41f943
xor eax, eax
pop esi
ret 0x10