joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e7f9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and dword [ebp - 4], 0
test byte [0x50c3a8], 1
jne 0x42e836
mov eax, dword [0x50a89c]
or dword [0x50c3a8], 1
mov ecx, 0x50a89c
call dword [eax + 0xc]
add eax, 0x10
push 0x4d4ff9
mov dword [0x50c3a4], eax
call fcn.0049f29e
pop ecx
mov eax, dword [0x50c3a4]
cmp dword [eax - 0xc], 0
jne 0x42e892
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42e88d
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0049cede
pop ecx
lea ecx, [ebp - 0x20c]
mov ebx, eax
mov esi, 0x50c3a4
push ecx
mov eax, esi
call fcn.00407bf4
call fcn.0042e6c7
push str.drivers_
push esi
call fcn.0040827d
pop esi
pop ebx
mov eax, dword [0x50c3a4]
add eax, 0xfffffff0
call fcn.00407b9c
add eax, 0x10
mov dword [edi], eax
mov eax, edi
leave
ret

Function at 0x430239
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43024c
xor al, al
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
ret

Function at 0x43058e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4305a7
mov eax, dword [ebp - 4]
jmp 0x430681
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x43065c
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e31e0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e31e0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e31e0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e31e0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e31e0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e31e0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e31e0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4e31e0]
dec ebp
jne 0x4305c6
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x430678
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4e31e0]
dec ecx
jne 0x430666
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4309c2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x430a48
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x430a0d
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call fcn.004309c2
cmp eax, esi
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jne 0x430a4e
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], 0x200
call edi
test eax, eax
je 0x4309f5
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
jmp 0x430a48
Function at 0x431249
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x43132b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43138e
cmp dword [ebp + 0xc], 1
je 0x431367
cmp dword [ebp + 0xc], 2
je 0x431367
push 0xd
pop eax
jmp 0x43138e
test edi, edi
mov eax, dword [ebp - 4]
je 0x431388
test eax, eax
je 0x431384
test al, 1
jne 0x431362
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x431388
jmp 0x431362
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x432beb
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x432c0d
xor eax, eax
inc eax
jmp 0x432c77
cmp dword [edi], esi
je 0x432c16
xor ebx, ebx
inc ebx
jmp 0x432c5b
lea eax, [ebp - 8]
push eax
push 0x4e70f0
push 1
push esi
push 0x4e70e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x432c35
push 2
jmp 0x432c5a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x432c4a
push 3
jmp 0x432c5a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x432c5b
push 4
pop ebx
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x432c68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x432c75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x433da2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp dword [edi + 0xc], 0xffffffff
jne 0x433e06
push esi
lea esi, [ebp - 4]
call fcn.00434603
push dword [eax]
push 0
push 0x4e7254
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00407b84
test esi, esi
pop esi
je 0x433df7
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
call fcn.00433ef3
test eax, eax
je 0x433df7
cmp dword [ebp - 4], 0
jne 0x433e00
call fcn.004346b8
test eax, eax
je 0x433e03
xor eax, eax
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
pop edi
leave
ret
Function at 0x433f91
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4d1d48
call fcn.004cc800
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
add edi, 0x1c
xor ebx, ebx
cmp eax, ebx
je 0x433fbd
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
jne 0x4340e5
mov eax, dword [0x50a89c]
mov ecx, 0x50a89c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.00434603
mov byte [ebp - 4], 1
push dword [eax]
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x14]
call fcn.00407cd7
push eax
push str.1.01.21.51.72.02.22.52.73.0
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407b84
cmp dword [ebp - 0x14], ebx
jne 0x43401d
xor eax, eax
jmp 0x434026
push dword [ebp - 0x14]
call fcn.0049cede
pop ecx
lea edx, [ebp - 0x14]
call fcn.00407c7c
mov esi, 0x4e7250
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push eax
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
call fcn.00444eba
jmp 0x4340c1
push eax
call fcn.0049fe92
fstp qword [ebp - 0x24]
mov edx, dword [edi + 4]
test edx, edx
pop ecx
jne 0x43405d
xor ecx, ecx
jmp 0x434065
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x434085
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x434085
mov eax, dword [edi + 8]
fld qword [ebp - 0x24]
fstp qword [eax]
add eax, 8
mov dword [edi + 8], eax
jmp 0x4340a2
mov ebx, dword [edi + 8]
cmp edx, ebx
jbe 0x434091
call fcn.0049bec5
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00445b22
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407b84
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
call fcn.00444eba
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x434048
add eax, 0xfffffff0
call fcn.00407b84
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43433f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x18], 0
jne 0x434375
push esi
lea esi, [ebp - 4]
call fcn.00434603
push dword [eax]
push 2
push 0x4e7264
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00407b84
pop esi
mov eax, dword [edi + 0x18]
leave
ret

Function at 0x43466d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, edi
call fcn.004342c6
test eax, eax
jne 0x434681
push 0x60
pop eax
leave
ret
cmp dword [edi + 8], 0xffffffff
jne 0x4346b3
push esi
lea esi, [ebp - 4]
call fcn.00434603
push dword [eax]
push 0x60
push str.debugdpi
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00407b84
pop esi
mov eax, dword [edi + 8]
leave
ret
Function at 0x4346b8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0xffffffff
jne 0x4346ee
push esi
lea esi, [ebp - 4]
call fcn.00434603
push dword [eax]
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00407b84
pop esi
mov eax, dword [edi + 4]
leave
ret

Function at 0x4346f3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4cfde8
call fcn.004cc800
push ecx
and dword [ebp - 0x10], 0
push edi
mov edi, ecx
add edi, 0x14
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x434767
push esi
lea esi, [ebp - 0x10]
call fcn.00434603
and dword [ebp - 4], 0
push dword [eax]
mov eax, 0x104
push eax
push eax
mov esi, edi
call fcn.00407cd7
push eax
push 0x4e5928
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
mov eax, dword [edi]
test eax, eax
pop esi
je 0x434760
push eax
call fcn.0049cede
pop ecx
mov edx, edi
call fcn.00407c7c
mov eax, dword [edi]
sub eax, 0x10
call fcn.00407b9c
mov ecx, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x4348f1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x434974
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x43493d
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x43493d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x434941
xor eax, eax
jmp 0x434973
mov esi, dword [ebp + 0x10]
push edi
lea edi, [ebx + 1]
push edi
call fcn.004099e9
test eax, eax
je 0x43495f
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0049d7b0
add esp, 0xc
mov eax, edi
call fcn.0040a8ef
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x434aa4
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4d0050
call fcn.004cc800
push ecx
push ecx
mov eax, dword [0x50a89c]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x50a89c
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
lea eax, [edi + 0xc]
jne 0x434adc
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.00406fea
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x434bd2
mov eax, dword [0x50a89c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp + 0x14]
push edi
push str._s_d._s
call fcn.004085c1
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x434bc7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x434bbe
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp + 8], ebx
call fcn.004099e9
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x434bb5
cmp dword [ebp + 8], edi
jne 0x434bb5
mov eax, edi
call fcn.0040a8ef
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.00407b84
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
xor eax, eax
mov edx, esi
call fcn.00409a14
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.00407b84
mov esi, dword [ebp - 0x14]
jmp 0x434b97
Function at 0x434f0a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d0cca
call fcn.004cc800
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
call fcn.00434edc
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00435044
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x43502d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43502a
lea eax, [ebp - 0x24]
mov ebx, vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.gdiplus.dll_GdipNewPrivateFontCollection
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipPrivateAddFontFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sub.gdiplus.dll_GdipGetFontCollectionFamilyCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x435017
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x434fe0
mov ecx, dword [ebp - 0x14]
push 0x433abc
push 0x433ab2
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.0049f115
mov eax, edi
jmp 0x434fe2
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x435017
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.004339e2
test eax, eax
jne 0x435012
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x435012
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x435017
call fcn.00434edc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
call sub.gdiplus.dll_GdipDeletePrivateFontCollection
mov dword [ebp - 0x28], vtable.Gdiplus::FontCollection.0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407b84
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x435152
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0049c4d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call fcn.00407e20
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x4368f9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4cf463
call fcn.004cc800
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 8]
mov ecx, 0x50a89c
mov dword [edi], vtable.BkWin::BkLayoutParam.0
mov dword [edi + 4], eax
call fcn.0040919f
mov byte [ebp - 4], 1
or dword [edi + 0x1c], 0xffffffff
or dword [edi + 0x20], 0xffffffff
mov eax, SysReAllocString
push str.layout_
push esi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], eax
call fcn.00408e24
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x436dfa
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4cf404
call fcn.004cc800
fld dword [0x4ec908]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
or dword [edi + 0x18], 0xffffffff
fstp dword [edi + 0xc]
fld dword [0x4ec90c]
xor ebx, ebx
fstp dword [edi + 0x10]
push 0xa
fld dword [0x4ec910]
pop ebp
mov esi, edi
fstp dword [edi + 0x14]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x11
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00449e69
mov dword [esp + 0x18], ebx
fld dword [0x4ec908]
lea esi, [edi + 0x30]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0xc]
fld dword [0x4ec90c]
mov dword [esi], ebx
fstp dword [esi + 0x10]
mov dword [esi + 4], ebx
fld dword [0x4ec910]
mov dword [esi + 8], 0x11
fstp dword [esi + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00449e69
mov byte [esp + 0x18], 1
push 0x50c25c
mov dword [edi + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43709c
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
mov eax, 0x4d0c64
call fcn.004cc800
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi + 4], vtable.BkWin::IBkWindow.0
mov dword [edi], vtable.CBkWindow.0
mov dword [edi + 4], vtable.CBkWindow.1.0
call fcn.0043705a
push 0x50c25c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0043705a
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.0043705a
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00449145
push 0x50c25c
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 8], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
lea esi, [edi + 0x2c]
mov ecx, 0x50a89c
call fcn.0040919f
mov byte [ebp - 4], 1
xor ebx, ebx
lea esi, [edi + 0x44]
mov ecx, 0x50a89c
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
call fcn.0040919f
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
mov ecx, 0x50a89c
mov dword [edi + 0x48], ebx
call fcn.0040919f
lea esi, [edi + 0x50]
mov ecx, 0x50a89c
mov byte [ebp - 4], 3
call fcn.0040919f
mov byte [ebp - 4], 4
or dword [edi + 0x54], 0xffffffff
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x68], 0xffffffff
lea eax, [edi + 4]
push eax
lea eax, [edi + 0xc4]
mov dword [edi + 0x5c], ebx
mov word [edi + 0x60], bx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], 1
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
push eax
call fcn.004368f9
lea eax, [edi + 0x18]
push eax
mov dword [edi + 0x100], ebx
mov dword [edi + 0x104], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4458cb
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov ebx, eax
mov dword [esp + 0x18], esi
jne 0x445902
mov eax, dword [0x50c29c]
cmp eax, esi
je 0x4458f0
mov ebp, dword [eax + 4]
jmp 0x4458f2
xor ebp, ebp
cmp ebp, esi
jne 0x445902
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x445927
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x445927
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x445927
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
mov dword [ebx + 0x4dc], esi
push ebp
mov dword [eax], esi
call fcn.00446422
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x445952
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x445a41
mov eax, dword [0x50c29c]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x445969
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.0046559c
cmp dword [ebx + 0x4d0], esi
je 0x4459e0
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x24]
je 0x4459c4
push 1
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x24]
je 0x4459e0
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.00446604
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4dc], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x445a25
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x445a25
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x445a25
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x50c29c]
cmp eax, esi
je 0x445a35
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4