joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020020
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b905
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10059024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x100201ae
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 1
push 0x30
push ebx
mov dword [ebp - 0x18], 0
call esi
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x14]
push eax
push 1
push 0x30
push ebx
call esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
xor ecx, ecx
imul esi, dword [ebp - 0x10], 0x101
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call edi
xor ebx, ebx
mov dword [ebp - 0x24], esi
mov edi, eax
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x10], ebx
jbe 0x10020161
mov esi, dword [ebp - 0x1c]
nop dword [eax]
cmp word [edi], 0
mov ecx, edi
je 0x10020129
nop dword [eax + eax]
add ecx, 2
cmp word [ecx], 0
jne 0x10020120
mov edx, dword [esi]
push 0xffffffffffffffff
call fcn.10007d70
add esp, 4
mov ecx, edi
cmp word [edi], 0
je 0x10020149
nop dword [eax]
add ecx, 2
cmp word [ecx], 0
jne 0x10020140
push 0xffffffffffffffff
mov edx, 0x1004694c
call fcn.10007d70
inc ebx
add esp, 4
add esi, 0x24
cmp ebx, dword [ebp - 0x10]
jb 0x10020110
push edi
push str.AI_SERVICES_LIST
push dword [ebp + 8]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x10020181
push edi
call esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100201a0
push eax
call esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10021fc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1003c10d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10059024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str..cab
push dword [edx + 4]
mov edx, str.SELECT__Cabinet__FROM__Media__WHERE__Media_._Cabinet_
lea ecx, [ebp]
call fcn.10021f40
add esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test eax, eax
je 0x10022031
push eax
call edi
push esi
mov dword [ebp - 0x10], 0
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
cmp word [ebp], 0
je 0x10022073
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x1002206c
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x100220b6
call fcn.100112b0
mov byte [ebp - 4], 0
test esi, esi
je 0x1002207e
push esi
call edi
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10022091
push ecx
call edi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10024a34
lea esp, [ebp + 0x20c]
pop ebp
ret
push 0
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
mov ebx, eax
test ebx, ebx
jle 0x100220d2
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x100220d9
call fcn.100112b0
mov byte [ebp - 4], 0
test esi, esi
je 0x100220e4
push esi
call edi
test ebx, ebx
js 0x1002207e
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100220fd
push eax
call edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
sete bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10022080
push eax
call edi
jmp 0x10022080
Function at 0x10022130
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1003c15d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10059024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x18], ebx
mov esi, ecx
xor eax, eax
lea ecx, [ebp]
push 0xffffffffffffffff
mov edx, str.SELECT__FROM__Condition__WHERE__Condition_._Feature__
mov word [ebp], ax
call fcn.10007d70
add esp, 4
cmp word [eax], 0
je 0x10022199
nop
add eax, 2
cmp word [eax], 0
jne 0x10022190
push 0xffffffffffffffff
mov edx, ebx
mov ecx, eax
call fcn.10007d70
add esp, 4
cmp word [eax], 0
je 0x100221b9
nop dword [eax]
add eax, 2
cmp word [eax], 0
jne 0x100221b0
push 0xffffffffffffffff
mov edx, 0x100503bc
mov ecx, eax
call fcn.10007d70
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test ecx, ecx
je 0x100221f8
push ecx
call edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.msi.dll_MsiEnumClientsA]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov ebx, dword [sym.imp.msi.dll_MsiRecordClearData]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002223a
push eax
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x1002225a
push dword [ebp - 0x10]
push 6
push dword [ebp - 0x14]
call ebx
jmp 0x10022230
push 3
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
test ecx, ecx
je 0x1002226e
push ecx
call edi
push dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
push 1
push esi
mov esi, dword [sym.imp.msi.dll_MsiReinstallFeatureW]
call esi
push 0
push 2
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiRecordSetStringW]
push 0x10049620
push 3
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
push 7
push dword [ebp - 0x14]
call ebx
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.msi.dll_MsiDatabaseGenerateTransformW]
test eax, eax
sete bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100222bf
push eax
call edi
mov byte [ebp - 4], 0
test esi, esi
je 0x100222ca
push esi
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100222db
push ecx
call edi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10024a34
lea esp, [ebp + 0x20c]
pop ebp
ret
Function at 0x40331c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45700c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403394
xor eax, eax
push ebp
push 0x40338d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4033d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403394
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45700c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45700c], ax
mov esp, ebp
pop ebp
ret

Function at 0x40407c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x459044], 0
je 0x4040dd
cmp word [0x459218], 0xd7b2
jne 0x4040a5
cmp dword [0x459220], 0
jbe 0x4040a5
mov eax, 0x459214
call dword [0x459230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x457054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404104
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45701c], 0
jne 0x4040f9
push 0
push 0x457074
push 0x457054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409450
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409489
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042e8
jmp 0x409492
mov eax, ebx
mov edx, esi
call fcn.0040424c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40949c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4094bd
mov al, byte [esp]
jmp 0x4094bf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409b44
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4099bc
mov eax, dword [0x457f58]
cmp byte [eax], 0
je 0x409bac
mov eax, dword [0x457dac]
call fcn.00402c38
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408688
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x409bf4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409be2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x457d60]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459710]
call fcn.004058e4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40a64c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40a6b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404460
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004083c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a6b7
lea eax, [ebp - 0xc]
call fcn.004041f8
ret
Function at 0x41c2e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x459a1c
cmp dword [edi], 0
jne 0x41c35c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x459a18]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4574bc
mov ecx, 2
call fcn.004028c0
mov edx, 0x41c2b8
lea eax, [esi + 5]
call fcn.0041c2d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c2d8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c331
mov dword [0x459a18], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d570
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 0x41d576
ret

Function at 0x41fab4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41fb05
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41faec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41fadc
jmp 0x41fb05
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41faed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dcf4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42dc40
call sub.user32.dll_EnumWindows
ret

Function at 0x42de18
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42de95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042d864
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42de3d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042d4bc
cmp dword [ebp - 4], 0
je 0x42de7f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a8
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42de9c
lea eax, [ebp - 4]
call fcn.004041f8
ret

Function at 0x430f58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x459ba4], 0
je 0x4310a7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x457f04]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4310a7
mov eax, dword [0x459ba8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x459ba4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x431076
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x459ba4]
call fcn.00413944
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43106e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43106e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43106e
mov eax, dword [ebp - 0x14]
call fcn.00439a70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43106e
push ebp
call fcn.00430f14
pop ecx
test al, al
jne 0x43106e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43102a
mov eax, dword [ebp - 0x14]
call fcn.00438604
dec eax
jle 0x43106e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004036a0
cmp byte [ebp - 1], 0
je 0x43106e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43106e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x459ba8]
call fcn.004306dc
inc edi
dec ebx
jne 0x430fbd
mov eax, dword [0x459ba8]
cmp dword [eax + 8], 0
jle 0x43108e
mov eax, dword [0x459ba8]
call fcn.0043076c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4310a7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00430d7c
pop ecx
test al, al
jne 0x4310a7
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4346bc
mov eax, esi
call fcn.0044a408
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4346bc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4346bc
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x434800
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4346fc
cmp eax, 0x108
ja 0x4346fc
mov eax, esi
call fcn.0044a408
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4347f7
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x434800
jmp 0x4347f7
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4347de
cmp eax, 0x20a
ja 0x4347de
test byte [esi + 0x50], 0x80
jne 0x43472e
sub eax, 0x203
je 0x43472b
sub eax, 3
je 0x43472b
sub eax, 3
jne 0x43472e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x434742
dec eax
je 0x434757
dec eax
je 0x434777
dec eax
je 0x434757
jmp 0x43477e
mov ecx, ebx
mov eax, dword [0x457f04]
mov eax, dword [eax]
mov edx, esi
call fcn.00453ab4
jmp 0x4347f7
cmp byte [esi + 0x5d], 1
jne 0x43476d
mov eax, esi
mov si, 0xffed
call fcn.004036a0
jmp 0x434800
or word [esi + 0x54], 1
jmp 0x4347f7
and word [esi + 0x54], 0xfffe
jmp 0x4347f7
mov eax, dword [0x459b60]
cmp byte [eax + 0x20], 0
je 0x4347f7
mov eax, dword [0x459b60]
cmp dword [eax + 0x1c], 0
je 0x4347f7
mov eax, dword [ebx]
mov edx, dword [0x459b60]
cmp eax, dword [edx + 0x1c]
jne 0x4347f7
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044a34c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004036a0
jmp 0x434800
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4347f7
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00432f90
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437ca0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x437cbc
cmp dword [esi + 4], 0
je 0x437ce9
test byte [ebx + 0x55], 1
jne 0x437cdb
mov eax, ebx
call fcn.004368f8
test eax, eax
jne 0x437cdb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437df9
mov edx, esi
mov eax, ebx
call fcn.004377c0
jmp 0x437df9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x437df2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439a70
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004345a4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437ca0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439a70
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437df9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e1d8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x458058]
cmp byte [eax + 0xc], 0
je 0x43e345
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e33e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x459bb4], 0
jne 0x43e22c
push 0x43e34c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43e354
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bb4], eax
cmp dword [0x4579f4], 0
jne 0x43e327
push 0x43e364
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4579f4], eax
cmp dword [0x4579f4], 0
je 0x43e327
push 0x43e370
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bb8], eax
push 0x43e380
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bbc], eax
push 0x43e394
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc0], eax
push 0x43e3ac
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc4], eax
push 0x43e3c4
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc8], eax
push 0x43e3d8
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bcc], eax
push 0x43e3f0
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd0], eax
push 0x43e408
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd4], eax
push 0x43e424
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd8], eax
push 0x43e430
mov eax, dword [0x4579f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bdc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e345
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44242c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44247b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404460
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a2bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a30c]
test si, 4
je 0x44a2d0
or bl, 1
test si, 8
je 0x44a2da
or bl, 4
test si, 1
je 0x44a2e4
or bl, 8
test si, 2
je 0x44a2ee
or bl, 0x10
test si, 0x10
je 0x44a2f8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a307
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret