joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adbd
Capabilities:
Identify system language via api

Disassembly:
push ebp
push ebx
call fcn.0048bfd0
call fcn.0040805a
push 0x2f
push 0
call fcn.0041ba79
push 0xffffffec
push 0x2d
call fcn.0046d39a
push eax
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
or ebx, 0x20
push ebx
push 0xffffffec
push 0x2d
call fcn.0046d39a
push eax
call sub.USER32.dll_SetWindowLongW
push 0x5a
call fcn.004845ad
push eax
mov eax, 0x546028
push eax
push 0
push 5
call fcn.0047081a
push 0x17
call fcn.004845ad
push eax
mov eax, 0x546028
push eax
push 1
push 5
call fcn.0047081a
push 8
call fcn.004845ad
push eax
mov eax, 0x546028
push eax
push 2
push 5
call fcn.0047081a
mov ebp, dword [0x61c524]
mov ebx, dword [ebp + 0x24]
cmp ebx, 1
jne 0x40af1f
call sub.KERNEL32.dll_GetUserDefaultLangID
mov ebx, eax
and ebx, 0x3ff
push ebx
mov ebx, 4
cmp ebx, dword [esp]
jne 0x40aebe
mov eax, 0x55d712
push eax
call fcn.0040b37e
push 2
push 5
call fcn.0046c20d
mov eax, 0x55d712
push eax
push 5
call fcn.0046d1ed
jmp 0x40af1e
mov ebx, 9
cmp ebx, dword [esp]
jne 0x40aef4
mov eax, str.English
push eax
call fcn.0040b37e
push 1
push 5
call fcn.0046c20d
mov eax, str.English
push eax
push 5
call fcn.0046d1ed
jmp 0x40af1e
mov eax, 0x54769a
push eax
call fcn.0040b37e
push 0
push 5
call fcn.0046c20d
mov eax, 0x54769a
push eax
push 5
call fcn.0046d1ed
pop eax
mov ebp, dword [0x61c524]
mov ebx, dword [ebp + 0x24]
xor ebx, 1
and ebx, ebx
je 0x40afdd
mov ebp, dword [0x61c504]
push dword [ebp]
mov edx, 0x55d712
mov ecx, dword [esp]
call fcn.00442340
je 0x40af77
mov eax, 0x55d712
push eax
call fcn.0040b37e
push 2
push 5
call fcn.0046c20d
mov eax, 0x55d712
push eax
push 5
call fcn.0046d1ed
jmp 0x40afdc
mov edx, str.English
mov ecx, dword [esp]
call fcn.00442340
je 0x40afb2
mov eax, str.English
push eax
call fcn.0040b37e
push 1
push 5
call fcn.0046c20d
mov eax, str.English
push eax
push 5
call fcn.0046d1ed
jmp 0x40afdc
mov eax, 0x54769a
push eax
call fcn.0040b37e
push 0
push 5
call fcn.0046c20d
mov eax, 0x54769a
push eax
push 5
call fcn.0046d1ed
pop eax
call fcn.00409556
call fcn.004061c9
call fcn.0043c979
mov ebp, dword [0x61c524]
mov ebx, dword [ebp + 0x24]
cmp ebx, 1
jne 0x40b001
call fcn.004297fc
jmp 0x40affa
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x41be55
Capabilities:
Get common file path

Disassembly:
xor eax, eax
push eax
push eax
call fcn.0048bfd0
push dword [esp + 0x14]
call fcn.00442320
lea eax, [esp]
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call sub.SHELL32.dll_SHGetKnownFolderPath
cmp dword [esp], 0
je 0x41beae
push edx
call fcn.0048be60
pop edx
push eax
push edx
call fcn.0048be60
pop edx
push eax
push dword [esp + 8]
call fcn.0048afb0
lea eax, [esp + 8]
push eax
call fcn.0048bf00
push dword [esp]
call sub.ole32.dll_CoTaskMemFree
mov edx, dword [esp + 4]
push edx
call fcn.0048be60
pop edx
push eax
push edx
call fcn.0048bea0
pop eax
push eax
call fcn.004422f0
pop edx
add eax, edx
jmp 0x41bed6
push dword [esp + 4]
call fcn.0048c060
add esp, 8
ret 8
Function at 0x41c39f
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41c3a6
call fcn.0048bfd0
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.00442000
mov edx, dword [esp + 0x34]
lea ecx, [esp + 4]
call fcn.00442000
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
call fcn.00442000
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
call fcn.00442000
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x10]
call fcn.00442000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.00442000
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x18]
push eax
mov ebp, 0x61857c
push ebp
push 1
push 0
mov ebp, 0x61855c
push ebp
call sub.ole32.dll_CoCreateInstance
mov ebx, eax
and ebx, ebx
jne 0x41c513
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
add esp, 4
push dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push 0
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
sub esp, 4
push dword [esp + 0x50]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ebp, 0x61856c
push ebp
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
and ebx, ebx
jne 0x41c509
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
add esp, 4
mov ebx, eax
and ebx, ebx
jne 0x41c4ff
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x20]
jmp 0x41c520
push dword [esp + 8]
call fcn.0048c060
push dword [esp + 0xc]
call fcn.0048c060
push dword [esp]
call fcn.0048c060
push dword [esp + 4]
call fcn.0048c060
push dword [esp + 0x10]
call fcn.0048c060
push dword [esp + 0x14]
call fcn.0048c060
add esp, 0x24
pop ebx
pop ebp
ret 0x20

Function at 0x41c87a
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push eax
push eax
push eax
call fcn.0048bfd0
mov edx, dword [esp + 0x10]
lea ecx, [esp]
call fcn.00442000
mov edx, dword [esp + 0x14]
lea ecx, [esp + 4]
call fcn.00442000
mov edx, dword [esp + 0x18]
lea ecx, [esp + 8]
call fcn.00442000
push 1
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
mov eax, str.runas
push eax
push 0
call sub.SHELL32.dll_ShellExecuteW
xor eax, eax
push dword [esp + 8]
call fcn.0048c060
push dword [esp]
call fcn.0048c060
push dword [esp + 4]
call fcn.0048c060
add esp, 0xc
ret 0xc
Function at 0x41e48e
Capabilities:
Identify system language via api

Disassembly:
push ebp
push ebx
call fcn.0048bfd0
call fcn.0041f1c1
push 0x5a
call fcn.004845ad
push eax
mov eax, 0x546028
push eax
push 0
push 0x52
call fcn.0047081a
push 0x17
call fcn.004845ad
push eax
mov eax, 0x546028
push eax
push 1
push 0x52
call fcn.0047081a
push 8
call fcn.004845ad
push eax
mov eax, 0x546028
push eax
push 2
push 0x52
call fcn.0047081a
call sub.KERNEL32.dll_GetUserDefaultLangID
mov ebx, eax
and ebx, 0x3ff
push ebx
mov ebx, 4
cmp ebx, dword [esp]
je 0x41e526
mov ebx, 4
cmp ebx, dword [esp]
je 0x41e526
mov ebx, 0x7c04
cmp ebx, dword [esp]
jne 0x41e568
mov ebp, dword [0x61c504]
mov edx, 0x55d712
lea ecx, [ebp]
call fcn.00442008
mov eax, 0x55d712
push eax
call fcn.0040b37e
push 2
push 0x52
call fcn.0046c20d
mov eax, 0x55d712
push eax
push 0x52
call fcn.0046d1ed
jmp 0x41e5ee
mov ebx, 9
cmp ebx, dword [esp]
jne 0x41e5b1
mov ebp, dword [0x61c504]
mov edx, str.English
lea ecx, [ebp]
call fcn.00442008
mov eax, str.English
push eax
call fcn.0040b37e
push 1
push 0x52
call fcn.0046c20d
mov eax, str.English
push eax
push 0x52
call fcn.0046d1ed
jmp 0x41e5ee
mov ebp, dword [0x61c504]
mov edx, 0x54769a
lea ecx, [ebp]
call fcn.00442008
mov eax, 0x54769a
push eax
call fcn.0040b37e
push 0
push 0x52
call fcn.0046c20d
mov eax, 0x54769a
push eax
push 0x52
call fcn.0046d1ed
pop eax
call fcn.0041e780
call fcn.004297fc
jmp 0x41e5f4

Function at 0x4438b5
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x44394d
push edi
push 0x696b80
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x61cf84]
test edi, edi
je 0x443921
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44391a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x61cf84
call fcn.0048bd71
pop ecx
pop ecx
jmp 0x44391c
mov edi, dword [edi]
test edi, edi
jne 0x4438f1
pop ebx
mov eax, dword [0x61858c]
mov esi, eax
inc eax
push 0x10
push 0x61cf84
mov dword [0x61858c], eax
call fcn.0048bdb1
pop ecx
pop ecx
push 0x696b80
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x447691
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4476e6
push dword [esp + 0x10]
push 0x447610
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x61d034]
test esi, esi
je 0x44773f
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4476de
cmp byte [esi + 0x10], 0
je 0x4476de
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4476ba
jmp 0x44773f
mov esi, dword [0x61d034]
test esi, esi
je 0x44773f
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x447738
cmp byte [esi + 0x11], 0
je 0x447714
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x44772b
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x61d034
call fcn.0048bd71
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4476f3
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x447f23
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x447fe2
cmp dword [esp + 0x24], 2
je 0x447fe2
push 0x2000
push ebp
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x447fb1
cmp dword [esp + 0x18], 2
jne 0x447fcd
cmp dword [esp + 0x28], 0xffffffff
je 0x447f75
cmp ebp, dword [esp + 0x28]
jae 0x447fcd
add ebp, 2
test ebx, ebx
jne 0x447f9a
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x447fcd
cmp ax, 0xd
je 0x447fb1
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x447f61
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.005254c0
jmp 0x448074
push eax
push 0
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x448000
cmp ebp, dword [esp + 0x28]
jae 0x448058
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448058
cmp dword [esp + 0x18], 1
jne 0x448058
inc ebp
test ebx, ebx
jne 0x448045
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x448058
cmp al, 0xd
je 0x447ff3
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x447ff3
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x44806f
call fcn.00525510
jmp 0x448074
call fcn.005256c0
push esi
push 0
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x449091
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x4490f3
cmp word [esi], di
je 0x4490f3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004b3070
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.004b3280
add esp, 0x10
test eax, eax
jne 0x4490f2
push 0x24
push 8
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 8], 1
mov dword [ecx + 0x20], eax
mov dword [eax + 4], ecx
pop ebx
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x469d90
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x695368], 0
jne 0x469d9e
call fcn.00469c10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x69536c]
call esi
test eax, eax
jne 0x469dc1
call fcn.00469c10
push dword [0x69536c]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x469dd0
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x469e30
mov ebx, 0x10
test edi, edi
jns 0x469e39
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x469e02
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x469e50
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x695368], 0
jne 0x469e5e
call fcn.00469c10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x69536c]
call esi
mov edx, eax
test edx, edx
jne 0x469e85
call fcn.00469c10
push dword [0x69536c]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x469eb8
mov ebx, 0x10
test esi, esi
jns 0x469ec1
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x469ed0
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x46f5ba
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x46f62c
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x46f5e3
mov ebx, eax
push dword [ebp]
call fcn.0046ed3c
push ebx
push dword [ebp]
mov edi, eax
call fcn.0046ed13
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebp]
call fcn.0046f64c
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4704dc
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x696f04]
call fcn.0048b402
xor ebp, ebp
mov esi, eax
cmp dword [0x695a08], ebp
jne 0x4705b8
xor ebx, ebx
inc ebx
mov dword [0x695a08], ebx
call fcn.0047272f
mov edi, 0xa4
push edi
push ebp
push 0x695a10
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x695a10], 0x13
lea eax, [esp + 0x10]
mov dword [0x695a14], edi
mov dword [0x695a20], 0x470427
mov dword [0x695a24], 0x470772
push eax
mov dword [0x695a78], 0x470402
mov dword [0x695a7c], 0x4706bd
mov dword [0x695a1c], 0x4703dd
mov dword [0x695aa0], 0x470442
mov dword [0x695ab4], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4705b8
cmp dword [esp + 0x20], ebx
je 0x4705a0
cmp dword [esp + 0x20], 2
jne 0x4705b8
cmp dword [esp + 0x14], 5
jae 0x4705a8
mov dword [0x695ab4], ebp
jmp 0x4705b8
jne 0x4705b8
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x695ab4], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00477184
mov eax, dword [esp + 0x140]
push ebp
push dword [0x61c4e8]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x47068e
push dword [esp + 0x128]
push dword [0x696f20]
call fcn.0048ba81
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x47065d
push edi
call fcn.00486245
test eax, eax
je 0x47065d
push ebp
push ebp
push edi
call fcn.00485eb4
mov dword [esi + 0x18], eax
jmp 0x470660
mov dword [esi + 0x18], ebp
push 0x47012c
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x695a10
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x695a0c], eax
call fcn.004729a0
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x470a81
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 1
call edi
mov ebx, 0x8000
test bx, ax
je 0x470a9b
inc esi
push 2
call edi
test bx, ax
je 0x470aa7
or esi, 2
push 4
call edi
test bx, ax
je 0x470ab3
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x471049
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x471081
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.00472af6
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x471172
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x471172
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x4711a0
test ebp, ebp
jle 0x4711a0
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x4711a0
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x471169
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x471113
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x471128
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4711a0
cmp dword [edi + 0x10], ebx
je 0x47118c
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x4711a0
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.00472ad4
cmp dword [esp + 0x10], 0
je 0x4711ba
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4711c2
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.00472971
push eax
call fcn.00473698
push dword [0x695ac4]
mov dword [esp + 0x24], eax
call fcn.0048b552
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x471236
inc ebx
push 0x12
call esi
test di, ax
je 0x471242
or ebx, 2
push 0x11
call esi
test di, ax
je 0x47124e
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00470a81
push 0x4712a3
push ebp
push dword [esp + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.00476418
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x472063
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x696f04]
call fcn.0048b402
xor ebx, ebx
mov ebp, eax
cmp dword [0x695ba0], ebx
jne 0x4720f7
mov esi, 0xa4
push esi
push ebx
push 0x695ba8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x695bac], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x695ba8], 0xa
mov dword [0x695bb0], 0x471bf8
push 0x7f89
push ebx
mov dword [0x695c20], 0x47284e
mov dword [0x695c24], 0x472828
mov dword [0x695bb4], 0x471c17
mov dword [0x695c38], 0x471c37
call esi
mov dword [0x695ba0], eax
test eax, eax
jne 0x4720f7
push 0x7f00
push ebx
call esi
mov dword [0x695ba0], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00477184
push ebx
push dword [0x61c4e8]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x4721c3
push edi
push dword [esp + 0x14]
push dword [0x696f20]
call fcn.0048ba81
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x61c4e4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x695ba8
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.004729a0
push 0x471d1d
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20