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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov dword [ebp - 4], ecx
push esi
push edi
mov edi, 0xf1
push edi
push dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_1014
mov esi, eax
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x7c472936
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x7c47293d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x7c472944
movzx eax, word [esi + 6]
shl eax, 2
push eax
call sym.MFC40.DLL_Ordinal_729
mov ecx, eax
add esp, 4
mov edi, eax
lea edx, [esi + 8]
xor eax, eax
movzx ebx, word [esi + 6]
cmp ebx, eax
jle 0x7c45f3e5
movzx ebx, word [edx]
add edx, 2
inc eax
mov dword [ecx], ebx
add ecx, 4
jmp 0x7c45f3cf
movzx eax, word [esi + 6]
push eax
mov ecx, dword [ebp - 4]
push edi
call sym.MFC40.DLL_Ordinal_5214
mov ebx, eax
push edi
call sym.MFC40.DLL_Ordinal_731
add esp, 4
test ebx, ebx
je 0x7c45f433
movzx ecx, word [esi + 2]
movzx eax, word [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
add ecx, 7
add eax, 7
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 4]
call sym.MFC40.DLL_Ordinal_5444
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call sym.MFC40.DLL_Ordinal_3643
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x7c45f435
xor eax, eax
jmp 0x7c45f435
xor eax, eax
jmp 0x7c45f435

Function at 0x7c462e5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push ebp
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x7c462eb1
mov ebp, 0x18000000
jmp 0x7c462ea3
mov eax, dword [esi + 0x20]
cmp edi, eax
je 0x7c462e94
push edi
push eax
call sym.MFC40.DLL_Ordinal_1049
test eax, eax
jne 0x7c47426a
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x7c462eb1
push edi
call sym.MFC40.DLL_Ordinal_2518
mov ebx, eax
test ebx, ebx
je 0x7c462e94
jmp 0x7c462e7e
pop ebp
pop edi
pop esi
pop ebx
ret 4
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp dword [esp + 0x14], 0
jne 0x7c4742a3
mov ecx, eax
and ecx, ebp
cmp ecx, 0x10000000
jne 0x7c474298
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [ebx + 0x28], 2
jmp 0x7c462e94
cmp dword [esp + 0x14], 0
je 0x7c462e94
test ebp, eax
jne 0x7c462e94
test byte [ebx + 0x28], 2
je 0x7c462e94
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [ebx + 0x28], 0xfd
jmp 0x7c462e94

Function at 0x7c464ab0
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [ecx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
test al, 1
jne 0x7c475449
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x24]
call dword [eax + 0x9c]
test eax, eax
mov eax, 0
je 0x7c464ae1
mov eax, 1
pop esi
ret
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
test eax, eax
jne 0x7c464adc
xor eax, eax
jmp 0x7c464ae1
Function at 0x7c476bbd
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [ecx + 4]
push dword [esp + 8]
test esi, esi
jne 0x7c476bd3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, esi
mov eax, dword [esi]
push dword [esp + 0xc]
call dword [eax + 0x40]
jmp 0x7c476bcf

Function at 0x7c47854d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edi, edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x7c478578
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp dword [ebp - 4], eax
je 0x7c4785a6
test byte [ebp - 4], 1
je 0x7c4785a6
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x7c4785a6
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
lea eax, [esi + 4]
cmp dword [eax], 0
je 0x7c478659
lea ecx, [ebp - 0x10]
push ecx
push eax
call sym.MFC40.DLL_Ordinal_1358
add esp, 8
lea ecx, [esi + 8]
cmp dword [ecx], 0
je 0x7c4785d7
lea eax, [ebp - 0x20]
lea ebx, [ebp - 0x20]
push eax
push ecx
call sym.MFC40.DLL_Ordinal_1358
add esp, 8
cmp dword [esi], 0
je 0x7c4785ec
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x18]
push eax
push esi
call sym.MFC40.DLL_Ordinal_1358
add esp, 8
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x7c47861d
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x7c47863e
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x7c478659
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
movzx eax, byte [esi + 0x10]
cmp dword [ebp - 4], eax
je 0x7c478684
test byte [ebp - 4], 1
jne 0x7c478684
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x7c478684
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MFC40.DLL_Ordinal_5551
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x7c48024f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc al, dh
test dword [ecx + 0x30fffffc], ebx
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
invalid
invalid
cmpsb byte [esi], byte es:[edi]
cld
invalid

Function at 0x7c4842fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
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 0x7c484371
push 0x20
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 8]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.7c484398
test eax, eax
jne 0x7c48434b
push 0xffffffffffffffff
push 0
push 0xf111
call sym.MFC40.DLL_Ordinal_1060
mov ecx, edi
call sym.MFC40.DLL_Ordinal_2402
cmp dword [ebp + 0x1c], 6
jne 0x7c484361
fld qword [ebp - 8]
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov dword [ecx], edx
jmp 0x7c484359
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push str._.g
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT40.dll_sprintf]
add esp, 0x14
lea ecx, [ebp - 0x28]
push ecx
push esi
call sym.MFC40.DLL_Ordinal_1099
jmp 0x7c484359

Function at 0x7c4848d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
mov edi, ecx
test byte [esi + 4], 1
je 0x7c48493f
mov ebx, dword [esi + 0xc]
call sym.MFC40.DLL_Ordinal_1033
cmp dword [eax + 0x14], 0
je 0x7c484901
push ebx
mov ecx, edi
call sym.MFC40.DLL_Ordinal_3435
mov ebx, eax
push dword [esp + 0x1c]
push ebx
add edi, 0x48
call fcn.7c484962
add esp, 8
mov ebp, eax
mov eax, dword [edi]
test eax, eax
je 0x7c484926
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [edi], 0
test ebp, ebp
je 0x7c48492e
mov ebx, ebp
mov dword [edi], ebp
pop ebp
mov dword [esi + 0xc], ebx
or byte [esi + 4], 1
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
jmp 0x7c4848ec
Function at 0x7c48b4dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 8]
push edi
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, 0x10
jge 0x7c48b507
mov ecx, 1
xor edx, edx
xor edi, edi
mov eax, dword [ebp + 8]
cmp eax, 0xd
je 0x7c48b547
cmp eax, 0x1b
je 0x7c48b555
cmp eax, 0x25
je 0x7c48b563
cmp eax, 0x26
je 0x7c48b5fd
cmp eax, 0x27
je 0x7c48b607
cmp eax, 0x28
je 0x7c48b611
mov ecx, esi
call sym.MFC40.DLL_Ordinal_2081
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
jmp 0x7c48b53f
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
jmp 0x7c48b53f
mov edx, 0xffffffff
mov eax, dword [esi + 0xc4]
cmp eax, 1
je 0x7c48b57d
cmp eax, 0x65
jl 0x7c48b57f
cmp eax, 0x73
jg 0x7c48b57f
xor edx, edx
cmp eax, 2
je 0x7c48b592
cmp eax, 0xc9
jl 0x7c48b594
cmp eax, 0xd7
jg 0x7c48b594
xor edi, edi
imul edx, ecx
imul edi, ecx
lea eax, [ebp - 8]
add dword [ebp - 8], edx
push eax
add dword [ebp - 4], edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x98]
cmp dword [ebp - 4], eax
jl 0x7c48b5c3
mov eax, dword [esi + 0xa0]
cmp dword [ebp - 4], eax
jle 0x7c48b5c6
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x94]
cmp dword [ebp - 8], eax
jl 0x7c48b5dc
mov eax, dword [esi + 0x9c]
cmp dword [ebp - 8], eax
jle 0x7c48b5df
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x7c48b53f
mov edi, 0xffffffff
jmp 0x7c48b568
mov edx, 1
jmp 0x7c48b568
mov edi, 1
jmp 0x7c48b568

Function at 0x7c48fb8e
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x7c48fbd3
cmp dword [eax + 8], 0x70
jne 0x7c48fbd3
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x7c48fbd3
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x7c48fbd3
push 0x11
call esi
test ax, ax
jl 0x7c48fbd3
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x7c48fbd5
xor eax, eax
pop esi
ret 4
Function at 0x7c4968cf
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
push ebx
push esi
push edi
lea esi, [ecx + 0x34]
lea ebx, [ecx + 0x3c]
mov dword [ecx + 0x38], eax
mov edi, ecx
push 1
mov dword [esi], eax
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x7c4969f2
or byte [edi + 0x38], 2
or byte [ebx], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sym.MFC40.DLL_Ordinal_2515
cmp dword [esi], 0
jne 0x7c4969e1
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call sym.MFC40.DLL_Ordinal_2515
cmp eax, dword [ebp + 8]
jne 0x7c4969e1
push 1
lea eax, [ebp - 0x28]
push 0x209
push 0x200
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x7c496973
push 1
lea eax, [ebp - 0x28]
push 0x108
push ebx
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x7c4969c1
cmp dword [ebp - 0x24], 0x202
je 0x7c4969e1
cmp dword [ebp - 0x24], 0x205
je 0x7c4969e1
cmp dword [ebp - 0x24], 0x201
je 0x7c4969e1
cmp dword [ebp - 0x24], 0x204
je 0x7c4969e1
cmp dword [ebp - 0x24], ebx
jne 0x7c4969a2
cmp dword [ebp - 0x20], 0x1b
je 0x7c4969e1
mov eax, dword [ebp - 0x14]
lea edx, [edi + 0x24]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
sbb eax, eax
neg eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, dword [sym.MFC40.DLL_Ordinal_3788]
jbe 0x7c4969d8
mov dword [esi], 1
cmp dword [esi], 0
je 0x7c49692a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x7c496901
or byte [edi + 0x38], 1
or byte [ebx], 2
jmp 0x7c496901
Function at 0x7c49ff2e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x7c4a000c
call sub.MSVCRT40.dll__EH_prolog
sub esp, 4
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 0xc]
call sym.MFC40.DLL_Ordinal_4687
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax], edi
je 0x7c49ffdb
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea ecx, [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_486
lea eax, [ebx + 1]
lea ecx, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
push ebx
call sym.MFC40.DLL_Ordinal_2561
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_4931
push 0x400
mov ecx, dword [ebp + 0x10]
push edi
push dword [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_4637
test eax, eax
jne 0x7c49ffb5
push 0xffffffffffffffff
push edi
push 0xf118
call sym.MFC40.DLL_Ordinal_1060
mov ecx, dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_2402
mov dword [ebp - 4], 0xffffffff
call fcn.7c49ffd3
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x400
lea eax, [ebp - 0x10]
push 0
mov ecx, dword [ebp + 0x10]
push eax
call sym.MFC40.DLL_Ordinal_2466
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
push esi
call sym.MFC40.DLL_Ordinal_1099
mov dword [ebp - 4], 0xffffffff
call fcn.7c4a0016
jmp 0x7c49ffc1

Function at 0x7c4a001e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x7c4a00fc
call sub.MSVCRT40.dll__EH_prolog
sub esp, 4
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 0xc]
call sym.MFC40.DLL_Ordinal_4687
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax], edi
je 0x7c4a00cb
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea ecx, [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_486
lea eax, [ebx + 1]
lea ecx, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
push ebx
call sym.MFC40.DLL_Ordinal_2561
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_4931
push 0x400
mov ecx, dword [ebp + 0x10]
push edi
push dword [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_4636
test eax, eax
jne 0x7c4a00a5
push 0xffffffffffffffff
push edi
push 0xf119
call sym.MFC40.DLL_Ordinal_1060
mov ecx, dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_2402
mov dword [ebp - 4], 0xffffffff
call fcn.7c4a00c3
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x400
lea eax, [ebp - 0x10]
push 0
mov ecx, dword [ebp + 0x10]
push eax
call sym.MFC40.DLL_Ordinal_2464
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
push esi
call sym.MFC40.DLL_Ordinal_1099
mov dword [ebp - 4], 0xffffffff
call fcn.7c4a0106
jmp 0x7c4a00b1
Function at 0x7c4c2f8b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
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 0x7c4c2ff4
push 2
lea eax, [ebp - 2]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [ebp - 2], 0
jne 0x7c4c2fdd
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_3570
test eax, eax
je 0x7c4c2fea
push 1
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5289
mov eax, 1
jmp 0x7c4c2fec
push 0
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5289
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_3599
test eax, eax
je 0x7c4c300f
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_3568
test eax, eax
je 0x7c4c2fea
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push esi
call sym.MFC40.DLL_Ordinal_1099
jmp 0x7c4c2fd6
Function at 0x7c4c33ee
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x7c4c34d0
call sub.MSVCRT40.dll__EH_prolog
sub esp, 4
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 0xc]
call sym.MFC40.DLL_Ordinal_4686
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax], edi
je 0x7c4c350f
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, 0xffffffff
mov ebx, eax
je 0x7c4c34e2
lea ecx, [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_486
lea eax, [ebx + 1]
lea ecx, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
push ebx
call sym.MFC40.DLL_Ordinal_2557
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_4931
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax - 8]
mov eax, dword [ecx]
mov eax, dword [eax - 4]
cmp edi, eax
jle 0x7c4c346f
push eax
push dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_1009
inc edi
mov ecx, dword [ebp + 0x10]
push edi
push 0
call sym.MFC40.DLL_Ordinal_2557
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 4], 0xffffffff
call fcn.7c4c34da
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_4931
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jne 0x7c4c3500
push eax
mov ecx, dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_3570
test eax, eax
je 0x7c4c34be
push 1
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5289
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx - 4]
mov ecx, dword [ebp + 0x10]
inc eax
push eax
push 0
call sym.MFC40.DLL_Ordinal_2557
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x7c4c348f
push 0
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5289
jmp 0x7c4c34be
mov ecx, dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_3599
test eax, eax
je 0x7c4c3556
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
call sym.MFC40.DLL_Ordinal_3568
test eax, eax
jne 0x7c4c3556
mov eax, dword [ebp + 0x10]
push dword [eax]
push 0xffffffffffffffff
push 0x14d
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x7c4c34be
mov eax, dword [ebp + 0x10]
push dword [eax]
push esi
call sym.MFC40.DLL_Ordinal_1099
jmp 0x7c4c34be
push 0
push 0xffffffffffffffff
push 0x14e
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x7c4c34be
Function at 0x7c4c8408
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x7c4c849a
call sub.MSVCRT40.dll__EH_prolog
sub esp, 0x14
push esi
push edi
cmp dword [ecx + 0x10], 0
mov esi, ecx
jne 0x7c4c8424
call sym.MFC40.DLL_Ordinal_3457
mov esi, dword [esi + 0x10]
xor edi, edi
push edi
lea eax, [ebp - 0x10]
push edi
push edi
push edi
lea ecx, [ebp - 0x20]
push edi
push eax
push 3
push dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_417
mov dword [ebp - 4], edi
mov edi, dword [esi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push esi
call dword [edi + 0x30]
push eax
call sym.MFC40.DLL_Ordinal_5712
mov dword [ebp - 4], 0xffffffff
call fcn.7c4c8492
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_1031
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x7c4caec9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x7c4caf5b
call sub.MSVCRT40.dll__EH_prolog
sub esp, 0x14
push esi
push edi
cmp dword [ecx + 0x30], 0
mov esi, ecx
jne 0x7c4caee5
call sym.MFC40.DLL_Ordinal_3438
mov esi, dword [esi + 0x30]
xor edi, edi
push edi
lea eax, [ebp - 0x10]
push edi
push edi
push edi
lea ecx, [ebp - 0x20]
push edi
push eax
push 3
push dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_417
mov dword [ebp - 4], edi
mov edi, dword [esi]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push esi
call dword [edi + 0x30]
push eax
call sym.MFC40.DLL_Ordinal_5712
mov dword [ebp - 4], 0xffffffff
call fcn.7c4caf53
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call sym.MFC40.DLL_Ordinal_1026
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7c4cf6b9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
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 0x7c4cf743
push 2
lea eax, [ebp - 2]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0x10]
cmp byte [ebp - 2], 0
mov edi, dword [ebp + 0x14]
mov ecx, edi
jne 0x7c4cf718
call sym.MFC40.DLL_Ordinal_3567
test eax, eax
jne 0x7c4cf705
push 1
mov ecx, edi
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5285
push 1
mov ecx, edi
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5288
mov eax, 1
jmp 0x7c4cf73b
call sym.MFC40.DLL_Ordinal_3567
test eax, eax
je 0x7c4cf72d
push 1
mov ecx, edi
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5285
push 0
mov ecx, edi
push dword [ebp + 0x10]
call sym.MFC40.DLL_Ordinal_5288
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 0x14]
cmp dword [edi + 0x6c], 0
je 0x7c4cf75a
push dword [ebp + 0x10]
mov ecx, edi
call sym.MFC40.DLL_Ordinal_3567
test eax, eax
je 0x7c4cf739
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push esi
call sym.MFC40.DLL_Ordinal_1099
jmp 0x7c4cf711

Function at 0x7c4d3c2d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ecx, 0x7c5085d0
mov ebp, esp
push esi
push edi
push sym.MFC40.DLL_Ordinal_5728
call sym.MFC40.DLL_Ordinal_2648
cmp word [eax + 8], 0
mov esi, eax
jne 0x7c4d3cdc
push sym.MFC40.DLL_Ordinal_1906
mov ecx, 0x7c5085e4
call sym.MFC40.DLL_Ordinal_2648
push 0x7c5085dc
add eax, 4
push 0
push 0
push str.COMCTL32.DLL
push eax
call sym.MFC40.DLL_Ordinal_5786
mov edi, eax
test edi, edi
je 0x7c4d3caf
cmp dword [ebp + 0x10], 1
sbb eax, eax
push 5
and al, 0xf2
add eax, 0x3fc
movzx ecx, ax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x7c4d3caf
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call sym.MFC40.DLL_Ordinal_5736
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
push dword [ecx]
push eax
call sub.MSVCRT40.dll_strcpy
add esp, 8
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [esi + 8], dx
push dword [esi + 4]
mov ecx, dword [ebp + 8]
call sym.MFC40.DLL_Ordinal_762
mov ax, word [esi + 8]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
pop edi
sub ax, 0xffff
pop esi
cmp ax, 1
pop ebp
sbb eax, eax
inc eax
ret