joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f410a0d
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5f410a39
push 0x3b
push str.afxcmn.inl
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f410a39
int3
xor edx, edx
test edx, edx
jne 0x5f410a17
push 0
mov eax, dword [ebp + 8]
push eax
push 0x419
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f413f26
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5f413f55
push 0x192
push str.afxcmn.inl
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f413f55
int3
xor edx, edx
test edx, edx
jne 0x5f413f30
mov eax, dword [ebp + 8]
push eax
push 0
push 0x419
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f419536
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5f419565
push 0xc5
push str.afxcmn2.inl
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f419565
int3
xor edx, edx
test edx, edx
jne 0x5f419540
push 0
push 0
push 0x419
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f4199f6
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5f419a25
push 0xe4
push str.afxcmn2.inl
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f419a25
int3
xor edx, edx
test edx, edx
jne 0x5f419a00
push 0
push 0
push 0x419
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f427de7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0xed
push str.filecore.cpp
mov eax, dword [ebp - 8]
push eax
call sym.MFC42D.DLL_Ordinal_1042
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
jne 0x5f427e23
push 0xee
push str.filecore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f427e23
int3
xor edx, edx
test edx, edx
jne 0x5f427e06
cmp dword [ebp + 0xc], 0
jne 0x5f427e34
jmp 0x5f427ed5
cmp dword [ebp + 8], 0
jne 0x5f427e4e
push 0xf3
push str.filecore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f427e4e
int3
xor eax, eax
test eax, eax
jne 0x5f427e34
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.MFC42D.DLL_Ordinal_1122
test eax, eax
jne 0x5f427e7b
push 0xf4
push str.filecore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f427e7b
int3
xor eax, eax
test eax, eax
jne 0x5f427e54
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5f427eb8
mov ecx, dword [ebp - 8]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x5f427ed5
mov ecx, dword [ebp - 8]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
push 0xffffffffffffffff
push 0xd
call sym.MFC42D.DLL_Ordinal_1169
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f42889f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4a6bbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
push edi
push 1
push 0x104
mov eax, dword [ebp + 8]
push eax
call sym.MFC42D.DLL_Ordinal_1122
test eax, eax
jne 0x5f4288e8
push 0x216
push str.filecore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f4288e8
int3
xor ecx, ecx
test ecx, ecx
jne 0x5f4288c0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x5f42893e
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x5f428924
mov ecx, dword [ebp + 0xc]
push ecx
push str.Warning:_could_not_parse_the_path__s._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
push 0x104
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x5f428a31
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.MFC42D.DLL_Ordinal_1108
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x5f4289b6
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_880
push eax
push str.Warning:_could_not_get_volume_information__s._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x164]
jmp 0x5f428a31
mov edx, dword [ebp - 0x18]
and edx, 2
test edx, edx
jne 0x5f4289ca
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov ecx, dword [ebp - 0x18]
and ecx, 4
test ecx, ecx
jne 0x5f428a12
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xffffffff
je 0x5f428a12
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x168], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f4294cf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x86
push str.filetxt.cpp
mov eax, dword [ebp - 8]
push eax
call sym.MFC42D.DLL_Ordinal_1042
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
jne 0x5f42950b
push 0x87
push str.filetxt.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f42950b
int3
xor edx, edx
test edx, edx
jne 0x5f4294ee
cmp dword [ebp + 0xc], 0
jne 0x5f42951e
xor eax, eax
jmp 0x5f4295e0
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.MFC42D.DLL_Ordinal_1122
test eax, eax
jne 0x5f429545
push 0x8c
push str.filetxt.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f429545
int3
xor edx, edx
test edx, edx
jne 0x5f42951e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRTD.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5f4295a1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0xc]
and eax, 0x10
test eax, eax
jne 0x5f4295a1
mov ecx, dword [ebp - 8]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.MSVCRTD.dll___doserrno]
mov ecx, dword [eax]
push ecx
push 1
call sym.MFC42D.DLL_Ordinal_1169
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
and ecx, 0x20
test ecx, ecx
je 0x5f4295dd
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.MSVCRTD.dll_clearerr]
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.MSVCRTD.dll___doserrno]
mov ecx, dword [eax]
push ecx
push 1
call sym.MFC42D.DLL_Ordinal_1169
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5f4295e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x9c
push str.filetxt.cpp
mov eax, dword [ebp - 4]
push eax
call sym.MFC42D.DLL_Ordinal_1042
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
jne 0x5f429623
push 0x9d
push str.filetxt.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f429623
int3
xor edx, edx
test edx, edx
jne 0x5f429606
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.MFC42D.DLL_Ordinal_1122
test eax, eax
jne 0x5f429650
push 0x9e
push str.filetxt.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f429650
int3
xor edx, edx
test edx, edx
jne 0x5f429629
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRTD.dll_fwrite]
add esp, 0x10
cmp eax, dword [ebp + 0xc]
je 0x5f429691
mov ecx, dword [ebp - 4]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.MSVCRTD.dll___doserrno]
mov ecx, dword [eax]
push ecx
push 1
call sym.MFC42D.DLL_Ordinal_1169
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f42a8e9
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
push 0x5e
push str.filest.cpp
mov eax, dword [ebp - 0x2c]
push eax
call sym.MFC42D.DLL_Ordinal_1042
push 0x118
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRTD.dll_memset
add esp, 0xc
push 0x104
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
mov edx, dword [ebp + 8]
add edx, 0x12
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0xffffffff
je 0x5f42aa71
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x5f42a964
xor eax, eax
jmp 0x5f42aa76
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0xffffffff
jne 0x5f42a989
xor eax, eax
jmp 0x5f42aa76
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_3355
test eax, eax
je 0x5f42a9a1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x10], 0
jmp 0x5f42a9ea
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x5f42a9c5
mov edx, dword [ebp + 8]
mov byte [edx + 0x10], 0
jmp 0x5f42a9ea
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x10], cl
mov edx, dword [ebp - 0x1c]
and dl, 0
test edx, edx
je 0x5f42a9ea
push str.Warning:_CFile::GetStatus___returns_m_attribute_without_high_order_flags._n
push 0x5f4abab0
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call sym.MFC42D.DLL_Ordinal_505
push eax
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_739
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
call sym.MFC42D.DLL_Ordinal_505
push eax
mov ecx, dword [ebp + 8]
add ecx, 8
call sym.MFC42D.DLL_Ordinal_739
push 0xffffffffffffffff
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_505
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call sym.MFC42D.DLL_Ordinal_739
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_3112
test eax, eax
jne 0x5f42aa50
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_739
mov ecx, dword [ebp + 8]
add ecx, 8
call sym.MFC42D.DLL_Ordinal_3112
test eax, eax
jne 0x5f42aa71
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov ecx, dword [ebp + 8]
add ecx, 8
call sym.MFC42D.DLL_Ordinal_739
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x5f42ac70
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5f42acac
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
cmp edx, dword [ebp - 0xc]
je 0x5f42ace8
mov eax, dword [ebp - 0xc]
and eax, 1
test eax, eax
je 0x5f42ace8
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x5f42ace8
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov ecx, dword [ebp + 0xc]
add ecx, 4
call sym.MFC42D.DLL_Ordinal_3112
test eax, eax
je 0x5f42add5
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
call sym.MFC42D.DLL_Ordinal_1176
add esp, 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
add ecx, 8
call sym.MFC42D.DLL_Ordinal_3112
test eax, eax
je 0x5f42ad3c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
call sym.MFC42D.DLL_Ordinal_1176
add esp, 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
call sym.MFC42D.DLL_Ordinal_3112
test eax, eax
je 0x5f42ad5e
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sym.MFC42D.DLL_Ordinal_1176
add esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 0x10], eax
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x5f42ad91
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x5f42adb9
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x5f42add5
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
cmp edx, dword [ebp - 0xc]
je 0x5f42ae11
mov eax, dword [ebp - 0xc]
and eax, 1
test eax, eax
jne 0x5f42ae11
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x5f42ae11
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC42D.DLL_Ordinal_5003
mov esp, ebp
pop ebp
ret 8
Function at 0x5f42e10b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5f42e13c
push 0x432
push str.wincore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f42e13c
int3
xor edx, edx
test edx, edx
jne 0x5f42e117
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x5f42e188
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_2295
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_4302
jmp 0x5f42e1a0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x3c]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [edx]
call dword [eax + 0x90]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f42e1a9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5f42e1da
push 0x447
push str.wincore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f42e1da
int3
xor edx, edx
test edx, edx
jne 0x5f42e1b5
push sym.MFC42D.DLL_Ordinal_5105
mov ecx, dword [ebp + 0xc]
call sym.MFC42D.DLL_Ordinal_736
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
jne 0x5f42e247
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5f42e245
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call sym.MFC42D.DLL_Ordinal_2295
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call sym.MFC42D.DLL_Ordinal_4302
jmp 0x5f42e268
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_2435
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5f42e268
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
call sym.MFC42D.DLL_Ordinal_3174
mov ecx, dword [ebp + 0xc]
call sym.MFC42D.DLL_Ordinal_2640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f4311b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call sym.MFC42D.DLL_Ordinal_3065
and eax, 0x40000000
test eax, eax
jne 0x5f431220
call sym.MFC42D.DLL_Ordinal_1098
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5f431220
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x5f431220
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x5f431220
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x5f431220
push 0
push 0xe146
push 0x111
mov ecx, dword [ebp - 4]
call sym.MFC42D.DLL_Ordinal_4475
mov eax, 1
jmp 0x5f431228
mov ecx, dword [ebp - 8]
call sym.MFC42D.DLL_Ordinal_1774
mov esp, ebp
pop ebp
ret 4

Function at 0x5f431a18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x5f431aad
push 0xf0
mov eax, dword [ebp + 8]
push eax
call sym.MFC42D.DLL_Ordinal_1078
mov dword [ebp - 0x10], eax
push 0xf0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5f431aad
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5f431a80
xor eax, eax
jmp 0x5f431ade
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5f431aa7
push 0xcba
push str.wincore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f431aa7
int3
xor eax, eax
test eax, eax
jne 0x5f431a8d
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x18]
call sym.MFC42D.DLL_Ordinal_2101
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x5f431adb
cmp dword [ebp - 8], 0
je 0x5f431adb
mov edx, dword [ebp - 8]
push edx
call sym.MFC42D.DLL_Ordinal_5041
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5f433bad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
push 5
mov eax, dword [ebp + 8]
push eax
call sym.MFC42D.DLL_Ordinal_1078
mov dword [ebp - 4], eax
push 5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5f433c0c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5f433c26
push 0xeb
push str.dlgcore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f433c26
int3
xor eax, eax
test eax, eax
jne 0x5f433c0c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call sym.MFC42D.DLL_Ordinal_1647
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
call sym.MFC42D.DLL_Ordinal_5041
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8