joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bd70
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x45bd8e
pop edi
add esp, 0x1c
ret
push esi
push 0x14
push str.Schedule
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x45bdb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x45bdea
push str._nGet_Service_state_error._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
cmp dword [esp + 0xc], 1
jne 0x45be00
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x45bdd6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret

Function at 0x45be20
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0x408
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x404], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0xe]
push ecx
mov dword [esp + 0xc], 0x200
mov word [esp + 0x10], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x45bec5
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea edx, [esp]
push edx
lea eax, [esp + 8]
push eax
mov dword [esp + 8], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x45bec5
push 0x4984d4
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, 1
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x408
ret
mov ecx, dword [esp + 0x404]
xor ecx, esp
xor eax, eax
call fcn.0048a3f6
add esp, 0x408
ret
Function at 0x45bee0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x48c646
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xf
cmp al, 6
jb 0x45bf6a
push 0x10
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x45bfba
push str.GlaryInitialize_5
lea ecx, [esi + 4]
mov dword [esi], vtable.CWinTask.0
call dword [0x497c80]
mov dword [esi], vtable.CWinTask2.0
mov dword [esi + 0xc], 0
mov eax, esi
mov dword [esi + 8], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0xc
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
test esi, esi
je 0x45bfba
push str.GlaryInitialize_5
lea ecx, [esi + 4]
mov dword [esi], vtable.CWinTask.0
call dword [0x497c80]
mov dword [esi], vtable.CWinTask1.0
mov eax, esi
mov dword [esi + 8], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x45ce40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48df48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
je 0x45cf32
mov eax, 3
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov edx, 8
push esi
mov word [esp + 0x20], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x45cedb
test esi, esi
je 0x45cedb
mov eax, 0xa
push 0x8007000e
mov word [esp + 0x20], ax
mov dword [esp + 0x28], 0x8007000e
call fcn.004069e0
mov ecx, dword [edi + 0xc]
lea esi, [esp + 0x14]
push esi
mov dword [esp + 0x18], 0
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
test eax, eax
jl 0x45cf2b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45cf2b
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jge 0x45cf47
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x1c]
push eax
call ebp
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x18], 1
jne 0x45cf55
lea ecx, [esp + 0x1c]
push ecx
jmp 0x45cf30
lea edx, [esp + 0x1c]
push edx
call ebp
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
Function at 0x45f6a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f650
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x45f6f5
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov dword [ebp + 8], eax
mov dword [esp + 0x10], 1
mov esi, eax
lea ecx, [esp + 0x24]
call fcn.004899de
mov dword [esp + 0x50], ebx
cmp esi, ebx
jne 0x45f70a
xor eax, eax
jmp 0x45f70d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CDC::Attach
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 1
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x40]
sub esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push esi
push ebx
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45f77f
mov edx, dword [esp + 0x28]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0xcc], 0
je 0x45f79a
lea eax, [esp + 0x24]
push eax
mov esi, edi
call fcn.0045f9c0
mov esi, dword [esp + 0xc]
jmp 0x45f7d0
mov ecx, dword [edi + 0x90]
push ecx
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CBrush::CBrush
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.004066b0
cmp dword [edi + 0x98], 0
je 0x45f815
movzx edx, byte [edi + 0xc4]
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push 0
push 0
push eax
push ecx
push 0
push 0
push edx
lea esi, [edi + 0x94]
call fcn.004014d0
mov esi, dword [esp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push ecx
push esi
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x10], 0
je 0x45f85f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.004066b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0xffffffff
call sub.mfc90u.dll_CDC::CDC
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4621c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48f54f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call dword [0x497e20]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x90], 0
call fcn.00489200
push 1
lea esi, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.00460420
mov byte [esp + 0x8c], 2
mov ecx, dword [eax]
push 0x4a4db8
push ecx
lea edx, [esp + 0x14]
push str._s_s
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
mov ecx, esi
mov byte [esp + 0x8c], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462272
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0xc]
push edx
lea edi, [esp + 0x18]
call fcn.00489600
push 1
test eax, eax
jne 0x4622b0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, edi
push ecx
mov byte [esp + 0x90], 0
call fcn.004892c0
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x4622d9
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x90], 0
call fcn.004892c0
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x84
ret
Function at 0x464a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d9b8
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x14], 0
mov eax, dword [ebx]
lea ecx, [ebx + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea edx, [ebx + 8]
push edx
lea ecx, [esi + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [esp + 0x28]
push eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea ecx, [esp + 0x30]
call fcn.00463010
sub edi, ebx
mov eax, 0x2aaaaaab
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0
call fcn.004645e0
add esp, 0x18
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xc
ret

Function at 0x465d10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48bda9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [ebx + 0x98], 0
jne 0x465de2
call sub.mfc90u.dll_AfxGetModuleState
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call edi
mov dword [ebx + 0x98], eax
test eax, eax
jne 0x465de2
lea ecx, [esp + 0xc]
call dword [0x497e20]
push 0x104
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x4a56c8
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x465dd8
push 0x6a
push esi
call edi
test eax, eax
je 0x465dd1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x98], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x465e00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push edi
mov edi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [esp + 8]
mov edx, esi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x465e43
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0048a3f6
add esp, 0x210
ret
Function at 0x46b850
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, eax
mov ecx, dword [esi + 0x298]
sub ecx, dword [esi + 0x294]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x46b58c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x294]
lea ecx, [edi*8]
sub ecx, edi
lea eax, [edx + ecx*4]
mov edx, dword [eax + 0x18]
cmp dword [edx - 0xc], 0
je 0x46b5cf
mov eax, dword [eax + 0x10]
sub eax, 1
je 0x46b5d1
sub eax, 1
jne 0x46b5cf
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x46b5cf
mov eax, dword [esi + 0x38]
test eax, eax
je 0x46b5cf
mov esi, dword [esi + 0x40]
push esi
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret
mov ecx, esi
pop esi
jmp 0x46b850
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4bb028]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x138]
push esi
mov esi, edx
push edi
mov dword [ebp - 0x7c], esi
test eax, eax
je 0x46b890
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [ebx + 0x138], 0
call fcn.00470830
push 5
push 0
push 0
push esi
push 0x498e14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
mov dword [ebp - 0x80], ebx
cmp ebx, 0x20
ja 0x46b9ca
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x78]
push eax
push 1
push 0
push str..htm
push SysReAllocString
call esi
test eax, eax
jne 0x46b9ca
lea ecx, [ebp - 0x78]
push ecx
lea edi, [ebp - 0x74]
call fcn.0046b9f0
test eax, eax
jne 0x46b9ca
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
mov edx, edi
push edx
call ebx
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov ecx, edi
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x46b9c5
lea edx, [ebp - 0x78]
push edx
call fcn.0046b9f0
test eax, eax
jne 0x46b9c5
mov esi, dword [sym.imp.MSVCR90.dll_wcsstr]
mov eax, edi
push str.__1_
push eax
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b96c
lea ecx, [ebp - 0x74]
push 0x4a572c
push ecx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b965
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [ebp + eax*2 - 0x76]
jmp 0x46b971
xor eax, eax
mov word [edi], ax
jmp 0x46b971
xor ecx, ecx
mov word [edi], cx
push 0x498e10
push edi
call ebx
mov edx, dword [ebp - 0x7c]
push edx
push edi
call ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x46b99f
xor eax, eax
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x46b9cc
lea edi, [eax + eax]
mov eax, edi
call fcn.0048b120
mov esi, esp
mov edx, 3
mov ecx, edi
lea eax, [ebp - 0x74]
call fcn.0041dfd0
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x46b9cc
mov eax, dword [ebp - 0x80]
jmp 0x46b9cc
mov eax, ebx
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
call fcn.0048a3f6
add ebp, 0x3a0
mov esp, ebp
pop ebp
ret
Function at 0x46b9f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0048a3f6
add esp, 0x210
ret 4
Function at 0x46d080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f3be
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00404e10
lea eax, [esi + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.00404e10
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x18], 1
call fcn.00404e10
lea edx, [esi + 0x48]
push edx
mov byte [esp + 0x18], 2
call fcn.00404e10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x46d1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f3be
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
mov ecx, edi
call fcn.00473e70
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.004630b0
lea edx, [esi + 0x30]
lea ecx, [edi + 0x30]
push edx
mov byte [esp + 0x18], 1
call fcn.004630b0
lea eax, [esi + 0x48]
lea ecx, [edi + 0x48]
push eax
mov byte [esp + 0x18], 2
call fcn.004630b0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x470150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b941
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
push edi
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x14], 1
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x14], 2
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0x6c], edx
mov eax, dword [edi + 0x70]
add edi, 0x74
push edi
lea ecx, [esi + 0x74]
mov dword [esi + 0x70], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x470830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48bda9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [ebx + 0x138], 0
jne 0x4708fd
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call edi
mov dword [ebx + 0x138], eax
test eax, eax
jne 0x4708fd
lea ecx, [esp + 0xc]
call dword [0x497e20]
push 0x104
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x4a56c8
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4708ec
push 0x6a
push esi
call edi
test eax, eax
je 0x4708ec
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x138], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret