joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00485368
mov byte [esp], al
cmp byte [esp], 0
jne 0x4850fc
test edi, edi
je 0x4850fc
mov byte [esp + 1], 0
test ebp, ebp
jle 0x485033
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x48500e
cmp edi, 0xffffffff
je 0x484fcf
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x484fcf
mov byte [esp], 0
jmp 0x4850fc
mov ebx, dword [esi]
cmp ebx, 1
jg 0x48500e
test ebx, ebx
jne 0x485004
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00481e10
test eax, eax
jne 0x485004
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4850fc
call 0x48548c
dec ebp
test ebp, ebp
jg 0x484fb4
cmp edi, 0xffffffff
je 0x485033
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x485031
mov byte [esp], 0
jmp 0x4850fc
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x484f7e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00481e10
cmp ebx, eax
jne 0x485033
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0048516c
mov edx, eax
mov ebx, dword [0x641b54]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x48509a
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x485098
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x48509a
xor edi, edi
cmp byte [esp], 0
je 0x4850c3
mov ebx, dword [esi]
test bl, 1
jne 0x4850dc
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00481e10
cmp ebx, eax
jne 0x4850a0
mov byte [esp + 1], 1
jmp 0x4850dc
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00481e10
cmp ebx, eax
jne 0x4850c3
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x48504d
cmp byte [esp], 0
je 0x4850fc
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x485db8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6412b4], 0
je 0x485e1f
cmp word [0x6415a0], 0xd7b2
jne 0x485de1
cmp dword [0x6415a8], 0
jbe 0x485de1
mov eax, 0x64159c
call dword [0x6415b8]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push 0x637010
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x485e4c
call fcn.00486aec
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x63667c], 0
jne 0x485e3b
push 0
push 0x637008
push 0x637010
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x485fdc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x636650], 0
je 0x486007
mov edx, edi
mov eax, esi
call dword [0x636650]
mov ebx, eax
jmp 0x486018
mov eax, 8
call fcn.004839bc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x6412b5], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x485fa4
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x48604d
mov edx, 8
mov eax, ebx
call fcn.004839d8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x488768
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4888cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00486120
cmp si, word [0x637048]
jb 0x488800
cmp si, word [0x637248]
ja 0x488800
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x488800
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x637048]
jae 0x4887da
mov edi, ebx
dec edi
jmp 0x4887fb
cmp si, word [ebx*8 + 0x637048]
jbe 0x4887ea
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4887fb
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x63704c]
call fcn.00488678
jmp 0x488800
cmp edi, dword [ebp - 8]
jae 0x4887c4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4888af
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x4888af
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00486f1c
push dword [ebp - 0x160]
push 0x4888e8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00486f1c
push dword [ebp - 0x164]
push 0x4888f8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00486f1c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00487154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4888d4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00486180
ret
Function at 0x488a80
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488b83
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x643dec
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x643e04]
jne 0x488acc
mov eax, esi
mov edx, 0x643e06
mov ecx, 0x55
call fcn.00486f1c
push 0x643dec
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x488b6d
push 0x643dec
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.00486120
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x488b3b
cmp byte [0x643de8], 0
je 0x488b00
mov edx, esi
mov eax, ebx
call fcn.00488964
jmp 0x488b3b
mov edx, esi
mov eax, ebx
call fcn.00488768
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x488b3b
cmp dword [esi], 0
je 0x488b24
mov eax, esi
mov edx, 0x488b9c
call fcn.00487074
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00488768
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00487074
push 0x643dec
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x643e04], bx
push 0xaa
mov eax, dword [esi]
call fcn.00486e88
push eax
push 0x643e06
call sub.KERNEL32.DLL_lstrcpynW
push 0x643dec
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488b8a
lea eax, [ebp - 4]
call fcn.00486120
ret
Function at 0x488db8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00486204
xor eax, eax
push ebp
push 0x488fdd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x488df8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x488e12
push 0x105
mov eax, dword [ebp - 4]
call fcn.00486e88
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x488fc7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x488fec
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x488ee1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x488fec
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x488ee1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x489028
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x488ee1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x489028
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x488ee1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x48905c
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x488ee1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x489090
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x488fc7
xor eax, eax
push ebp
push 0x488fc0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00488bc4
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x488f50
mov eax, dword [ebp - 0x10]
call fcn.004839bc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00486ee0
jmp 0x488f9b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4890d0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x488f9b
mov eax, dword [ebp - 0x10]
call fcn.004839bc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4890d0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00486ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488fc7
cmp dword [ebp - 8], 0
je 0x488fb6
mov eax, dword [ebp - 8]
call fcn.004839d8
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488fe4
lea eax, [ebp - 4]
call fcn.00486120
ret
Function at 0x4892c0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00486204
xor eax, eax
push ebp
push 0x489380
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00486f1c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004870cc
mov eax, dword [ebx]
call fcn.00489188
test al, al
jne 0x48935d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00486f1c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004870cc
mov eax, dword [ebx]
call fcn.00489188
test al, al
jne 0x48935d
mov eax, ebx
call fcn.00486120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489387
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00486180
lea eax, [ebp - 4]
call fcn.00486120
ret

Function at 0x489d90
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x489eb4
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x641b70], 1
jae 0x489f67
push 0x400
call sub.KERNEL32.DLL_SetThreadLocale
call fcn.00483778
call fcn.00488510
mov byte [0x636668], 2
mov dword [0x641270], 0x62c4c4
mov dword [0x641274], 0x62c4e2
mov byte [0x6412b6], 2
call fcn.00489d90
mov dword [0x6412bc], eax
mov dword [0x64125c], 0x487c04
call fcn.004843d0
call fcn.004843ec
mov word [0x6412c4], 0xd7b0
mov word [0x6415a0], 0xd7b0
mov word [0x64187c], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x6412a8], eax
call fcn.00481e44
mov dword [0x6412a4], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x641b58], eax
mov dword [0x641b5c], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x64129c], eax
call fcn.00489da4
ret

Function at 0x4feaf8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004feba8
test eax, eax
je 0x4feb33
push 0x100
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004feba8
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004862a8
jmp 0x4feb41
mov ecx, esi
mov edx, 0x4feb60
mov eax, ebx
call fcn.004fea40
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00486500
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x53b6a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00486120
push 0
movzx eax, bl
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x53b6f2
push 0x100
lea eax, [esp + 4]
push eax
push ebx
call sub.USER32.DLL_GetKeyNameTextW
test eax, eax
je 0x53b6eb
mov eax, esi
mov edx, esp
mov ecx, 0x100
call fcn.00486f1c
jmp 0x53b6f2
mov eax, esi
call fcn.00486120
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x540e94
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x540ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x637fe8], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4433fc]
call fcn.00444548
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x540fc9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004446c8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00486f1c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x54100c
call fcn.004870cc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00444954
test al, al
je 0x540fb3
lea ecx, [ebp - 4]
mov edx, 0x541080
mov eax, dword [ebp - 0xc]
call fcn.004451dc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0046d168
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x540fb3
xor edx, edx
push ebp
push 0x540fac
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x541098
mov eax, dword [ebp - 8]
push eax
call fcn.0047b780
test eax, eax
je 0x540f95
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x540f95
call fcn.00540e20
test eax, eax
je 0x540f85
mov eax, dword [ebx + 0x50]
jmp 0x540f88
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x637fe8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540fb3
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540fd0
mov eax, dword [ebp - 0xc]
call fcn.004845a8
ret

Function at 0x5410fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x541143
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x541126
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x541137
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x541143
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x55c53c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x55c542
ret
Function at 0x5675a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x56774e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x56772a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x56772a
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x567568]
call fcn.004881b8
add esp, 4
lea eax, [ebp - 4]
call fcn.00489740
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x63e970]
push eax
call sub.WINDOWSCODECS.DLL_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00488004
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00484064
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x55ac78]
call fcn.00563f3c
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x567708
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00565bb4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00564bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56772a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567755
lea eax, [ebp - 8]
mov edx, dword [0x567568]
call fcn.004881c4
lea eax, [ebp - 4]
call fcn.00489740
ret
Function at 0x5719a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.USER32.DLL_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5719c7
test edi, 0x40000
je 0x5719e1
test bl, bl
jne 0x571a70
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x571a70
push esi
call sub.USER32.DLL_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.USER32.DLL_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x571a14
push 0
push esi
call sub.USER32.DLL_ShowWindow
test bl, bl
je 0x571a30
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.USER32.DLL_SetWindowLongW
jmp 0x571a46
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.USER32.DLL_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x571a57
cmp byte [esp + 2], 0
je 0x571a70
cmp byte [esp + 2], 0
je 0x571a68
push 6
push esi
call sub.USER32.DLL_ShowWindow
jmp 0x571a70
push 5
push esi
call sub.USER32.DLL_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x571d24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.USER32.DLL_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x571d4a
mov eax, esp
push eax
push 0x571cec
call sub.USER32.DLL_EnumWindows
jmp 0x571d5d
mov eax, esp
push eax
push 0x571ccc
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.USER32.DLL_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x571e20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x571e70]
test bl, 4
je 0x571e34
or si, 1
test bl, 8
je 0x571e3d
or si, 4
test bl, 1
je 0x571e46
or si, 8
test bl, 2
je 0x571e4f
or si, 0x10
test bl, 0x10
je 0x571e58
or si, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x571e68
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x571e74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x571eb0]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x571e8f
or bx, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x571e9f
or bx, 4
test esi, 0x20000000
je 0x571eab
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x571f04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.USER32.DLL_GetKeyboardState
mov eax, esp
call fcn.00571eb4
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x57acf4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x57ad06
add esp, 0xfffffff0
call fcn.00484bb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043cf08
mov eax, dword [0x63e5c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x57b134
mov eax, dword [0x63e5cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x57b140
mov eax, ebx
call fcn.0057b14c
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x41fbdc]
call fcn.00484578
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41fbdc]
call fcn.00484578
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41fbdc]
call fcn.00484578
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x41fbdc]
call fcn.00484578
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x41fbdc]
call fcn.00484578
mov dword [ebx + 0x7c], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x575a90
push eax
push 0
push 0
call sub.USER32.DLL_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x556d1c]
call fcn.0055cec0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x556d1c]
call fcn.0055cec0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x556d1c]
call fcn.0055cec0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x556d1c]
call fcn.0055cec0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x556d1c]
call fcn.0055cec0
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.0057b744
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57b560
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57b560
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57b560
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57b560
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x57b560
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x57ae83
call fcn.00484c0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret