joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c260
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52ae8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004922f0
xor edi, edi
push 0x80
mov dword [esp + 0x1c], edi
mov dword [esi + 0x20], vtable.Table_struct_CCoolMenuManager::CMyItemData_.0
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0x1f
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x40
mov ebx, 1
push 0x80
mov byte [esp + 0x20], bl
mov dword [esi + 0x40], vtable.Table_struct_CCoolMenuManager::ToolbarParams_.0
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 0x1f
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 0x40
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CImageList::CImageList
push 0xa
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CMapWordToPtr::CMapWordToPtr
push 0xa
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CMapWordToPtr::CMapWordToPtr
push 0xa
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CPtrList::CPtrList
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], vtable.CFont.0
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xc8], eax
mov dword [esi + 0xc0], eax
mov byte [esp + 0x18], 7
mov dword [esi], vtable.CCoolMenuManager.0
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xc4], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.0048e600
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], ebx
push 0x568ac0
mov dword [0x568ac0], 0x94
call dword [0x56cdb0]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x48e4f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x40
push esi
push edi
mov edi, dword [esp + 0x4c]
mov esi, ecx
push 9
mov ecx, edi
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jle 0x48e512
pop edi
xor eax, eax
pop esi
add esp, 0x40
ret 8
mov ecx, dword [esp + 0x50]
push ebx
lea eax, [esp + 0x50]
push ebp
push eax
push ecx
lea ecx, [esi + 0x80]
xor ebx, ebx
call sub.MFC42.DLL_CMapWordToPtr::Lookup
mov esi, eax
mov eax, dword [esp + 0x54]
neg esi
sbb esi, esi
and esi, eax
je 0x48e5ef
mov ebp, dword [0x56dd64]
test ebx, ebx
mov eax, 0x5592d0
jne 0x48e551
mov eax, 0x559830
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
test byte [esi], 0x10
je 0x48e56a
push str.Alt
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
test byte [esi], 8
je 0x48e57b
push str.Ctrl
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
test byte [esi], 4
je 0x48e58c
push str.Shift
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
test byte [esi], 1
je 0x48e5bb
xor edx, edx
push 0
mov dx, word [esi + 2]
push edx
call ebp
lea ecx, [esp + 0x10]
push 0x40
shl eax, 0x10
push ecx
push eax
call dword [0x56dd5c]
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_2
jmp 0x48e5c6
mov al, byte [esi + 2]
mov ecx, edi
push eax
call fcn.004fe958
mov ax, word [esi + 4]
mov ebx, 1
test ax, ax
je 0x48e5ef
and eax, 0xffff
lea ecx, [eax*4]
sub ecx, eax
neg ecx
lea esi, [esi + ecx*2]
test esi, esi
jne 0x48e543
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x40
ret 8

Function at 0x48fa40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52b1d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x1e14
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.004fdecc
lea ebx, [esi + 0x64]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call fcn.004fdecc
lea ebp, [esi + 0x68]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.004fdecc
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 3
call fcn.004fdecc
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1c], 4
push ecx
mov ecx, edi
mov dword [esi], vtable.CNoShowMessageBox.0
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x30]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esi + 0x6c]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x70], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x4d1440
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [esp + 0x1c], ecx
push 0x2710
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x2710
xor esi, esi
push ebx
push 2
push esi
push 6
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
call fcn.004ffa48
test eax, eax
jne 0x4d14bf
call dword [0x56cda0]
cmp eax, 0x7a
jne 0x4d14bf
push ebx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x18]
add esp, 8
mov ebx, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push ebx
push 2
push esi
push 6
call fcn.004ffa48
cmp dword [esp + 0xc], esi
jne 0x4d15e8
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x3c
push eax
mov dword [esp + 0x44], 0x140
mov dword [esp + 0x5c], 1
mov dword [esp + 0x4c], str.open
mov dword [esp + 0x50], str.rundll32.exe
mov dword [esp + 0x54], str.shell32.dll_SHHelpShortcuts_RunDLL_AddPrinter
call dword [0x56dc44]
test eax, eax
je 0x4d15f0
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], esi
call dword [0x56ccbc]
test eax, eax
je 0x4d15a1
mov esi, dword [0x56de88]
mov edi, dword [0x56de84]
push ebp
mov ebp, dword [0x56de90]
cmp dword [esp + 0x18], 0x103
jne 0x4d159e
push 1
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
call esi
test eax, eax
je 0x4d1582
lea ecx, [esp + 0x24]
push ecx
call edi
lea edx, [esp + 0x24]
push edx
call ebp
push 1
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
call esi
test eax, eax
jne 0x4d1561
push 0x64
call dword [0x56cdb4]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x56ccbc]
test eax, eax
jne 0x4d1544
xor esi, esi
pop ebp
mov eax, dword [esp + 0x74]
push eax
call dword [0x56ce34]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x2710
push ebx
push 2
push esi
push 6
mov dword [esp + 0x28], esi
call fcn.004ffa48
test eax, eax
je 0x4d15f0
cmp dword [esp + 0xc], esi
je 0x4d15f0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [edx + 0x14]
call fcn.004d5310
mov dword [esp + 0x18], 1
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 4
Function at 0x4d4660
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x52d02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push 0x7f02
mov ebx, ecx
push 0
call dword [0x56def8]
push eax
call dword [0x56ded4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x4d46c7
mov ecx, dword [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x34]
push 0x3ec
push 0x43d
push eax
push ecx
call fcn.00472ce0
add esp, 0x14
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push 0x26
push eax
call dword [0x56cb8c]
test al, 1
jne 0x4d4702
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
push 0
push 0x3ec
push 0x3eb
push edx
push eax
call fcn.00472ce0
add esp, 0x14
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
test ah, 0x28
jne 0x4d473a
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
push 1
push 0x3ec
push 0x3ed
push ecx
push edx
call fcn.00472ce0
add esp, 0x14
cmp eax, 1
je 0x4d473a
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [ebx + 0x260]
push ebp
test eax, eax
push esi
jne 0x4d47a2
mov eax, dword [ebx + 0x1f4]
xor ebp, ebp
test eax, eax
jle 0x4d47a2
cmp ebp, eax
push edi
jge 0x4d4766
test ebp, ebp
jl 0x4d4766
mov eax, dword [ebx + 0x1f0]
mov edi, dword [eax + ebp*4]
jmp 0x4d4768
xor edi, edi
mov eax, dword [edi + 8]
xor esi, esi
test eax, eax
jle 0x4d4796
cmp esi, eax
jge 0x4d4781
test esi, esi
jl 0x4d4781
mov ecx, dword [edi + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4d4783
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push edx
call fcn.004e10c0
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x4d4775
mov eax, dword [ebx + 0x1f4]
inc ebp
cmp ebp, eax
jl 0x4d4757
pop edi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4d481f
mov eax, dword [ebx + 0x260]
test eax, eax
jne 0x4d481f
push 0x280
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x4d47dc
push ebx
mov ecx, eax
call fcn.004d2b90
mov esi, eax
jmp 0x4d47de
xor esi, esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
push eax
call dword [0x56ded4]
lea ecx, [esp + 0x14]
push ecx
push 4
push esi
push 0x4d17b0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [0x56ccdc]
push esi
call dword [0x56cce0]
jmp 0x4d4826
mov ecx, ebx
call fcn.004d1d50
mov eax, dword [ebx + 0x48]
pop esi
test eax, eax
pop ebp
je 0x4d4836
mov ecx, ebx
call fcn.004d4020
mov ecx, dword [esp + 0x10]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4d6b70
Capabilities:
Create thread
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0x250]
test eax, eax
jne 0x4d6b87
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4d6b98
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x4d6ba9
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4d6bba
xor eax, eax
pop esi
add esp, 0x20
ret
mov ecx, esi
call fcn.004d6d30
test eax, eax
jne 0x4d6bca
pop esi
add esp, 0x20
ret
mov ecx, esi
call fcn.004d6e60
test eax, eax
jne 0x4d6bda
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d6be8
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x240]
push edi
push eax
call dword [0x56df0c]
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x4d6c45
mov eax, dword [esi + 0x1f4]
xor edi, edi
test eax, eax
jle 0x4d6c45
cmp edi, eax
push ebx
jge 0x4d6c39
test edi, edi
jl 0x4d6c39
mov ecx, dword [esi + 0x1f0]
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x4d6c39
mov ecx, ebx
call fcn.004d3720
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esi + 0x1f4]
inc edi
cmp edi, eax
jl 0x4d6c18
pop ebx
mov edx, dword [esi + 0x1f0]
push edx
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
mov edi, dword [0x56de88]
add esp, 8
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0x1f
mov dword [esi + 0x200], 0x40
mov eax, dword [esi + 0x240]
push 1
push 0x403
push 0x403
lea ecx, [esp + 0x18]
push eax
push ecx
call edi
test eax, eax
je 0x4d6cc4
mov edx, dword [esi + 0x240]
push 1
push 0x403
push 0x403
lea eax, [esp + 0x18]
push edx
push eax
call edi
test eax, eax
jne 0x4d6ca6
push 0
mov ecx, esi
call fcn.004d7070
lea ecx, [esp + 8]
push ecx
push 4
push esi
push 0x4d1770
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x4c], eax
push 0xffffffffffffffff
push eax
call dword [0x56ccdc]
mov edx, dword [esi + 0x4c]
push edx
call dword [0x56cce0]
mov eax, dword [esi + 0x240]
push 5
push 0xa21
push eax
call dword [0x56dda0]
push eax
call dword [0x56dd28]
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret

Function at 0x4d6d30
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d6d8c
push 0xbb8
push eax
mov dword [esi + 0x40], 1
call dword [0x56ccd4]
cmp eax, 0x102
jne 0x4d6d60
push 0x20
call dword [0x56dcd8]
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x4c]
push eax
call dword [0x56ce34]
mov ecx, dword [esi + 0x240]
push 0
push 0xa21
push ecx
mov dword [esi + 0x4c], 0
call dword [0x56dda0]
push eax
call dword [0x56dd28]
mov eax, 1
pop esi
ret
Function at 0x4d6da0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x250]
test eax, eax
jne 0x4d6db3
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4d6dc2
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x4d6dd1
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4d6de0
xor eax, eax
pop esi
pop ecx
ret
mov ecx, esi
call fcn.004d6e60
test eax, eax
jne 0x4d6dee
pop esi
pop ecx
ret
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4d6dfa
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d6e16
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1f4]
cmp eax, ecx
jne 0x4d6e16
xor eax, eax
pop esi
pop ecx
ret
lea ecx, [esp + 4]
mov dword [esi + 0x44], 0
push ecx
push 4
push esi
push 0x4d22b0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x50], eax
push 0xfffffffffffffffe
push eax
call dword [0x56ccdc]
mov edx, dword [esi + 0x50]
push edx
call dword [0x56cce0]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x4d8b00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x48
push ebx
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [0x56dda0]
push 0xa12
mov ebx, ecx
push esi
call edi
test eax, eax
mov dword [esp + 0x58], eax
je 0x4d8cc5
lea ecx, [esp + 0x1c]
push ebp
push ecx
push eax
call dword [0x56decc]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx]
sub edi, ebp
mov ebp, dword [esp + 0x2c]
sub ebp, edx
mov edx, dword [eax + 0x1d4]
mov eax, dword [eax + 0x1d8]
push edx
push eax
push edi
mov dword [esp + 0x1c], edi
call dword [0x56cdac]
cmp eax, ebp
jle 0x4d8b85
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1d8]
mov edx, dword [eax + 0x1d4]
push ecx
push edx
push ebp
call dword [0x56cdac]
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4d8b87
mov ebp, eax
lea eax, [esp + 0x20]
push 2
push eax
push esi
push 0
call dword [0x56dec4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, edi
mov ecx, dword [esp + 0x2c]
add eax, edx
lea edi, [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
sub eax, ebp
add eax, ecx
mov ecx, 0xa
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
mov dword [esp + 0x1c], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], str.PrintPreviewWndClass
mov eax, dword [edx + 0x30]
push ecx
push str.PrintPreviewWndClass
push eax
call dword [0x56dd10]
test eax, eax
jne 0x4d8c24
mov ecx, dword [ebx]
mov dword [esp + 0x34], 0x4d7ce0
mov dword [esp + 0x3c], 4
push 0x7f00
mov edx, dword [ecx + 0x30]
push eax
mov dword [esp + 0x48], edx
call dword [0x56def8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
call dword [0x56dd38]
mov ecx, dword [esp + 0x5c]
mov edi, dword [0x56dd28]
push 0
push ecx
call edi
mov edx, dword [ebx]
mov ecx, dword [esp + 0x10]
push ebx
mov eax, dword [edx + 0x30]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push 0xaa9
push esi
push ebp
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push 0x50000000
push str.Print_preview
push ecx
push 0x200
call dword [0x56de44]
push 0x10001
push 0
push 0x465
push 0xa0f
push esi
mov dword [ebx + 8], eax
call dword [0x56dd2c]
push 0
push 0xa21
push esi
call dword [0x56dda0]
push eax
call edi
push 0
push 0
push 0x402
push esi
call dword [0x56df08]
push 0
push 1
push 0xa0d
push esi
call dword [0x56dce4]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x48
ret 4
lea edx, [esp + 0x1c]
push edx
push 0xa10
push esi
call edi
mov edi, dword [0x56decc]
push eax
call edi
lea eax, [esp + 0x1c]
push 2
push eax
push esi
push 0
call dword [0x56dec4]
push 5
call dword [0x56dedc]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push esi
lea ebx, [ecx + eax*2]
call edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
push 6
push eax
push ebx
push 0
push 0
push 0
push esi
call dword [0x56dd1c]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x48
ret 4
Function at 0x4e9730
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x13968]
test eax, eax
jne 0x4e97e6
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e97e6
mov eax, dword [esi + 0x13964]
mov dword [esi + 0x13968], 1
push eax
mov dword [esi + 0x1396c], 0
call dword [0x56cce4]
mov ecx, dword [esi + 0x13960]
push ecx
call dword [0x56cd94]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edi, edi
mov dword [esi + 0x1392c], edx
jne 0x4e97b1
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x4e97f0
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x1395c], eax
pop edi
pop esi
pop ecx
ret 8
lea ecx, [esp + 8]
push ecx
push 4
push esi
push 0x4e97f0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x1395c], eax
push edi
push eax
call dword [0x56ccdc]
mov edx, dword [esi + 0x1395c]
push edx
call dword [0x56cce0]
pop edi
pop esi
pop ecx
ret 8

Function at 0x4ed7e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x120]
push esi
xor esi, esi
test eax, eax
push edi
je 0x4ed8f3
mov edi, dword [esp + 0x124]
test edi, edi
je 0x4ed8f3
mov edx, dword [esp + 0x12c]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push esi
push eax
push edx
call dword [0x56ca50]
test eax, eax
jne 0x4ed8f3
push ebx
push edi
lea eax, [esp + 0x24]
push str._s__08x
push eax
call dword [0x56df30]
add esp, 0x10
mov edi, dword [0x56ca54]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push esi
push edx
lea eax, [esp + 0x28]
push esi
push eax
push ecx
call edi
test eax, eax
jne 0x4ed8a7
mov edx, dword [esp + 0xc]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push esi
push ecx
lea edx, [esp + 0x28]
push 0
push edx
push eax
call edi
test eax, eax
jne 0x4ed89c
mov ecx, dword [esi]
mov eax, dword [esp + 0xc]
cmp ecx, eax
je 0x4ed8a7
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
mov edx, dword [esp + 0x10]
push edx
call dword [0x56ca2c]
test esi, esi
je 0x4ed8f3
push 0
push ebx
mov ecx, 0x566788
call fcn.004c1650
test eax, eax
je 0x4ed906
lea ecx, [esp + 0x14]
push 0
push ecx
push ebx
mov ecx, eax
mov dword [esp + 0x20], 0
call fcn.004c4c10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ed906
cmp eax, dword [esi]
je 0x4ed906
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
call fcn.004ed920
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x110
ret
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x4ed9a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
test eax, eax
push ebx
push edi
je 0x4eda53
mov ebx, dword [esp + 0x118]
test ebx, ebx
je 0x4eda53
mov edi, dword [esp + 0x120]
test edi, edi
je 0x4eda53
lea ecx, [esp + 0xc]
push esi
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0x20006
push 0
push 0x5688a4
push 0
push eax
mov eax, dword [esp + 0x148]
push eax
call dword [0x56ca48]
mov esi, eax
test esi, esi
jne 0x4eda42
mov ecx, dword [esp + 0x120]
lea edx, [esp + 0x14]
push ecx
push ebx
push str._s__08x
push edx
call dword [0x56df30]
mov eax, dword [edi]
mov edx, dword [esp + 0x1c]
add esp, 0x10
lea ecx, [esp + 0x14]
push eax
push edi
push 3
push esi
push ecx
push edx
call dword [0x56ca4c]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [0x56ca2c]
xor eax, eax
test esi, esi
pop esi
pop edi
sete al
pop ebx
add esp, 0x108
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x108
ret
Function at 0x4f0180
Capabilities:
Get graphical window text
Set registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x118
test eax, eax
push ebx
push ebp
mov ebp, dword [0x56df08]
push esi
push edi
mov edi, dword [esp + 0x12c]
je 0x4f0229
push 0
push 0
push 0x147
push edi
call ebp
push 0
push 0
push 0x146
push edi
mov esi, eax
call ebp
mov ebx, eax
dec ebx
test esi, esi
jle 0x4f01d4
lea eax, [esp + 0x24]
push eax
push esi
push 0x148
push edi
call ebp
jmp 0x4f01e5
lea ecx, [esp + 0x24]
push 0x104
push ecx
push edi
call dword [0x56dd44]
mov al, byte [esp + 0x24]
test al, al
je 0x4f0229
cmp esi, ebx
je 0x4f0229
lea edx, [esp + 0x24]
push edx
push 0xffffffffffffffff
push 0x158
push edi
call ebp
test eax, eax
jl 0x4f020f
push 0
push eax
push 0x144
push edi
call ebp
lea eax, [esp + 0x24]
push eax
push 0
push 0x14a
push edi
call ebp
push 0
push eax
push 0x14e
push edi
call ebp
push 0
push 0
push 0x146
push edi
call ebp
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4f024e
cmp eax, ecx
jle 0x4f024e
mov dword [esp + 0x10], ecx
mov eax, ecx
mov ebx, 1
xor esi, esi
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x4f0294
push 0
push esi
push 0x149
push edi
call ebp
mov ecx, dword [esp + 0x138]
inc eax
test ecx, ecx
je 0x4f027b
lea edx, [eax + ebx]
cmp edx, ecx
jg 0x4f028c
add ebx, eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4f025d
mov dword [esp + 0x14], ebx
jmp 0x4f0294
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
push ebx
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x20], eax
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x4f02cb
push esi
push ebx
push 0x148
push edi
call ebp
push esi
call dword [0x56cdc4]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x4f02ad
mov edx, dword [esp + 0x13c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x5688a4
push 0
push edx
push 0x80000001
mov byte [esi], 0
call dword [0x56ca48]
test eax, eax
je 0x4f030e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x118
ret 0x18
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x18]
push eax
push edi
push 3
push 0
push ecx
push edx
call dword [0x56ca4c]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x56ca2c]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x118
ret 0x18
Function at 0x4f2fa0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov esi, ecx
push eax
push ebx
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0050063c
mov edi, eax
test edi, edi
jne 0x4f2fd9
mov dword [esi], 3
pop edi
pop esi
pop ebx
add esp, 8
ret 4
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi + 4], eax
push eax
push edi
push 0
push ebx
call fcn.00500636
test eax, eax
jne 0x4f3002
mov dword [esi], 4
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x550aa4
push eax
call fcn.00500630
test eax, eax
jne 0x4f302d
mov dword [esi], 5
pop edi
pop esi
pop ebx
add esp, 8
ret 4
lea edi, [esi + 8]
mov esi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 8
ret 4