joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422900
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.XLUE.dll__XLUE_GetHostWndByID_4]
push ebp
push esi
push edi
push str.Thunder.MainFrame
call ebx
test eax, eax
je 0x422a2b
mov esi, dword [sym.imp.XLUE.dll__XLUE_GetHostWndWindowHandle_4]
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x422a2b
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x422984
push 1
push str.ConfigFloatPanel_Visiable
push str.ConfigFloatPanel
call fcn.0040fbb8
mov ecx, eax
call fcn.0042256b
cmp eax, 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x422969
push str.window.floatpanel
call ebx
push 0
push eax
call esi
push eax
call edi
call fcn.0041be52
mov ecx, eax
call fcn.00422d45
push 2
push ebp
call edi
push 0
push ebp
call edi
jmp 0x422a2b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebp
je 0x422a2b
push 1
push str.ConfigFloatPanel_Visiable
push str.ConfigFloatPanel
call fcn.0040fbb8
mov ecx, eax
call fcn.0042256b
cmp eax, 1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4229e1
push str.window.floatpanel
call ebx
push eax
call esi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4229d1
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4229e1
push 5
push esi
call edi
call fcn.0041be52
mov ecx, eax
call fcn.00422d2b
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4229fd
push 9
push ebp
call edi
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x422a0d
push 5
push ebp
call edi
push ebp
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call fcn.0042283b
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x42403a
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4ad023
call fcn.0049f0d0
sub esp, 0x20
mov ecx, dword [ebp + 0xc]
call fcn.0040ae86
cmp dword [ebp + 8], 0
je 0x4240bb
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x4240bb
and dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
cmp dword [ebp - 0x10], esi
mov edi, eax
jle 0x4240ae
push dword [edi + esi*4]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0040af51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x42407f
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
xor eax, eax
pop esi
jmp 0x4240be
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x424deb
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4ad14c
call fcn.0049f0d0
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [esi], 0x4be644
call fcn.0048ace6
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0048ace6
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00423a3d
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 5
mov dword [esi + 0x80], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x429691
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4f0dd0]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
mov esi, 0x2b4
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2b8]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov ecx, edi
lea eax, [ebp - 0x2b8]
je 0x4296d9
push 0x4510
jmp 0x4296de
push 0x4511
push esi
push eax
push 0x80
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x4296f9
inc eax
jmp 0x429703
mov eax, dword [ebp - 0x2b8]
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 0xc

Function at 0x432f84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432fe2
cmp dword [ebp + 0x10], 1
je 0x432fc0
cmp dword [ebp + 0x10], 2
jne 0x432fd7
test edi, edi
mov eax, dword [ebp - 4]
je 0x432fdc
test al, 1
jne 0x432fd7
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x432fdc
push 0xd
pop eax
jmp 0x432fe2
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x4330b8
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4330d2
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 0xc
Function at 0x433de7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4adf39
call fcn.0049f0d0
mov eax, 0x205c
call fcn.0049f1f0
mov eax, dword [0x4f0dd0]
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x2048]
mov dword [ebp - 0x2068], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x202c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x2064]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
test esi, esi
mov byte [ebp - 4], 2
je 0x433e66
lea eax, [ebp - 0x2048]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0043c417
add esp, 0xc
test edi, edi
je 0x433e82
lea eax, [ebp - 0x202c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0043c417
add esp, 0xc
test ebx, ebx
je 0x433e9e
lea eax, [ebp - 0x2064]
push eax
push ebx
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push ebx
call fcn.0043c417
add esp, 0xc
lea ecx, [ebp - 0x2048]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push 0x4b82fc
lea ecx, [ebp - 0x2064]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x202c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x433efb
push dword [ebp - 0x2068]
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.0043c3a1
xor esi, esi
add esp, 0xc
inc esi
jmp 0x433efd
xor esi, esi
lea ecx, [ebp - 0x2064]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x202c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2048]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 0x10
Function at 0x4340a3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ade2c
call fcn.0049f0d0
sub esp, 0x20
mov eax, dword [0x4f0dd0]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
test esi, esi
je 0x4340e4
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0043c417
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
je 0x4340fb
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x434123
Capabilities:
Get file size

Disassembly:
mov eax, 0x4ade2c
call fcn.0049f0d0
sub esp, 0x2c
mov eax, dword [0x4f0dd0]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
call fcn.004340a3
xor edi, edi
cmp eax, edi
jne 0x434156
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x4341db
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp esi, edi
mov dword [ebp - 4], edi
je 0x43417b
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0043c417
add esp, 0xc
push edi
push edi
push 3
push edi
push 1
push Ordinal_1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4341a6
or esi, 0xffffffff
or edi, 0xffffffff
jmp 0x4341ca
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], edi
je 0x43419e
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov edi, ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4
Function at 0x4341f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x434246
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c3a1
xor eax, eax
add esp, 0xc
inc eax
jmp 0x434248
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x434257
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x4342a8
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c3a1
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4342aa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x4342b9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push 1
mov dword [ebp - 4], eax
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x434316
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c3a1
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x434325
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push 1
mov dword [ebp - 4], eax
push 5
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x434382
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c3a1
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4
Function at 0x434391
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f0dd0]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push 1
mov dword [ebp - 4], eax
push 0x23
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4343ee
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c3a1
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x4345f9
Capabilities:
Copy file

Disassembly:
mov eax, 0x4adf83
call fcn.0049f0d0
sub esp, 0x3c
mov eax, dword [0x4f0dd0]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x48]
push eax
push esi
mov byte [ebp - 4], 1
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.0043c417
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0043c417
add esp, 0xc
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor esi, esi
test eax, eax
je 0x434680
inc esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 0xc
Function at 0x435ba2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f0dd0]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
xor eax, eax
push eax
push eax
push 0x8037
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x435bf5
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0043c3a1
add esp, 0xc
jmp 0x435c02
push 0x4b8650
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x435ca7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4f0dd0]
push esi
push edi
xor eax, ebp
mov esi, 0x114
push esi
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push 0
push eax
call sub.MSVCR71.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], esi
call edi
test eax, eax
jne 0x435cf8
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], esi
call edi
test eax, eax
je 0x435d09
cmp dword [ebp - 0x7c], 6
jb 0x435d09
cmp dword [ebp - 0x70], 2
jne 0x435d09
xor eax, eax
inc eax
jmp 0x435d0b
xor eax, eax
mov ecx, dword [ebp + 0x94]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f127
add ebp, 0x98
leave
ret

Function at 0x435d22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.00435ca7
test eax, eax
je 0x435d99
and dword [ebp - 8], 0
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [ebp - 0x10], esi
pop esi
jne 0x435d99
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableLUA
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435d90
cmp dword [ebp - 8], 1
jne 0x435d90
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret
Function at 0x436636
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4f0dd0]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
mov ebx, dword [ebp + 0x1a8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1b0]
push esi
push edi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1b4]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x6c]
push eax
push 0x4ccdc8
xor edi, edi
push 1
push edi
push 0x4ccdf8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x43677d
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push 0x4cce48
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x43677d
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, edi
jl 0x43677d
cmp dword [ebp - 0x78], edi
je 0x4366e8
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, edi
jl 0x43677d
cmp dword [ebp - 0x7c], edi
je 0x436700
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x7c]
push eax
call dword [ecx + 0x44]
mov esi, eax
cmp esi, edi
jl 0x43677d
mov eax, dword [ebp + 0x1ac]
sub eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x436734
dec eax
jne 0x436758
lea eax, [ebp - 0x70]
push eax
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.MicrosoftInternet_ExplorerQuick_Launch_
jmp 0x436752
lea eax, [ebp - 0x70]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4b883c
lea eax, [ebp - 0x68]
push eax
call esi
push dword [ebp - 0x80]
lea eax, [ebp - 0x68]
push eax
call esi
push 0x4c081c
lea eax, [ebp - 0x68]
push eax
call esi
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x68]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x74]
cmp eax, edi
je 0x43678a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
cmp eax, edi
je 0x436797
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x198]
xor eax, eax
cmp esi, edi
pop edi
setge al
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
add ebp, 0x19c
leave
ret 0x14