joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c445e78
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x7c46bc5d
call sub.MSVCRT40.dll__EH_prolog
sub esp, 4
push ebx
push esi
mov eax, dword [ecx]
push edi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x7c445f42
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x7c445eae
mov edx, dword [ebp + 8]
cmp dword [ebx + 8], edx
jg 0x7c445f15
cmp dword [ebp + 0xc], 0
je 0x7c445f21
test ebx, ebx
je 0x7c445f50
mov eax, dword [ebx + 0xc]
lea edi, [esi + 0x10]
test eax, eax
je 0x7c445fc2
push 2
mov ecx, dword [edi]
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
je 0x7c46bc70
mov eax, dword [ebx + 8]
mov ecx, dword [edi]
sub ecx, eax
shl ecx, 2
shl eax, 2
push ecx
push 0
add eax, dword [ebx + 0xc]
push eax
call sub.MSVCRT40.dll_memset
add esp, 0xc
mov ecx, dword [edi]
mov dword [ebx + 8], ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x7c445fd5
mov dword [esi + 4], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ecx + edx*4], eax
cmp dword [esi], 0xffffffff
jne 0x7c445f30
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
jmp 0x7c445ea2
push 0x10
call sym.MFC40.DLL_Ordinal_730
mov dword [ebp - 0x10], eax
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x7c46bc56
mov ebx, edi
mov dword [edi], vtable.CNoTrackObject.0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [edi], vtable.CThreadData.0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
cmp dword [esi], 0xffffffff
je 0x7c445fb6
push ebx
lea ecx, [esi + 0x18]
call sym.MFC40.DLL_Ordinal_887
cmp dword [esi], 0xffffffff
jne 0x7c445ebc
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x7c445ebc
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x7c445f95
mov eax, dword [edi]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x7c445ed9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x7c445f15
xor ebx, ebx
jmp 0x7c445f81
cmp dword [esi], 0xffffffff
jne 0x7c46bc7f
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call sym.MFC40.DLL_Ordinal_1116
jmp 0x7c445ee6
Function at 0x7c447727
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [ecx]
test esi, esi
jne 0x7c447732
xor eax, eax
pop esi
ret
cmp dword [0x7c506ae8], 0
je 0x7c44772e
mov eax, dword [0x7c506ae8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x7c44772e
cmp dword [eax + 8], esi
jle 0x7c44772e
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
jmp 0x7c447730

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ecx + 0x20]
push edi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x7c4477a8
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x7c447806
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [edi + 8], 1
jle 0x7c447800
mov dword [ebp - 0xc], 8
mov ebx, 4
jmp 0x7c4477cf
mov edi, dword [esi + 4]
jmp 0x7c44777e
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx], 0
je 0x7c4477bd
mov dword [ebp - 4], 0
add ebx, 4
inc dword [ebp - 8]
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 8]
cmp dword [edi + 8], eax
jle 0x7c447800
cmp dword [ebp + 8], 0
je 0x7c4477e4
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
cmp dword [edx + ecx + 4], eax
jne 0x7c4477ad
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x7c4477f4
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [edi + 0xc]
mov dword [eax + ebx], 0
jmp 0x7c4477bd
cmp dword [ebp - 4], 0
jne 0x7c447819
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
lea ecx, [esi + 0x18]
call sym.MFC40.DLL_Ordinal_4945
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x7c447837
push 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x7c447849
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x7c447806
mov dword [esi + 4], 0
jmp 0x7c447806
Function at 0x7c448e62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x7c46c460
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x7c46c467
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
add edi, 0x40
push edi
call dword [sym.imp.MSVCRT40.dll_malloc]
add esp, 4
mov esi, eax
test esi, esi
je 0x7c46c46e
push edi
push dword [ebp - 0xc]
push esi
call sub.MSVCRT40.dll_memcpy
add esp, 0xc
mov edi, dword [esi]
mov dword [ebp - 8], 0x10
add edi, esi
jmp 0x7c448f16
cmp dword [ebp + 0x10], 0
jne 0x7c46c475
mov ebx, dword [eax*8 + 0x7c4d7c94]
push ebx
call dword [sym.imp.USER32.dll_GetSysColor]
movzx eax, ah
push ebx
mov dword [ebp - 4], eax
shl dword [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetSysColor]
movzx eax, al
shl eax, 0x10
push ebx
or dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetSysColor]
shr eax, 0x10
movzx ecx, al
or dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [edi], edx
add edi, 4
dec dword [ebp - 8]
je 0x7c448f31
xor eax, eax
mov edx, 0x7c4d7c90
mov ecx, dword [edi]
cmp dword [edx], ecx
je 0x7c448ec7
add edx, 8
inc eax
cmp edx, sym.MFC40.DLL_Ordinal_3755
jb 0x7c448f1f
jmp 0x7c448f0e
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push ebx
mov dword [ebp - 0x10], eax
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 8], eax
test eax, eax
je 0x7c448faf
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, 1
mov cl, byte [esi + 0xe]
push 0xcc0020
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push 0
shl edx, cl
push esi
lea eax, [eax + edx*4 + 0x28]
push eax
push ebx
push edi
push 0
push 0
push ebx
push edi
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_StretchDIBits]
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.MSVCRT40.dll_free]
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
jmp 0x7c448fc7
xor eax, eax
jmp 0x7c448fc7
xor eax, eax
jmp 0x7c448fc7
cmp dword [eax*8 + 0x7c4d7c94], 0x12
je 0x7c448f0e
mov dword [edi], 0xffffff
jmp 0x7c448f0e
Function at 0x7c44a616
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov dword [ebp - 4], ecx
push esi
push edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x7c44a64c
mov edi, 0xf0
push edi
push dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_1014
mov ebx, eax
push edi
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x7c46c8f5
push esi
mov ecx, dword [ebp - 4]
call sym.MFC40.DLL_Ordinal_2383
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x7c46c908
xor eax, eax
jmp 0x7c44a655
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
jmp 0x7c44a64c

Function at 0x7c44ad5d
Capabilities:
Get disk information

Disassembly:
mov eax, 0x7c46caae
call sub.MSVCRT40.dll__EH_prolog
sub esp, 0x150
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov ebx, 0x104
push eax
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x7c46ca51
lea ecx, [ebp - 0x10]
xor ebx, ebx
call sym.MFC40.DLL_Ordinal_486
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push edi
call sym.MFC40.DLL_Ordinal_1040
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x7c46ca61
test byte [ebp - 0x14], 2
je 0x7c46ca6f
test byte [ebp - 0x14], 4
je 0x7c46ca7b
mov dword [ebp - 4], 0xffffffff
call fcn.7c44adfd
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x7c44adea
mov dword [ebp - 4], 0xffffffff
call fcn.7c44adfd
jmp 0x7c46ca5a
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
jmp 0x7c44adcf
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x7c44add9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x7c44add9

Function at 0x7c44b8cd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, 0x100
cmp edi, eax
ja 0x7c44b902
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, edi
je 0x7c44b90e
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x7c44b920
push esi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x7c44b902
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x7c44ce18
Capabilities:
Allocate thread local storage

Disassembly:
push esi
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], eax
cmp dword [esp + 8], eax
mov dword [ecx + 0x1c], 4
mov dword [ecx + 0xc], 1
mov esi, ecx
je 0x7c44ce61
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x7c46d0a8
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret 4
mov dword [esi], 0xffffffff
jmp 0x7c44ce51
call sym.MFC40.DLL_Ordinal_1116
jmp 0x7c44ce51

Function at 0x7c44eaca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x78], 0
push esi
push edi
je 0x7c44eb26
push dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_3280
mov esi, eax
test esi, esi
je 0x7c46d738
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
mov dword [ebp - 8], 4
push ecx
push edx
push 0
push dword [ebp + 0xc]
push esi
call dword [0x7c503a60]
mov edi, eax
push esi
call dword [0x7c503a30]
test edi, edi
jne 0x7c44eb21
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
jmp 0x7c44eb19
push dword [ecx + 0x8c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x7c44eb19
mov eax, dword [ebp + 0x10]
jmp 0x7c44eb19

Function at 0x7c4501c2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
push 0x118
push 0
mov esi, dword [ebp + 8]
push esi
call sub.MSVCRT40.dll_memset
add esp, 0xc
lea ecx, [esi + 0x12]
push 0x104
push dword [edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x7c450206
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x14]
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x7c46dbe7
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x7c46dbee
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
mov byte [esi + 0x10], 0
call sym.MFC40.DLL_Ordinal_492
mov eax, dword [eax]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
lea edi, [esi + 8]
push ecx
mov dword [esi], eax
lea ecx, [ebp - 4]
call sym.MFC40.DLL_Ordinal_492
mov ecx, dword [eax]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov dword [edi], ecx
push eax
lea ecx, [ebp - 4]
call sym.MFC40.DLL_Ordinal_492
mov eax, dword [eax]
cmp dword [esi], 0
mov dword [esi + 4], eax
je 0x7c46dbf5
cmp dword [edi], 0
jne 0x7c4501f9
jmp 0x7c46dbfc
xor eax, eax
jmp 0x7c4501fe
xor eax, eax
jmp 0x7c4501fe
mov dword [esi], eax
jmp 0x7c45027f
mov dword [edi], eax
jmp 0x7c4501f9
Function at 0x7c4558df
Capabilities:
Create thread
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push 0x1c
push ebx
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT40.dll_memset
add esp, 0xc
call sym.MFC40.DLL_Ordinal_1042
push ebx
mov dword [ebp - 0x1c], eax
push ebx
mov dword [ebp - 0x18], edi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
mov dword [ebp - 0xc], eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x7c46f5a6
cmp dword [ebp - 8], ebx
je 0x7c46f5a6
lea esi, [edi + 0x2c]
add edi, 0x30
push edi
or al, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x7c455a91
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT40.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x7c46f5bb
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 8], 4
je 0x7c45598f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x7c46f587
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7c46f5bb
cmp dword [ebp - 0xc], 0
je 0x7c46f5b5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x7c46f59b
xor eax, eax
jmp 0x7c4559a8

Function at 0x7c4569b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x79
push esi
push edi
mov esi, ecx
je 0x7c46fb43
mov ecx, esi
call sym.MFC40.DLL_Ordinal_2081
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x7c4569c4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
movzx edi, ax
shl edi, 0x10
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
movzx ecx, ax
or edi, ecx
mov eax, dword [esi + 0x20]
push edi
push eax
push 0x7b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x7c4569cb
Function at 0x7c45745a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov eax, dword [esp + 0xc]
mov ebp, esp
sub esp, 4
test eax, eax
push esi
je 0x7c45748e
push 0
lea edx, [ebp - 4]
push edx
push eax
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x7c47004a
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
jmp 0x7c457487
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
jmp 0x7c457484

Function at 0x7c458ab8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
push ebx
push esi
mov eax, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x48]
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push ebp
call sym.MFC40.DLL_Ordinal_1035
mov edi, dword [eax + 0xc]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x7c458bcf
test ebx, ebx
je 0x7c458aed
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x7c470799
mov ecx, esi
xor ebp, ebp
call sym.MFC40.DLL_Ordinal_4684
mov ebx, eax
call sym.MFC40.DLL_Ordinal_1360
push ebx
call sym.MFC40.DLL_Ordinal_2515
test ebx, ebx
je 0x7c458b2a
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x7c458b2a
push ebp
push ebx
mov ebp, 1
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call sym.MFC40.DLL_Ordinal_1045
call sym.MFC40.DLL_Ordinal_1035
cmp dword [eax + 0x1040], 0x410
mov eax, 0
adc eax, 0xffffffff
and eax, edi
push eax
push ebx
call sym.MFC40.DLL_Ordinal_2515
push eax
mov ecx, esi
push dword [esp + 0x18]
call sym.MFC40.DLL_Ordinal_5789
test eax, eax
je 0x7c458b96
test byte [esi + 0x28], 0x10
je 0x7c458b83
mov edi, 4
mov ecx, esi
call sym.MFC40.DLL_Ordinal_3313
test ah, 1
jne 0x7c4707a3
push edi
mov ecx, esi
call sym.MFC40.DLL_Ordinal_5057
push 0x97
xor eax, eax
push eax
mov ecx, esi
push eax
push eax
push eax
push eax
call sym.MFC40.DLL_Ordinal_5490
test ebp, ebp
je 0x7c458ba3
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x7c458bb6
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
je 0x7c4707ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov ecx, esi
call sym.MFC40.DLL_Ordinal_4648
mov eax, dword [esi + 0x30]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push 5
push eax
call sym.MFC40.DLL_Ordinal_1014
mov edi, eax
push 5
push dword [esi + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
jmp 0x7c458ade
mov eax, 0xffffffff
jmp 0x7c458bc7
mov edi, 5
jmp 0x7c458b7b
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x7c458bb6
Function at 0x7c459c12
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov dword [ebp - 4], ecx
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x7c459d15
call sym.MFC40.DLL_Ordinal_1042
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
add eax, 0x20
push ecx
mov dword [ebp - 8], eax
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0
mov ecx, dword [ebp - 4]
push dword [ebp - 0xc]
mov ebx, dword [ecx]
push dword [ebp - 0x10]
call dword [ebx + 0x68]
mov edi, eax
test edi, edi
jl 0x7c459d34
mov ecx, dword [ebp - 4]
call sym.MFC40.DLL_Ordinal_3330
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
call sym.MFC40.DLL_Ordinal_3612
test eax, eax
je 0x7c459d1e
mov ecx, dword [ebp - 0x14]
call sym.MFC40.DLL_Ordinal_3620
test eax, eax
je 0x7c459d1e
mov eax, dword [esi + 0xd0]
mov ebx, 0
test eax, eax
je 0x7c459cac
mov ebx, dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call sym.MFC40.DLL_Ordinal_2515
cmp dword [ebp - 4], eax
je 0x7c459cd1
test eax, eax
jne 0x7c459d28
test ebx, ebx
je 0x7c459cd1
mov ecx, eax
call sym.MFC40.DLL_Ordinal_3330
cmp eax, dword [ebp - 0x14]
je 0x7c459d2d
test edi, edi
jl 0x7c459d6c
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ebx, eax
test ebx, ebx
je 0x7c459d5f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp ebx, eax
jne 0x7c459d40
test edi, edi
jl 0x7c459d6c
mov eax, 0xe000
cmp dword [ebp + 8], eax
je 0x7c459d96
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0xffffffff
jmp 0x7c459c9a
cmp dword [eax + 0x20], ebx
jmp 0x7c459cc3
mov edi, 0xffffffff
jmp 0x7c459cd1
mov dword [esi + 0x104], 0xffffffff
jmp 0x7c459cd1
push ebx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x7c459d03
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x7c470961
cmp dword [eax + 0x20], ebx
je 0x7c459d03
mov edi, 0xffffffff
mov dword [esi + 0x104], edi
jmp 0x7c459d03
cmp dword [esi + 0x104], 0xffffffff
je 0x7c459d84
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx]
call dword [ebx + 0xe0]
jmp 0x7c459d07
push 0xe001
mov eax, dword [ebp - 8]
push dword [eax]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x7c459d75
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call dword [sym.imp.USER32.dll_KillTimer]
test edi, edi
jl 0x7c459d15
push edi
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx]
call dword [ebx + 0xe0]
jmp 0x7c459d15
test ebx, ebx
jmp 0x7c459d5d
Function at 0x7c45d54c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x7c45d581
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x7c4718fd
cmp esi, dword [ebp - 4]
jne 0x7c471911
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
jmp 0x7c45d578
push dword [edi + 0xc]
push 0xffffffffffffffff
push 0xd
call sym.MFC40.DLL_Ordinal_1114
jmp 0x7c45d581

Function at 0x7c45d8cc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call sym.MFC40.DLL_Ordinal_4687
mov esi, eax
cmp dword [edi], 0
je 0x7c45d913
push 0x20
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x20]
push ecx
push dword [ebp + 0x10]
push edx
call fcn.7c45d82a
test eax, eax
je 0x7c4719b3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x18]
lea edx, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea ecx, [ebp - 0x20]
push ecx
push esi
call sym.MFC40.DLL_Ordinal_1099
jmp 0x7c45d90d
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_1060
mov ecx, edi
call sym.MFC40.DLL_Ordinal_2402
jmp 0x7c45d90d

Function at 0x7c45dd6d
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
push dword [ecx + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT40.dll_fwrite]
add esp, 0x10
cmp eax, dword [esp + 0xc]
jne 0x7c471b56
pop esi
ret 8
push dword [esi + 0xc]
call dword [sym.imp.MSVCRT40.dll___doserrno]
push dword [eax]
push 1
call sym.MFC40.DLL_Ordinal_1114
jmp 0x7c45dd90