joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412888
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4abcd1
call fcn.0049f0d0
sub esp, 0x25c
mov eax, dword [0x4f0dd0]
push ebx
push edi
xor ebx, ebx
push ebx
xor eax, ebp
push 2
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x23d], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x248], edi
jne 0x4128c9
mov al, 1
jmp 0x412a69
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x412a57
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0043d136
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x244]
call fcn.00402ce0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.Thunder.exe
push dword [ebp - 0x244]
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x41294a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
jne 0x412978
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov esi, eax
call fcn.004014d5
cmp esi, ebx
jne 0x4128e9
jmp 0x412a56
push ebx
push str.XLUEFrameHostWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x412a48
lea ecx, [ebp - 0x24c]
push ecx
push 0x3e8
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x4129da
push dword [0x4ed1a0]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
mov edi, eax
je 0x4129d2
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xb7
jne 0x412a48
cmp dword [0x4f44e4], ebx
jne 0x412a02
mov esi, dword [0x53aef0]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x4116af
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4f44e4], eax
push 1
push dword [0x4f44ec]
push 0x4bad68
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x412a48
push dword [ebp - 0x234]
mov byte [ebp - 0x23d], bl
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x412a48
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.004014d5
pop esi
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x23d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret
Function at 0x412db2
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebp
push dword [0x4ed1ac]
xor ebp, ebp
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebp
je 0x412dd4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x412e35
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push dword [0x4ed1a4]
push 1
push ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
push dword [0x4ed1a8]
mov dword [esp + 0x14], eax
push 1
push ebp
call esi
mov ebp, eax
call edi
mov ecx, 0xb7
cmp eax, ecx
je 0x412e18
cmp dword [esp + 0x10], ecx
je 0x412e18
xor al, al
jmp 0x412e32
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push ebp
call esi
push ebp
call edi
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x413948
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
and word [ebp - 0x20c], 0
xor eax, ebp
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push str._task:newtask
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049f127
leave
ret

Function at 0x4139b3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
and word [ebp - 0x20c], 0
xor eax, ebp
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push str._task:startall
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049f127
leave
ret

Function at 0x413a1e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
and word [ebp - 0x20c], 0
xor eax, ebp
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push str._task:pauseall
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049f127
leave
ret
Function at 0x41adce
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x4ac418
call fcn.0049f0d0
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x4b8650
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
and dword [ebp - 4], 0
push edi
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push edi
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, 0x4b82fc
push edi
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push edi
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ebx, [esi + 0xa8]
push edi
mov ecx, ebx
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 6
je 0x41ae86
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ae86
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll__wmkdir]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41b0d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41b0fe
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
mov ecx, dword [esi]
push dword [ebp + 8]
call fcn.0040cecc
pop esi
leave
ret 8

Function at 0x41b2f3
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x4ac4a7
call fcn.0049f0d0
sub esp, 0x218
mov eax, dword [0x4f0dd0]
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
je 0x41b429
test ebx, ebx
je 0x41b429
test edi, edi
je 0x41b429
add ecx, 0xa8
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x41b370
mov ecx, dword [ebp - 0x21c]
add ecx, 0xa8
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll__wmkdir]
pop ecx
mov ecx, dword [ebp - 0x21c]
push ebx
add ecx, 0xa8
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x41b3b5
mov ecx, dword [ebp - 0x21c]
push edi
lea eax, [ebp - 0x218]
push eax
push 1
call fcn.0041af3b
jmp 0x41b425
push 0x24
call fcn.0049ecb8
mov esi, eax
pop ecx
mov dword [ebp - 0x224], esi
and dword [ebp - 4], 0
test esi, esi
je 0x41b3db
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [esi + 0x1c], 0
jmp 0x41b3dd
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push dword [ebp - 0x21c]
mov dword [esi + 0x20], edi
lea edi, [esi + 0x1c]
push 0x41b129
mov ecx, edi
call fcn.0041b0d0
mov edi, dword [edi]
push esi
push edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
call fcn.00472046
mov ecx, eax
call fcn.00471a35
mov al, 1
jmp 0x41b42b
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 0xc
Function at 0x41b4c8
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x4ac4c5
call fcn.0049f0d0
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edi, [esi + 0x14]
push 0x4b82fc
mov ecx, edi
mov dword [ebp - 4], eax
mov byte [esi + 0x10], al
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x4f2b88
mov ecx, edi
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.Wizard_
mov ecx, edi
call dword [0x4b7454]
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b53c
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll__wmkdir]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41b830
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ac53e
call fcn.0049f0d0
sub esp, 0x60
mov eax, dword [0x4f0dd0]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b860
xor al, al
jmp 0x41b9e7
push edi
lea ecx, [ebp - 0x6c]
call fcn.0040847b
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], edi
call fcn.004090e2
push esi
lea ecx, [ebp - 0x6c]
call fcn.00409138
test al, al
lea ecx, [ebp - 0x68]
jne 0x41b894
call fcn.004068ed
xor bl, bl
jmp 0x41b9d8
call fcn.004068ed
lea ecx, [ebp - 0x6c]
call fcn.0040673f
mov esi, eax
mov dword [ebp - 0x38], esi
cmp esi, edi
mov byte [ebp - 4], 1
je 0x41b88d
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp eax, edi
je 0x41b9cb
push str.app_list
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x41b9cb
lea ecx, [esi + 0x80]
call fcn.00465347
cmp eax, edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], edi
jbe 0x41b9c3
push dword [ebp - 0x34]
mov ecx, esi
call fcn.004075d2
mov edi, eax
mov dword [ebp - 0x44], edi
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push 0x4bc170
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x41b9a5
push str.OpenApp_
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406b0a
push 0xc4
mov byte [ebp - 4], 3
call fcn.0049ecb8
add esp, 0x10
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x41b962
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0041adce
mov esi, eax
jmp 0x41b964
xor esi, esi
mov dword [ebp - 0x30], esi
push edi
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0041b5c2
test al, al
je 0x41b989
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
mov dword [ebp - 0x3c], esi
call fcn.0041b582
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0041b051
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [ebp - 0x38]
test edi, edi
mov byte [ebp - 4], 1
je 0x41b9b4
mov ecx, edi
call fcn.004063b8
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x40]
jb 0x41b8ed
mov byte [ebx + 0x10], 1
mov bl, 1
jmp 0x41b9cd
xor bl, bl
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.004063b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00407c94
mov al, bl
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 4
Function at 0x41d28d
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x41d2cd
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], 0
je 0x41d2cd
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push eax
call ebx
test eax, eax
je 0x41d2cd
push dword [esi + 4]
call ebx
test eax, eax
je 0x41d2cd
push dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x41d2cf
xor al, al
pop edi
pop esi
pop ebx
ret 4
Function at 0x422251
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4aceaf
call fcn.0049f0d0
sub esp, 0x38
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
je 0x4222c0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x20c]
mov byte [ebp - 4], 1
call fcn.0043ee18
lea ecx, [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x4222d0
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4223a2
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4acefc
call fcn.0049f0d0
sub esp, 0x70
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
je 0x42245e
push dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x20c]
mov byte [ebp - 4], 2
call fcn.0043e995
push 0x800
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
mov esi, 0x4f49c8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x422479
push esi
push 0x800
mov esi, 0x4f49c8
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x42283b
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetForegroundWindow]
push esi
push edi
call ebp
mov esi, dword [esp + 0x18]
cmp eax, esi
je 0x4228ec
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
call edi
mov ebx, eax
push 0
mov dword [esp + 0x14], ebx
call ebp
push eax
call edi
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4228fa
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
call edi
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
call edi
call ebp
cmp eax, esi
je 0x4228e7
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor ebp, ebp
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x2000
call edi
push 2
push ebp
push ebp
mov ebp, 0x2001
push ebp
call edi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 2
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call edi
jmp 0x4228fa
push esi
call ebx
jmp 0x4228f3
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret