joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423160
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004139e0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42322b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42322b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4231de
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4231e9
or bh, 8
and edi, 0x8000000
je 0x423204
mov eax, dword [0x4605bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42322b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42362b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42364f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42366a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42529a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4252bd
cmp dword [edi + 0x3c], 0
jne 0x4252bd
movzx eax, word [edi + 0x40]
mov dword [edi + 0x3c], eax
call fcn.0043b57d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004252ea
pop edi
pop esi
pop ebx
ret 8

Function at 0x425338
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0043b57d
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x425369
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0042537c
pop edi
pop esi
pop ebx
ret 8
Function at 0x42565a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x444364
call fcn.00412bb8
push ecx
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x14], eax
call fcn.0043b57d
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4256a8
call fcn.0043b57d
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4256b6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4256c4
or eax, 0xffffffff
jmp 0x4257b0
mov ecx, esi
call fcn.004255e5
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.0042641d
push edi
call fcn.00425ec0
and dword [ebp - 0x1c], 0
test edi, edi
je 0x4256fe
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4256fe
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 1
and dword [ebp - 4], 0
push esi
call fcn.004263d1
push edi
call fcn.00425ec0
push ebx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0042537c
xor ebx, ebx
cmp eax, ebx
je 0x425777
test byte [esi + 0x24], 0x10
je 0x425742
push 4
mov ecx, esi
pop ebx
call fcn.00428cf9
test ah, 1
je 0x425738
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00428892
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
je 0x425777
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00428e70
jmp 0x425777
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
je 0x425789
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, ebx
je 0x42579f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42579f
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042561c
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4268e9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x426921
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00429b5f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00429b37
jmp 0x42692d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x90]
pop esi
ret 4
Function at 0x426931
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x45e928
mov ecx, edi
call fcn.0042983e
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x426984
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x426997
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00429b5f
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00429b37
jmp 0x426997
mov ecx, esi
call fcn.00428c3f
test eax, eax
je 0x426997
push edi
mov ecx, eax
call fcn.004268e9
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8
Function at 0x428683
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4286c5
call fcn.0043b57d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4286c5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4286bc
xor eax, eax
jmp 0x4286cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004286d3
pop edi
pop esi
pop ebx
ret 4

Function at 0x42b729
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
push dword [esp + 0xc]
call dword [eax + 0x30]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42b751
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042c5ba
pop esi
ret 4

Function at 0x42b9fc
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4451dc
call fcn.00412bb8
sub esp, 0x168
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0x800
push 0x160
mov byte [eax], bl
lea eax, [ebp - 0x174]
push eax
push ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42bb21
test byte [ebp - 0x16a], 1
je 0x42bb21
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x10]
push eax
push 0x44ab90
push ebx
push 0x44ab80
call fcn.0042b7d3
test eax, eax
jl 0x42bb21
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push 0x44ab70
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x42bb18
cmp edi, ebx
jne 0x42ba8d
xor eax, eax
jmp 0x42baae
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004139e0
mov eax, esp
push esi
push edi
push eax
call fcn.00429c43
mov ecx, dword [ebp - 0x14]
push ebx
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jl 0x42bb0f
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x42bac8
xor eax, eax
jmp 0x42bacb
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp + 0xc]
push 2
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x4c]
test eax, eax
jl 0x42bb0f
mov eax, dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 0x14]
mov ecx, dword [eax]
push dword [ebp + 0x10]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042b7c5
push 1
pop eax
jmp 0x42bb2f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042b7c5
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x180]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x42d311
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
mov eax, dword [esi]
push 1
je 0x42d329
push 0
jmp 0x42d32c
push dword [esi + 0x20]
mov ecx, esi
call dword [eax + 0xa0]
test eax, eax
jne 0x42d33a
pop esi
ret
push 1
pop eax
pop esi
ret

Function at 0x42d765
Capabilities:
Get common file path
Get disk size
Timestomp file

Disassembly:
mov eax, 0x444a20
call fcn.00412bb8
sub esp, 0x240
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00429681
test byte [ebp + 0xd], 0x10
je 0x42d836
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call fcn.0042cb3e
test eax, eax
je 0x42d836
lea ecx, [ebp - 0x10]
call fcn.004295ab
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0042bc1f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x42d7d5
mov ebx, dword [ebp - 0x2c]
imul ebx, dword [ebp - 0x30]
imul ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x13c]
add eax, eax
cmp ebx, eax
jle 0x42d82a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0x1c]
push 0x105
mov ecx, edi
and byte [eax], 0
call fcn.00429ae8
push eax
push 0
lea eax, [ebp - 0x24c]
push 0x448ad4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00429b37
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004296f6
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x42d8f3
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push eax
call fcn.0042b450
test eax, eax
je 0x42d8f3
push dword [ebp + 8]
lea ecx, [esi + 0xc]
call fcn.0042983e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42d8a4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0042cbf0
pop ecx
lea eax, [ebp - 0x20]
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
push eax
push ebx
push ebx
push 4
push dword [ebp + 8]
mov dword [ebp + 0xc], ebx
call esi
test eax, eax
je 0x42d8ee
push dword [ebp + 0xc]
call fcn.00429c88
mov ebx, eax
pop ecx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push ebx
push 4
push dword [ebp + 8]
call esi
test eax, eax
je 0x42d8e7
push ebx
push 4
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
push ebx
call fcn.00429cc4
pop ecx
push 1
pop eax
jmp 0x42d90a
mov ecx, edi
call fcn.00429681
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042b450
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x42f994
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x42f9b1
cmp dword [0x45ee7c], edi
jne 0x42fb03
cmp word [0x45ee88], di
mov dword [0x45ee7c], 1
jne 0x42f9e3
push str.MSH_SCROLL_LINES_MSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [0x45ee84], eax
mov word [0x45ee88], cx
cmp word [0x45ee88], 2
jne 0x42fa1f
push str.Magellan_MSWHEEL
push str.MouseZ
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x42fa1f
mov ecx, dword [0x45ee84]
cmp ecx, edi
je 0x42fa1f
push edi
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x45ee80], eax
jmp 0x42fb08
push 0x94
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.00412b60
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
mov dword [0x45ee80], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42fb03
cmp dword [ebp - 0x8c], 1
je 0x42fa73
cmp dword [ebp - 0x8c], 2
jne 0x42fb03
cmp dword [ebp - 0x98], 4
jae 0x42fae2
lea eax, [ebp + 8]
push eax
push 1
push edi
push str.Control_PanelDesktop
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42fb03
lea eax, [ebp - 4]
mov dword [ebp - 4], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push str.WheelScrollLines
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42fad7
push 0xa
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00413570
add esp, 0xc
mov dword [0x45ee80], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42fb03
cmp dword [ebp - 0x8c], 2
jne 0x42fb03
cmp dword [ebp - 0x98], 4
jb 0x42fb03
push edi
push 0x45ee80
push edi
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [0x45ee80]
pop edi
leave
ret

Function at 0x4318ab
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x7c], 0
je 0x4318ef
push dword [ebp + 8]
call fcn.0043c15d
mov esi, eax
test esi, esi
je 0x43191a
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x43191a
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push 0x455150
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [esi + 0x90]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
leave
ret 0xc
Function at 0x4342bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push ebx
call fcn.004267fc
test eax, eax
jne 0x4344ab
mov edi, dword [ebx + 4]
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0040b24e
test byte [esi + 0x64], 0x20
mov dword [ebp - 0x10], eax
jne 0x434302
cmp edi, 0x201
je 0x434302
cmp edi, 0x202
jne 0x434461
cmp edi, 0x200
jb 0x434312
cmp edi, 0x209
jbe 0x43432a
cmp edi, 0xa0
jb 0x434461
cmp edi, 0xa9
ja 0x434461
call fcn.0043b22a
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x2c
lea eax, [ebp - 0x44]
pop edi
push edi
push 0
push eax
call fcn.00412b60
add esp, 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov edi, dword [esi]
push eax
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [edi + 0x6c]
cmp dword [ebp - 0x20], 0xffffffff
mov dword [ebp + 8], eax
je 0x434383
push dword [ebp - 0x20]
call fcn.004126c0
pop ecx
mov eax, 0x201
cmp dword [ebp - 4], eax
jne 0x43439c
test byte [ebp - 0x3d], 0x80
je 0x43439c
mov dword [ebp - 8], 1
jmp 0x4343a0
and dword [ebp - 8], 0
cmp dword [ebp - 4], eax
je 0x4343be
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4343be
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x104]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jl 0x43442a
cmp dword [ebp - 8], 0
jne 0x43442a
cmp dword [ebp - 4], 0x202
jne 0x4343e9
push 0xffffffffffffffff
mov ecx, esi
call dword [edi + 0xe4]
push 0xc8
push 0xe001
jmp 0x434414
test byte [esi + 0x60], 8
jne 0x43441d
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x43441d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x104]
je 0x434455
push 0x12c
push 0xe000
mov ecx, esi
call fcn.00434086
jmp 0x434455
push dword [ebp + 8]
mov ecx, esi
call dword [edi + 0xe4]
jmp 0x434455
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x43443d
cmp dword [ebp - 8], 0
je 0x434455
push 0xffffffffffffffff
mov ecx, esi
call dword [edi + 0xe4]
push 0xe001
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x104], eax
mov ecx, esi
call fcn.004276c7
test eax, eax
je 0x434476
cmp dword [eax + 0x50], 0
je 0x434476
xor eax, eax
jmp 0x4344a4
cmp dword [ebp - 0x10], 0
je 0x43449c
mov edi, dword [ebp - 0x10]
push ebx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x98]
test eax, eax
jne 0x4344ab
mov ecx, edi
call fcn.0042755a
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x43447c
push ebx
mov ecx, esi
call fcn.00428862
pop edi
pop esi
pop ebx
leave
ret 4
push 1
pop eax
jmp 0x4344a4
Function at 0x43b392
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44468a
call fcn.00412bb8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CNoTrackObject.0
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00424b9f
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00424b9f
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00424742
mov ecx, dword [ebp - 0xc]
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x429c6c
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43be76
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x444858
call fcn.00412bb8
sub esp, 0x120
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x14], ebx
call fcn.00431887
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x43bebc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00431899
cmp eax, ebx
je 0x43beb7
mov edx, dword [eax]
push ebx
push ebx
push 0xfffffffffffffffc
push ebx
mov ecx, eax
call dword [edx + 0x14]
cmp dword [ebp - 0x1c], ebx
jne 0x43be9c
cmp dword [edi + 0x7c], ebx
je 0x43bf93
push str.Software_
lea ecx, [ebp - 0x10]
call fcn.00429764
push dword [edi + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00429a94
lea eax, [ebp - 0x10]
push 0x448868
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042994d
push dword [edi + 0x90]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042994d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004296f6
lea eax, [ebp - 0x18]
mov esi, SysReAllocStringLen
push eax
push esi
mov ecx, edi
call fcn.0043bfa5
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x43bf67
lea eax, [ebp - 0x12c]
push 0x104
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x43bf5e
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push esi
call fcn.0043bfa5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004296f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004296f6
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret