joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x436190]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x423ced
push dword [ebp + 8]
call fcn.00425fe9
mov esi, eax
test esi, esi
je 0x423d15
push edi
push 4
lea eax, [ebp + 0x10]
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
pop edi
jmp 0x423d15
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x42c9c4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040f147
leave
ret 0xc

Function at 0x423e50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x436190]
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00423e39
cmp dword [esi], 0
mov ebx, eax
je 0x423eb0
push edi
mov edi, dword [ebp + 0x18]
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.0041061a
add esp, 0xc
cmp eax, 1
pop edi
je 0x423ecd
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.00423b02
mov ecx, esi
call fcn.00423d61
jmp 0x423ecd
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.0040e87c
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00423766
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0040f147
leave
ret

Function at 0x4254f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x436190]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x42554e
push 0x42c674
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004105c3
add esp, 0x10
cmp eax, 0xffffffff
je 0x425562
cmp eax, esi
jae 0x425562
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x425564
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x425519
jmp 0x425565
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0040f147
leave
ret
Function at 0x425585
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x436190]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x425627
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x425729
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4256d7
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42572a
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4256cc
cmp dword [ebp - 0x24], 1
jne 0x4256cc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x42c684
push eax
call fcn.0041061a
add esp, 0xc
cmp eax, 1
jne 0x4256cc
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42572a
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x42572a
lea ecx, [ebp - 0x18]
push ecx
push 0x42556f
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x42572a
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x425750
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.004254f0
cmp eax, ebx
pop ecx
pop ecx
jne 0x425752
inc edi
cmp edi, esi
jl 0x425739
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040f147
leave
ret 4
Function at 0x425761
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x4357d4
je 0x42581d
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425805
mov esi, dword [ebx + 4]
jmp 0x4257ff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4257ef
cmp dword [ebp - 0xc], 4
jne 0x4257ef
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x4257e7
or dword [eax + 0x9c], ecx
jmp 0x4257ef
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4257b3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x425796
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x425c0a
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4291c2
call fcn.004101dc
sub esp, 0x11c
mov eax, dword [0x436190]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x425d03
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x425cd7
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00403d90
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00425c0a
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401270
test bl, bl
jne 0x425cd7
or dword [ebp - 4], 0xffffffff
jmp 0x425c48
cmp esi, 0x103
je 0x425ce7
cmp esi, 0x3f2
jne 0x425cf7
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0040f147
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42660b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x426640
cmp edi, dword [esi + 0xc]
jge 0x426640
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x426640
cmp edi, dword [eax + 8]
jge 0x426640
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x426642
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x426746
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42677a
jmp fcn.0041ad43
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x4267eb
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x4268e4
cmp eax, dword [edi + 0xc]
jge 0x4268e4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x42683c
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x4268cd
cmp dword [ebp + 0xc], ebx
je 0x4268cd
jmp 0x426866
push 0x10
call fcn.004264d7
cmp eax, ebx
je 0x426852
mov ecx, eax
call fcn.0042673d
mov esi, eax
jmp 0x426854
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42687d
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x42688d
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x42689f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041ad43
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00410400
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4268df
cmp ecx, dword [esi + 8]
jge 0x4268df
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x4268e5
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4269a4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4269d2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4269f0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042690e
jmp 0x4269f0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4269f0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042690e
test edi, edi
mov eax, edi
jne 0x4269da
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x438e2c]
test ecx, ecx
je 0x426aa3
jmp 0x4269a3
ret 8
Function at 0x41b32c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x41b3de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp byte [eax + 0x1c], 0
jne 0x41b3de
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
xor eax, eax
push ebp
push 0x41b3d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x14]
jne 0x41b38c
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jl 0x41b3c2
test ebx, ebx
je 0x41b3a8
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x41b3ac
mov eax, ebx
mov si, 0xfff0
call sub.AIMP3.dll__System__CallDynaInst_qqrv
test al, al
jne 0x41b3ac
xor eax, eax
jmp 0x41b3ae
mov al, 1
mov byte [ebp - 5], al
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b3de
mov eax, dword [ebp - 4]
mov byte [eax + 4], 0
ret
movzx eax, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x421d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x421dd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [esi + 0x3e4]
mov edx, dword [edx + 0x31c]
call sub.AIMP3.dll__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 1
mov ecx, 0x20
mov edx, 0x20
mov eax, dword [esi + 0x3ec]
call sub.AIMP3.dll__Acl_Gdiplus_TACLGdiplusImage_CloneAsBitmap_qqriio
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call sub.AIMP3.dll__Vcl_Graphics_TBitmap_SetHandle_qqrp9HBITMAP__
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [esi + 0x3d8]
call sub.AIMP3.dll__Acl_Listview_TACLCustomListView_GetCount_qqrv
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x421dba
inc ebx
mov dword [ebp - 8], 0
push 0
mov eax, dword [esi + 0x3d8]
mov eax, dword [eax + 0x2e4]
mov edx, dword [ebp - 8]
call sub.AIMP3.dll__Acl_Listview_TACLListViewCustomItems_GetItem_qqri
lea ecx, [ebp - 0xc]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ecx
call sub.AIMP3.dll__Acl_Classes_TACLStringList_Add_qqrx20System_UnicodeStringxp14System_TObject45System__DelphiInterface_t17System_
inc dword [ebp - 8]
dec ebx
jne 0x421d81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421dd7
lea eax, [ebp - 0xc]
call sub.AIMP3.dll__System__UStrClr_qqrpv
ret
Function at 0x414be1
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x414c79
push edi
push 0x48be10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x48b9c8]
test edi, edi
je 0x414c4d
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414c46
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x48b9c8
call fcn.00427f5a
pop ecx
pop ecx
jmp 0x414c48
mov edi, dword [edi]
test edi, edi
jne 0x414c1d
pop ebx
mov eax, dword [0x48a104]
mov esi, eax
inc eax
push 0x10
push 0x48b9c8
mov dword [0x48a104], eax
call fcn.00427f9a
pop ecx
pop ecx
push 0x48be10
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x414c81
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.00414b95
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x48be10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x48b9c8]
jmp 0x414cb2
cmp dword [esi + 0xc], edi
je 0x414cb8
mov esi, dword [esi]
test esi, esi
jne 0x414cab
jmp 0x414cd0
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x48b9c8
call fcn.00427f5a
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4
Function at 0x415195
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x48b9cc]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.0042788c
mov esi, eax
test esi, esi
je 0x41532a
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x41523f
push ebx
call fcn.00415954
jmp 0x4151d7
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x4151cf
push dword [esi + 0x14]
call fcn.00415c4a
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.00415120
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x415334
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41521c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x41522d
push dword [esp + 0x20]
push ebx
call fcn.00414d7d
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x4152df
test byte [esp + 0x1c], 1
je 0x41524e
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x4152e9
push esi
call fcn.00415729
lea eax, [esi + 4]
push 0x10
push eax
call fcn.00427f9a
pop ecx
pop ecx
mov ecx, dword [0x48b9e0]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x41532a
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], al
mov byte [edi + 4], 1
mov eax, dword [esp + 0x18]
push dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x20], 0xffffffff
je 0x4152ca
push edi
push dword [esp + 0x24]
push ebx
call fcn.00414cdd
jmp 0x4152d7
mov eax, dword [esp + 0x18]
push dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
jmp 0x41532a
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esp + 0x20], 0xffffffff
je 0x41530b
push dword [esp + 0x20]
push ebx
call fcn.00414d7d
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x41532a
xor edi, edi
mov byte [esi + 0x1c], 1
inc edi
mov byte [esi + 0x1e], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x4163f1
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x416446
push dword [esp + 0x10]
push 0x416370
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x48ba30]
test esi, esi
je 0x41649f
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41643e
cmp byte [esi + 0x10], 0
je 0x41643e
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x41641a
jmp 0x41649f
mov esi, dword [0x48ba30]
test esi, esi
je 0x41649f
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x416498
cmp byte [esi + 0x11], 0
je 0x416474
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x41648b
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x48ba30
call fcn.00427f5a
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x416453
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x416e61
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 1
call edi
mov ebx, 0x8000
test bx, ax
je 0x416e7b
inc esi
push 2
call edi
test bx, ax
je 0x416e87
or esi, 2
push 4
call edi
test bx, ax
je 0x416e93
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x417429
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x417461
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.00418067
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x417552
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x417552
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x417580
test ebp, ebp
jle 0x417580
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x417580
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x417549
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x4174f3
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x417508
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x417580
cmp dword [edi + 0x10], ebx
je 0x41756c
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x417580
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.00418045
cmp dword [esp + 0x10], 0
je 0x41759a
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret