joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002e4b7
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x10
mov eax, 0x10078505
call fcn.1006c26d
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, 0x10086e50
push esi
call dword [0x10085f70]
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call dword [0x10085f70]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [0x10085f70]
mov byte [ebp - 4], 0
call fcn.1002d40a
test eax, eax
jne 0x1002e529
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002e536
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
jmp 0x1002e538
shr eax, 3
and al, 1
jmp 0x1002e538
xor al, al
call fcn.1006c312
ret

Function at 0x10030316
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 0x1b
mov esi, ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003033d
push 0
push 0x4a0
push 0x111
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
push 2
mov ecx, esi
call sym.winzipsshelper.dll_public:_void___thiscall_CDlgBaseWndPopupNagBase::ActionOnBtnClick_enum_CDlgBaseWndPopupNagBase::BTN_CLICKED_
pop esi
ret

Function at 0x10030485
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
cmp edi, 0x65
jne 0x100304de
push 1
xor edi, edi
push edi
call sym.winzipsshelper.dll_public:_static_enum_ASO_TRIAL_VERSION_STATUS___cdecl_CSystweakApp::GetASOStatus_unsigned_long_int___bool_
push esi
call sym.winzipsshelper.dll_public:_static_void___cdecl_CSystweakApp::CloseTranslucentPopWindow_class_CDialog__
add esp, 0xc
push edi
push edi
push 0x10
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100304d2
push 1
mov ecx, esi
call sub.mfc90u.dll_CDialog::EndDialog
mov ecx, esi
call sub.mfc90u.dll_CWnd::Default
pop edi
pop esi
ret 4
cmp edi, 0x66
jne 0x100304d2
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10030611
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 2]
mov cx, word [esi]
inc esi
inc esi
test cx, cx
jne 0x1003061f
push 0x3c
pop ebx
sub esi, eax
push ebx
lea eax, [ebp - 0x3c]
push 0
push eax
sar esi, 1
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
mov ecx, edi
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ebx, [edi + 8]
push esi
mov ecx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x10]
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x18]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x1c]
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
setne byte [ebp + 0xb]
or esi, 0xffffffff
push esi
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], eax
mov ax, word [ebp - 0x24]
pop esi
mov word [edi + 0xc], ax
mov al, byte [ebp + 0xb]
pop ebx
leave
ret 4
Function at 0x10030878
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
push 0x1008858c
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [ebp - 0x184], 0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0x12
mov esi, 0x400
push esi
call edi
mov ebx, dword [sym.imp.MSVCR90.dll__wtol]
lea eax, [ebp - 0x24]
push eax
call ebx
pop ecx
push 0x10
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x24]
push eax
push 0x10
push esi
call edi
lea eax, [ebp - 0x24]
push eax
call ebx
pop ecx
push 0x10
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x44]
push eax
push 0xe
push esi
call edi
lea eax, [ebp - 0x44]
push 0x10
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x64]
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x64]
push 0x10
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x24]
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x24]
push eax
call ebx
mov edi, dword [ebp - 0x16c]
mov dword [esp], 0x100
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [edi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [ebp - 0x168]
push eax
push 0x10090784
push edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006b19e
leave
ret 8
Function at 0x10033a24
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x10075b76
call fcn.1006c23a
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x580]
mov dword [esi], vtable.CDownloadDlg.0
mov dword [edi], vtable.CDownloadDlg.1.0
mov dword [ebp - 4], 4
mov al, byte [esi + 0x584]
test al, al
jne 0x10033a6c
cmp byte [0x100ce2a9], al
jne 0x10033a6c
push dword [esi + 0x5b0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x7a0]
call sub.mfc90u.dll_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x74c]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x5d4]
mov byte [ebp - 4], 2
call sym.winzipsshelper.dll_public_virtual:_void___thiscall_CHoverButton::destructor_void_
lea ecx, [esi + 0x5c8]
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, edi
mov byte [ebp - 4], 0
call fcn.100309b1
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sym.winzipsshelper.dll_public_virtual:_void___thiscall_CDlgBaseChildPopUpWndBase::destructor_void_
call fcn.1006c312
ret

Function at 0x10033cbf
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x1006fd59
call fcn.1006c23a
xor esi, esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
push 0x1008ed84
call dword [0x10085f70]
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10033d38
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea esi, [ebp - 0x20]
call fcn.10006829
lea eax, [ebp - 0x18]
push eax
mov eax, esi
push eax
call fcn.100068df
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push eax
call dword [0x10085f74]
lea ecx, [ebp - 0x18]
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 byte [ebp - 4], bl
push dword [ebp - 0x20]
call sub.mfc90u.dll_delete__
pop ecx
lea ecx, [ebp + 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, dword [ebp + 8]
call fcn.1006c312
ret
Function at 0x10034f19
Capabilities:
Get mac address on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2884]
mov eax, 0x2884
call fcn.1006bbf0
push 0xffffffffffffffff
push 0x1006c946
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x2880], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call dword [0x10085f84]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea esi, [ebp]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x10]
push str._02X_02X_02X_02X_02X_02X
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0x10]
mov esi, dword [esi]
add esp, 0x20
cmp dword [eax - 0xc], 0
je 0x10034fda
push 0x10086e50
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x10034fde
test esi, esi
jne 0x10034f7b
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call dword [0x10085f0c]
lea ecx, [ebp - 0x10]
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, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x2880]
xor ecx, ebp
call fcn.1006b19e
add ebp, 0x2884
leave
ret
Function at 0x100358c8
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.1006bbf0
push 0xffffffffffffffff
push 0x1006c915
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x200c]
mov edi, dword [ebp + 0x2010]
mov ebx, dword [ebp + 0x2014]
mov esi, ecx
push dword [esi + 0x10]
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10035943
mov ecx, dword [ebp - 0x18]
push 0x10086e50
call dword [0x10085f70]
jmp 0x10035a37
lea ecx, [ebp - 0x14]
call dword [0x10085f84]
and dword [ebp - 4], 0
push 0x2000
lea eax, [ebp]
push 0
push eax
mov byte [ebp - 4], 1
call sub.MSVCR90.dll_memset
add esp, 0xc
push dword [esi + 0x10]
lea eax, [ebp]
push 0x1000
push eax
push 0x10086e50
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x14]
mov dword [esi + 0xc], eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp word [ebp], 0
je 0x100359ec
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
push 0x10089f48
push 0x10089f4c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push 0x10089f54
push 0x10089f58
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push 0x10089f60
push 0x10089f64
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push 0x100885a8
push 0x10089f6c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1c]
mov esi, eax
call dword [0x10085f84]
push esi
lea eax, [ebp - 0x1c]
push 0x100918c8
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [0x10085f0c]
lea ecx, [ebp - 0x1c]
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, [ebp - 0x14]
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 [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.1006b19e
add ebp, 0x2004
leave
ret 0xc
Function at 0x10035a9b
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xd0
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x7c]
lea ecx, [ebp - 0x5c]
call dword [0x10085f84]
push dword [esi + 0x10]
lea eax, [ebp - 0x58]
push 0x5a
push eax
push 0x10086e50
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
test eax, eax
setg cl
mov dword [esi + 0xc], eax
mov esi, ecx
lea ecx, [ebp - 0x5c]
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 [ebp + 0x70]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1006b19e
add ebp, 0x74
leave
ret 4

Function at 0x10035b01
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0xfa0
lea ebp, [esp - 4]
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0xfa0], eax
push 0x10
mov eax, 0x1006d634
call fcn.1006c23a
mov edi, ecx
mov ecx, dword [edi + 4]
call sub.mfc90u.dll_CStringList::RemoveAll
push dword [edi + 0x10]
lea eax, [ebp]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x10]
mov dword [edi + 0xc], eax
call dword [0x10085f84]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0xc], ebx
jle 0x10035bf8
movzx eax, word [ebp + ebx*2]
test ax, ax
je 0x10035b90
push eax
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x10]
call fcn.100067c5
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call dword [0x10085f74]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x10035bee
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::GetManager]
push eax
push 0x10088592
lea ecx, [ebp - 0x18]
call dword [0x10085c44]
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0x18]
setne byte [ebp - 0x11]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [ebp - 0x11], 0
je 0x10035be0
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x10]
push eax
push dword [ecx + 8]
call sub.mfc90u.dll_CStringList::InsertAfter
push 0x10086e50
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
inc ebx
cmp ebx, dword [edi + 0xc]
jl 0x10035b5b
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x10]
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, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xfa0]
xor ecx, ebp
call fcn.1006b19e
add ebp, 0xfa4
leave
ret
Function at 0x10035c29
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.1006bbf0
push 0xffffffffffffffff
push 0x1006d5f1
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x200c]
xor eax, eax
push 0x1ffe
mov word [ebp], ax
xor ebx, ebx
lea eax, [ebp + 2]
push ebx
push eax
mov edi, ecx
call sub.MSVCR90.dll_memset
mov ecx, dword [edi]
add esp, 0xc
call sub.mfc90u.dll_CStringList::RemoveAll
push dword [edi + 0x10]
lea eax, [ebp]
push 0x7d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ecx, [ebp - 0x10]
mov dword [edi + 0xc], eax
call dword [0x10085f84]
mov dword [ebp - 4], ebx
cmp dword [edi + 0xc], ebx
jle 0x10035d1b
movzx eax, word [ebp + ebx*2]
test ax, ax
je 0x10035cea
push eax
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x10]
call fcn.100067c5
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call dword [0x10085f74]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x10035d15
mov esi, 0x10086e50
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x10035d0b
mov ecx, dword [edi]
lea eax, [ebp - 0x10]
push eax
push dword [ecx + 8]
call sub.mfc90u.dll_CStringList::InsertAfter
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
inc ebx
cmp ebx, dword [edi + 0xc]
jl 0x10035cb5
mov edi, dword [edi]
lea ecx, [ebp - 0x10]
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, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.1006b19e
add ebp, 0x2004
leave
ret 4
Function at 0x10036add
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push 4
mov eax, 0x10071c43
call fcn.1006c26d
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 2
call sym.winzipsshelper.dll_public:_static_bool___cdecl_CSystweakApp::IsInternetConnected_void_
cmp al, bl
jne 0x10036b20
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x3e8af0
lea ecx, [ebp + 8]
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, [ebp + 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
call fcn.1006c312
ret 0xc
push dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x10036b38
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x10036b58
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x10036afb
lea ecx, [ebp + 8]
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, [ebp + 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
inc eax
jmp 0x10036b18
Function at 0x10045521
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10045589
mov esi, 0x114
xor ebx, ebx
push esi
inc ebx
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x100455e3
push esi
push 0
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x1004556c
push 5
jmp 0x100455da
cmp eax, 5
jne 0x100455db
cmp dword [edi + 8], 0
jne 0x1004557b
push 6
jmp 0x100455da
cmp eax, 5
jne 0x100455db
cmp dword [edi + 8], ebx
jne 0x100455db
push 7
jmp 0x100455da
cmp al, 4
jae 0x10045591
xor ebx, ebx
jmp 0x100455e3
push 2
pop ebx
mov esi, 0x114
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x100455e3
push esi
push 0
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x100455db
cmp dword [edi + 8], 0xa
jne 0x100455ce
push 3
jmp 0x100455da
cmp eax, 4
jne 0x100455db
cmp dword [edi + 8], 0x5a
jne 0x100455db
push eax
pop ebx
push edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x1004956f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
movzx esi, word [esp + 0x10]
push edi
push 2
push esi
call sub.mfc90u.dll_AfxFindResourceHandle
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 2
mov ebp, eax
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
jne 0x100495a6
push 2
push esi
xor ebp, ebp
push ebp
call ebx
mov edi, eax
test edi, edi
jne 0x100495a6
xor eax, eax
jmp 0x100495e7
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100495a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100495a2
cmp dword [eax + 0x20], 0
je 0x100495c9
movzx eax, word [eax + 0x20]
jmp 0x100495d8
movzx eax, word [eax + 0xe]
dec eax
je 0x100495d5
sub eax, 3
jmp 0x100495dc
push 2
pop eax
cmp ax, 0x10
jne 0x100495a2
push 0
push edi
push ebp
call sub.mfc90u.dll_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1004978e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1d8]
sub esp, 0x258
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x1d4], eax
push esi
xor esi, esi
cmp dword [0x100d4184], esi
jne 0x1004985d
push ebx
lea eax, [ebp - 0x78]
push eax
push 0x20019
push esi
xor ebx, ebx
push str.SoftwareMicrosoftPlus_ThemesCurrent
inc ebx
push SysReAllocStringLen
mov dword [0x100d4184], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004985c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 0x104
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10049853
push edi
push 0xb
pop ecx
mov esi, str.Windows_Classic.theme
lea edi, [ebp + 0x1a8]
lea eax, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov edi, eax
lea eax, [ebp + 0x1a8]
push eax
call esi
cmp edi, eax
jl 0x10049852
lea eax, [ebp + 0x1a8]
push eax
push eax
call esi
sub edi, eax
lea eax, [ebp + edi*2 - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10049852
mov dword [0x100d4180], ebx
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp + 0x1d4]
mov eax, dword [0x100d4180]
xor ecx, ebp
pop esi
call fcn.1006b19e
add ebp, 0x1d8
leave
ret