joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f4349dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x48]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x44], 0
je 0x5f434a39
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x44]
push eax
call sym.MFC42D.DLL_Ordinal_1078
mov dword [ebp - 0x10], eax
push 5
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5f434a4c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x5f434adf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cx, word [eax + 2]
cmp ecx, 0xffff
jne 0x5f434a97
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0x12]
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 0x14]
mov word [ebp - 0x1c], cx
jmp 0x5f434aad
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xa]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x20]
and eax, 0x1801
test eax, eax
jne 0x5f434ad2
movsx ecx, word [ebp - 0x18]
test ecx, ecx
jne 0x5f434ad2
movsx edx, word [ebp - 0x1c]
test edx, edx
jne 0x5f434ad2
mov dword [ebp - 0x28], 1
jmp 0x5f434ad9
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x44], 0
jne 0x5f434af1
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x48], 0
je 0x5f434afa
mov eax, dword [ebp - 4]
push eax
call sym.MFC42D.DLL_Ordinal_5041
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x44], 0
je 0x5f434b0d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x5f434ca6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x5f434cc9
push 0x339
push str.dlgcore.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f434cc9
int3
xor eax, eax
test eax, eax
jne 0x5f434caf
push 5
mov ecx, dword [ebp + 8]
push ecx
call sym.MFC42D.DLL_Ordinal_1078
mov dword [ebp - 8], eax
push 5
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5f434d3c
mov ecx, dword [ebp + 8]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
test ecx, ecx
je 0x5f434d1f
mov edx, dword [ebp + 8]
push edx
push str.ERROR:_Cannot_find_dialog_template_named__s._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
jmp 0x5f434d35
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
push str.ERROR:_Cannot_find_dialog_template_with_IDD_0x_04X._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
xor eax, eax
jmp 0x5f434e68
cmp dword [ebp + 0xc], 0
jne 0x5f434d4c
mov eax, 1
jmp 0x5f434e68
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5f434d7f
push str.Warning:_LoadResource_failed_for_dialog_template._n
push 0x5f4abab0
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
mov eax, 1
jmp 0x5f434e68
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 2]
cmp edx, 0xffff
jne 0x5f434da8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x5f434db0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], 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 - 0x14]
and eax, 0x10000000
test eax, eax
je 0x5f434e12
mov ecx, dword [ebp + 8]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
test ecx, ecx
je 0x5f434df8
mov edx, dword [ebp + 8]
push edx
push str.ERROR:_Dialog_named__s_must_be_invisible._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
jmp 0x5f434e0e
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
push str.ERROR:_Dialog_with_IDD_0x_04X_must_be_invisible._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
xor eax, eax
jmp 0x5f434e68
mov ecx, dword [ebp - 0x14]
and ecx, 0x40000000
test ecx, ecx
jne 0x5f434e63
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
test edx, edx
je 0x5f434e48
mov eax, dword [ebp + 8]
push eax
push str.ERROR:_Dialog_named__s_must_have_the_child_style._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
jmp 0x5f434e5f
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
push str.ERROR:_Dialog_with_IDD_0x_04X_must_have_the_child_style._n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
xor eax, eax
jmp 0x5f434e68
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f435126
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 5
mov eax, dword [ebp + 8]
push eax
call sym.MFC42D.DLL_Ordinal_1078
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5f435147
xor eax, eax
jmp 0x5f4351b5
push 5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5f435164
xor eax, eax
jmp 0x5f4351b5
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x14]
call sym.MFC42D.DLL_Ordinal_4876
mov eax, dword [ebp - 0x10]
push eax
call sym.MFC42D.DLL_Ordinal_5041
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x5f439353
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x5f4393be
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x70
jne 0x5f4393be
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and eax, 0x4000
test eax, eax
jne 0x5f4393be
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x5f4393be
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x5f4393be
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x5f4393be
mov dword [ebp - 4], 1
jmp 0x5f4393c5
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x5f441524
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
ja 0x5f441573
push 0x100
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, dword [ebp - 4]
jne 0x5f441573
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x5f441581
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esp, ebp
pop ebp
ret 8

Function at 0x5f441f7a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 0x24
call sym.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x5f441fd0
push 1
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
call dword [edx + 0xa0]
test eax, eax
jne 0x5f441fce
push str.Warning:_File_save_with_new_name_failed._n
push 0x5f4abab0
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
xor eax, eax
jmp 0x5f44200b
jmp 0x5f442006
push 1
mov ecx, dword [ebp - 8]
add ecx, 0x24
call sym.MFC42D.DLL_Ordinal_880
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
call dword [edx + 0xa0]
test eax, eax
jne 0x5f442006
push str.Warning:_File_save_failed._n
push 0x5f4abab0
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
xor eax, eax
jmp 0x5f44200b
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x5f456873
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
push 0x213
push str.dockstat.cpp
mov eax, dword [ebp - 0x14]
push eax
call sym.MFC42D.DLL_Ordinal_1042
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x58], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 0xd0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x74], 0
je 0x5f4569ab
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_454
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
call sym.MFC42D.DLL_Ordinal_3170
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x74]
call sym.MFC42D.DLL_Ordinal_4433
lea ecx, [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_5005
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x78], 0
jne 0x5f456935
push 0x222
push str.dockstat.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f456935
int3
xor edx, edx
test edx, edx
jne 0x5f456918
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x78]
add eax, 0x94
mov ecx, dword [ebp + 8]
add ecx, 0x28
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xa4]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x78]
mov ecx, dword [eax + 0xa8]
mov edx, dword [eax + 0xac]
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 0xd8]
test eax, eax
je 0x5f4569c9
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call sym.MFC42D.DLL_Ordinal_2267
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5f4569d2
Capabilities:
Resolve function by parsing pe exports

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 edx, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0xd8]
test eax, eax
je 0x5f456a05
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_4546
jmp 0x5f456b09
mov dword [ebp - 4], 0x15
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x74], 0
jne 0x5f456a1d
mov eax, dword [ebp - 4]
or al, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x58], eax
push 0x46
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
call dword [eax + 0xc4]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x20], 0
je 0x5f456ad6
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x78], 0
jne 0x5f456a69
push 0x242
push str.dockstat.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f456a69
int3
xor eax, eax
test eax, eax
jne 0x5f456a4c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x90], ecx
mov edx, dword [ebp + 8]
add edx, 0x28
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x78]
add ecx, 0x94
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0xa4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x78]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
neg eax
sbb eax, eax
and al, 0xc0
add eax, 0x80
mov ecx, dword [ebp - 4]
or ecx, eax
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push 0
mov ecx, dword [ebp - 0x10]
call sym.MFC42D.DLL_Ordinal_4932
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f458018
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_4199
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x5f458077
push 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.5f457dd4
test eax, eax
jne 0x5f458075
push 0xffffffffffffffff
push 0
mov edx, dword [ebp + 0x14]
push edx
call sym.MFC42D.DLL_Ordinal_1135
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_2114
jmp 0x5f458096
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call sym.MFC42D.DLL_Ordinal_1160
mov dword [ebp - 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x5f4582ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_4199
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x5f458302
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_2295
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_4302
jmp 0x5f458314
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_880
push eax
mov eax, dword [ebp - 4]
push eax
call sym.MFC42D.DLL_Ordinal_1160
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5f45831a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
cmp dword [ebp + 0x14], 0
jne 0x5f45833d
push 0x108
push str.dlgdata.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f45833d
int3
xor eax, eax
test eax, eax
jne 0x5f458323
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_4199
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x5f458397
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
jle 0x5f458395
mov edx, dword [ebp + 0xc]
push edx
push str.Text_in_control_ID__d_is_too_long._Call_DDV_MaxChars____n
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
jmp 0x5f4583a4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sym.MFC42D.DLL_Ordinal_1160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5f458706
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_4198
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x5f45877f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x5f458756
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_2295
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5f458773
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_2291
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_4302
jmp 0x5f4587b0
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_880
push eax
push 0xffffffffffffffff
push 0x14d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x5f4587b0
mov ecx, dword [ebp + 0x10]
call sym.MFC42D.DLL_Ordinal_880
push eax
mov edx, dword [ebp - 4]
push edx
call sym.MFC42D.DLL_Ordinal_1160
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5f4590ef
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
cmp dword [ebp + 0x10], 0
jne 0x5f45910f
push 0x32
push str.dlgfloat.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f45910f
int3
xor eax, eax
test eax, eax
jne 0x5f4590f8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_4199
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x5f459183
push 0x20
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.5f459030
test eax, eax
jne 0x5f459163
push 0xffffffffffffffff
push 0
push 0xf111
call sym.MFC42D.DLL_Ordinal_1135
mov ecx, dword [ebp + 8]
call sym.MFC42D.DLL_Ordinal_2114
cmp dword [ebp + 0x1c], 6
jne 0x5f459173
fld qword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
jmp 0x5f459181
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
jmp 0x5f4591ae
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push str._.g
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.MSVCRTD.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sym.MFC42D.DLL_Ordinal_1160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x5f45f6cf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 8]
call sym.MFC42D.DLL_Ordinal_422
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
xor edx, edx
test ecx, ecx
setge dl
dec edx
and edx, 0xfffffff1
add edx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 0xd
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x1b
ja case.0x5f45f734.6
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [eax + 0x5f45f8c4]
jmp dword [edx*4 + 0x5f45f8a8]
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
call dword [edx + 0x124]
jmp 0x5f45f8a2
push 1
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [edx + 0x124]
jmp 0x5f45f8a2
mov dword [ebp - 0x10], 0xffffffff
jmp 0x5f45f796
mov dword [ebp - 0x10], 1
jmp 0x5f45f796
mov dword [ebp - 0x14], 0xffffffff
jmp 0x5f45f796
mov dword [ebp - 0x14], 1
jmp 0x5f45f796
mov ecx, dword [ebp - 0x18]
call sym.MFC42D.DLL_Ordinal_1774
jmp 0x5f45f8a2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc4], 1
je 0x5f45f7ba
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc4], 0x65
jl 0x5f45f7c1
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xc4], 0x73
jg 0x5f45f7c1
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc4], 2
je 0x5f45f7eb
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc4], 0xc9
jl 0x5f45f7f2
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xc4], 0xd7
jg 0x5f45f7f2
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x18]
call sym.MFC42D.DLL_Ordinal_4432
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x98]
jge 0x5f45f838
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x98]
mov dword [ebp - 4], edx
jmp 0x5f45f852
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0xa0]
jle 0x5f45f852
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xa0]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x94]
jge 0x5f45f86e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x94]
mov dword [ebp - 8], ecx
jmp 0x5f45f888
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x9c]
jle 0x5f45f888
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x9c]
mov dword [ebp - 8], edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
call sym.MFC42D.DLL_Ordinal_1504
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov esp, ebp
pop ebp
ret 0xc