joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c059
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x408840
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c709
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
xor eax, eax
push edi
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x18], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
add esi, 0x13c
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push 0
push 0x473cc8
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp eax, 0xffffffff
lea ecx, [esp + 8]
je 0x4088ce
mov esi, dword [esp + 0x70]
push esi
push 0x473cc8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
jmp 0x4088e8
push 0x473b24
call dword [0x47238c]
mov esi, dword [esp + 0x70]
push esi
lea ecx, [esp + 0xc]
call dword [0x47238c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x400
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push 0
call dword [0x472170]
test eax, eax
jne 0x40892b
push 5
push eax
push eax
push esi
push str.open
push eax
call dword [0x472bd4]
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [0x47216c]
je 0x40893c
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x408947
push eax
call esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x60]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x408ba0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
cmp eax, 0x200
mov ebx, ecx
ja 0x408cc2
je 0x408be6
cmp eax, 0x7b
je 0x408cde
cmp eax, 0xff
jbe 0x408bd6
cmp eax, 0x101
jbe 0x408d4e
push edi
mov ecx, ebx
call sub.MFC71.DLL_CHtmlView::PreTranslateMessage
pop edi
pop ebx
add esp, 8
ret 4
cmp dword [ebx + 0xf4], 1
jne 0x408bd6
test byte [0x48adf0], 1
jne 0x408bff
or dword [0x48adf0], 1
push esi
mov ecx, 0x48ae88
call sub.MFC71.DLL_CWinThread::GetMainWnd
mov esi, eax
lea eax, [esp + 0xc]
push eax
call dword [0x472bfc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [0x472c30]
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov eax, dword [esp + 0xc]
mov ecx, dword [0x48ade8]
mov edx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [0x48adec]
sub eax, edx
mov dl, byte [esi + 0x1060]
test dl, dl
jne 0x408c92
mov edx, dword [esi + 0xffc]
test edx, edx
je 0x408c92
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, 4
jl 0x408c92
push 1
mov ecx, esi
call fcn.00421b00
mov eax, dword [esi + 0x20]
push 0
push 0x578
push 0xc7a6
push eax
call dword [0x472c1c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [0x48ade8], ecx
mov dword [0x48adec], edx
call dword [0x472154]
pop esi
push edi
mov ecx, ebx
mov dword [0x48add8], eax
call sub.MFC71.DLL_CHtmlView::PreTranslateMessage
pop edi
pop ebx
add esp, 8
ret 4
cmp eax, 0x203
je 0x408d92
jbe 0x408bd6
cmp eax, 0x206
ja 0x408bd6
mov ecx, dword [ebx + 0xf4]
cmp ecx, 0x6f
je 0x408d4e
cmp eax, 0x205
jne 0x408d1d
cmp ecx, 1
jne 0x408d1d
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push 0x62c
mov ecx, ebx
call fcn.004024d0
mov ecx, eax
call fcn.00404f10
pop edi
mov eax, 1
pop ebx
add esp, 8
ret 4
mov edx, dword [ebx + 0x20]
push edx
call dword [0x472c44]
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [eax + 0x20]
push ecx
push edx
push 0x7b
push eax
call dword [0x472dac]
pop edi
mov eax, 1
pop ebx
add esp, 8
ret 4
mov eax, dword [edi + 8]
cmp eax, 0x28
je 0x408d73
cmp eax, 0x26
je 0x408d73
cmp eax, 0x25
je 0x408d73
cmp eax, 0x27
je 0x408d73
cmp eax, 0x20
je 0x408d73
cmp eax, 0x1b
jne 0x408bd6
mov ecx, dword [0x48aea8]
mov edx, dword [ecx]
push edi
call dword [edx + 0x108]
push edi
mov ecx, ebx
call sub.MFC71.DLL_CHtmlView::PreTranslateMessage
pop edi
pop ebx
add esp, 8
ret 4
cmp dword [ebx + 0xf4], 1
jne 0x408bd6
mov eax, dword [ebx + 0x20]
push eax
call dword [0x472c44]
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, dword [eax + 0x20]
push 0xd
push 0
push 0x62d
push ecx
call dword [0x472dac]
pop edi
mov eax, 1
pop ebx
add esp, 8
ret 4
Function at 0x40aa70
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x40aa9d
push ebx
push edi
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ecx + edi*4]
shr eax, 8
xor eax, ebx
inc edx
dec esi
jne 0x40aa82
pop edi
pop ebx
not eax
pop esi
ret 8

Function at 0x40aab0
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x40aac3
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x40aace
or ecx, 0x40
shr eax, 1
test al, 1
je 0x40aad7
or ecx, 0x20
shr eax, 1
test al, 1
je 0x40aae0
or ecx, 0x10
shr eax, 1
test al, 1
je 0x40aae9
or ecx, 8
shr eax, 1
test al, 1
je 0x40aaf2
or ecx, 4
shr eax, 1
test al, 1
je 0x40aafb
or ecx, 2
test al, 2
je 0x40ab02
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [esi + ebx*4], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
lea ecx, [ecx]
test al, 1
je 0x40abcd
mov edi, 1
shl edi, cl
or edx, edi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x40abc0
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0xff
jle 0x40aab7
pop edi
pop esi
pop ebx
ret
Function at 0x40ce70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46cddd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x47316f
mov dword [esp + 0x44], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DefaultSigleBkg
mov byte [esp + 0x48], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x4c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0xc4]
mov byte [esp + 0x4c], 1
call fcn.00414810
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
lea ecx, [esp + 0xc]
je 0x40cf32
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
or eax, 0xffffffff
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 8
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
movzx edx, ax
mov eax, dword [0x48af2c]
add esp, 4
push edx
push eax
call dword [0x472c2c]
lea ecx, [esp + 0x1c]
push ecx
mov ebp, eax
push 0x18
push ebp
call dword [0x4720ac]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea edi, [esi + 0xbc]
mov ecx, edi
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
call sub.MFC71.DLL_CGdiObject::DeleteObject
push ebp
mov ecx, edi
call sub.MFC71.DLL_CGdiObject::Attach
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40cfd0
test edi, edi
je 0x40cf93
mov edi, dword [edi + 4]
push 0xff
push 0
push 0xff
push edi
call fcn.00413890
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40cfc2
mov eax, dword [esi + 0x20]
push 1
push edi
push eax
call dword [0x472d38]
push edi
call dword [0x472090]
mov ecx, dword [esi + 0x20]
push 0
push 0
push ecx
call dword [0x472c18]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x40cff7
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov ecx, esi
call fcn.0040c070
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x34
ret 8
Function at 0x40f240
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push esi
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.TRACKBAR_VOLCTRL
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov ecx, esi
call fcn.0040f000
mov esi, eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [0x472bf8]
lea edx, [esp + 4]
push edx
call dword [0x472bfc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
call dword [0x472c24]
test eax, eax
je 0x40f2bb
push 1
call dword [0x472d28]
movsx eax, ax
test eax, eax
jns 0x40f2bb
xor eax, eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov eax, 1
pop esi
add esp, 0x18
ret
xor eax, eax
pop esi
add esp, 0x18
ret
Function at 0x4115e0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d312
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [0x48aea8]
mov dword [esp + 0xc], 0
jl 0x4116c0
cmp eax, dword [ecx + 0xa4]
jge 0x4116c0
mov ecx, dword [ecx + 0xa0]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4116a4
push str.TEXT_ADVISE
lea ecx, [eax + 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x4116a4
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov al, byte [esp + 0x1c]
test al, al
mov byte [esp + 0xc], 1
lea ecx, [esp + 0x14]
je 0x411661
add esi, 0x288
jmp 0x411667
add esi, 0x28c
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x41169a
push 5
push 0
push 0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push str.open
push 0
call dword [0x472bd4]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc
call fcn.0046ae8a
int3

Function at 0x412c30
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x412ce9
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x412ce9
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x412cdd
push eax
call sub.MFC71.DLL_operator_new
mov esi, eax
add esp, 4
test esi, esi
jne 0x412c7c
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x412cd4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push 0x47595c
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x412cd4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x412cd4
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call sub.MFC71.DLL_operator_delete
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
add esp, 8
ret
pop edi
mov eax, 0x80070057
pop ebx
add esp, 8
ret
Function at 0x4146b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46d72b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00413f80
lea ecx, [esp + 0x20]
push esi
push ecx
mov dword [esp + 0x38], 0
call fcn.00413f80
lea edx, [esp + 0x24]
push esi
push edx
mov byte [esp + 0x40], 1
call fcn.00413f80
lea eax, [esp + 0x28]
push esi
push eax
mov byte [esp + 0x48], 2
call fcn.00413f80
add esp, 0x20
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.MSVCR71.dll_atoi]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x18]
mov ebx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x14]
mov ebp, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
mov edi, eax
add esp, 4
lea ecx, [esp + 0x10]
add edi, ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
mov esi, dword [esp + 0x34]
mov ecx, esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edi
add eax, ebp
mov dword [ecx + 0xc], eax
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x414af0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [0x472004]
test eax, eax
jne 0x414b51
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x414b33
cmp eax, 2
jne 0x414b43
test esi, esi
mov eax, dword [esp + 0x14]
je 0x414b4d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x414b4d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x415050
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x48aaf0]
xor eax, esp
add ecx, 0xa8
mov dword [esp + 0x110], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [esp + 0xc]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x415074
push esi
push edi
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415085
mov ecx, 5
mov esi, str.DYPlayerLiveUpdate.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
lea eax, [esp + 0x18]
push eax
movsb byte es:[edi], byte [esi]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
je 0x41511b
push eax
call sub.MFC71.DLL_operator_new
mov ecx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push ecx
push 0
lea edx, [esp + 0x20]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x415112
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x47595c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x415112
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 8]
mov byte [esp + 8], dl
mov dl, byte [eax + 0xe]
mov al, byte [eax + 0xc]
mov byte [esp + 9], cl
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], al
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
movzx edx, byte [esp + 9]
xor ecx, ecx
mov ch, byte [esp + 8]
pop edi
pop esi
movzx eax, cx
xor ecx, ecx
mov ch, byte [esp + 2]
or eax, edx
shl eax, 0x10
movzx edx, cx
movzx ecx, byte [esp + 3]
or eax, edx
or eax, ecx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0046b58e
add esp, 0x114
ret
Function at 0x415160
Capabilities:
Get file version info

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48aaf0]
xor eax, esp
push ebx
push esi
mov dword [esp + 0x210], eax
xor ebx, ebx
push 0x200
mov esi, ecx
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [esi + 0x107], bl
mov byte [esi + 0x106], bl
mov byte [esi + 0x105], bl
mov byte [esi + 0x104], bl
call dword [0x4721e0]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [esp + 8], eax
je 0x415226
push edi
push eax
call sub.MFC71.DLL_operator_new
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xc]
push edi
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41521c
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0x47595c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41521c
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xa]
mov byte [esi + 0x104], cl
mov dl, byte [eax + 8]
mov byte [esi + 0x105], dl
mov cl, byte [eax + 0xe]
mov byte [esi + 0x106], cl
mov dl, byte [eax + 0xc]
mov byte [esi + 0x107], dl
push edi
call sub.MFC71.DLL_operator_delete
add esp, 4
pop edi
movzx eax, byte [esi + 0x107]
movzx ecx, byte [esi + 0x106]
movzx edx, byte [esi + 0x105]
push eax
movzx eax, byte [esi + 0x104]
push ecx
push edx
push eax
lea ecx, [esi + 0x10c]
push str._i._i._i._i
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
xor edx, edx
mov dh, byte [esi + 0x104]
xor eax, eax
mov ah, byte [esi + 0x106]
add esp, 0x18
mov dl, byte [esi + 0x105]
movzx ecx, ax
movzx eax, byte [esi + 0x107]
shl edx, 0x10
or edx, ecx
mov ecx, dword [esp + 0x210]
or edx, eax
mov dword [esi + 0x108], edx
pop esi
pop ebx
xor ecx, esp
call fcn.0046b58e
add esp, 0x20c
ret

Function at 0x415770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d8b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41d170
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xfc8]
push edi
mov edi, dword [0x472d14]
push eax
call edi
test eax, eax
je 0x41d1aa
push 0
push 0x489500
push 0
push 0
push 4
push 0xf
add esi, 0xfa8
push esi
call sub.MFC71.DLL_CWnd::InvokeHelper
add esp, 0x1c
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x284]
test eax, eax
je 0x41d1db
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x41d1db
push ecx
call edi
test eax, eax
je 0x41d1db
mov edx, dword [esi + 0x314]
mov eax, dword [edx + 0x20]
push 0xd
push 0
push 0x62d
push eax
call dword [0x472dac]
pop edi
xor eax, eax
pop esi
ret
Function at 0x441510
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x470889
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00442a80
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call dword [eax + 4]
push 0x47954c
lea ecx, [esp + 0x20]
call fcn.00442ad0
push eax
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 8
test eax, eax
jne 0x441570
lea ecx, [esp + 0x1c]
call fcn.00442ad0
jmp 0x441573
add eax, 2
lea ecx, [esp + 0x1c]
mov esi, eax
xor edi, edi
call fcn.00442ac0
test eax, eax
jle 0x44159b
cmp byte [esi], 0x3f
jne 0x44158c
mov byte [esi], 0x26
inc esi
lea ecx, [esp + 0x1c]
inc edi
call fcn.00442ac0
cmp edi, eax
jl 0x441584
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::CFile
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov edi, dword [esp + 0x40]
push edi
lea edx, [esp + 0xc]
push str._s.sav
push edx
mov byte [esp + 0x44], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
push 0x1001
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call sub.MFC71.DLL_CFile::Open
test eax, eax
je 0x441633
lea ecx, [esp + 0x1c]
call fcn.00442ad0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00442ac0
mov cl, byte [esp + 0x44]
test cl, cl
je 0x44161f
xor ecx, ecx
test eax, eax
jl 0x44161f
lea esp, [esp]
mov dl, byte [ecx + esi]
xor dl, al
not dl
mov byte [ecx + esi], dl
inc ecx
cmp ecx, eax
jle 0x441610
push eax
push esi
lea ecx, [esp + 0x14]
call sub.MFC71.DLL_CFile::Write
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::Close
push edi
call dword [0x472178]
push edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [0x4720cc]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.0046b0b8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00442aa0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8