joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403080
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40310b
cmp ax, 9
je 0x4030f8
cmp ax, 0x20
je 0x4030f8
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x403160
cmp ax, 0x22
je 0x403170
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40310b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4030b0
test edi, 1
jne 0x4030b0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x4030f8
cmp ax, 0x20
je 0x4030f8
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x403188
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x4030cb
and dword [ebp - 0x54], 1
jne 0x4030c4
xor edi, 1
jmp 0x4030cb
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x403124

Function at 0x4031a0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x6bbb6936
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x691e5d4e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40673a
pop dword [ebp - 0x30]
mov eax, 0x54c5b37f
sub eax, 0x54854c45
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x6d8718c0
sub dword [ebp - 0x40], 0x1f34d375
mov dword [ebp - 0x3c], 0x28e0f530
sub dword [ebp - 0x3c], 0xf6ada8eb
mov dword [ebp - 0x38], 0x9624b2be
sub dword [ebp - 0x38], 0x49d86e90
mov dword [ebp - 0x34], 0xcfe7b130
add dword [ebp - 0x34], 0x30184ed0
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xf291f653
sub dword [ebp - 0x40], 0x7e1f8cfd
mov dword [ebp - 0x3c], 0xaba37620
add dword [ebp - 0x3c], 0x95c8eb55
mov dword [ebp - 0x38], 0x20b71545
sub dword [ebp - 0x38], 0xbd47a8d9
mov dword [ebp - 0x34], 0x7a268564
add dword [ebp - 0x34], 0x85d97a9c
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3532d
push 0
call eax
mov ecx, 0xd5761c48
sub ecx, 0xd575dd8d
mov esi, eax
mov edi, 0x46e400
add edi, dword [ebp - 0x30]
mov edx, 0x894c8061
sub edx, 0xb55ecca7
add dword [ebp - 8], 0x54e10539
mov ebx, dword [edi]
xor dword [ebp - 0x28], 0x116e7e47
xor ebx, edx
sub dword [ebp - 0x24], ecx
mov dword [esi], ebx
add dword [ebp - 0x10], ecx
add esi, 4
add edi, 0xab67189b
add edi, 0x5498e769
loop 0x40684c
add eax, 0xbcd1d1c4
add eax, 0x432f1bfb
mov ebx, eax
add eax, 0xa6216004
sub eax, 0xa6215fff
mov ecx, 0x86a02e97
add ecx, 0x799fd169
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x58e36b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x77c111f8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x58e380
xor eax, eax
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x58e37d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x58e3b2
cmp eax, 0x20b
jne 0x58e37d
xor eax, eax
cmp dword [ecx + 0x84], 0xe
jbe 0x58e3c3
cmp dword [ecx + 0xf8], eax
jmp 0x58e3c0
xor eax, eax
cmp dword [ecx + 0x74], 0xe
jbe 0x58e3c3
cmp dword [ecx + 0xe8], eax
setne al
ret
Function at 0x10002450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002469
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100024a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100024a0
lea ebx, [ebx]
cmp esi, edx
jae 0x100024a4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10002490
cmp esi, edx
jb 0x100024ab
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10003620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10045070]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.100033e0
cmp dword [ebp - 0xc], 8
push 0x208
lea eax, [ebp - 0x230]
push 0
lea esi, [ebp - 0x20]
cmovae esi, dword [ebp - 0x20]
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push esi
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
call esi
test eax, eax
jne 0x100036b5
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100036b5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
call esi
test eax, eax
jne 0x100036c7
or esi, 0xffffffff
jmp 0x100036e1
lea eax, [ebp - 0x230]
push eax
push edi
push str.maxzipsize
push str.scan
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
cmp dword [ebp - 0xc], 8
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
jb 0x100036fd
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10027146
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100037d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029e30
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x10045070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.10003500
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [esi], ax
jne 0x1000382d
xor ecx, ecx
jmp 0x10003841
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003832
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10009b60
push 1
push 0x1002fb54
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.100094d0
cmp dword [ebp - 0x30], 8
push 0x208
lea eax, [ebp - 0x250]
push 0
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x250]
push esi
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
call edi
test eax, eax
jne 0x100038d2
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100038d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x250]
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x100038ef
or esi, 0xffffffff
jmp 0x10003909
lea eax, [ebp - 0x250]
push eax
push esi
push str.path
push str.target
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
cmp dword [ebp - 0x18], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
jb 0x10003927
push dword [ebp - 0x2c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x10003949
push dword [ebp - 0x44]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10027146
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029817
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x10045070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0x10048a44
mov dword [0x10048a44], 0
mov dword [0x10048a48], 0
call fcn.10008d40
mov dword [0x10048a44], eax
mov dword [ebp - 4], 0
mov dword [0x10048a4c], 0
mov dword [0x10048a50], 0
call fcn.10008d40
mov dword [0x10048a4c], eax
xor eax, eax
mov dword [0x10048a68], 7
mov dword [0x10048a64], 0
mov word [0x10048a54], ax
push 0x206
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x10003b4d
xor ecx, ecx
jmp 0x10003b65
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003b56
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10009b60
cmp dword [0x10048a68], 8
jb 0x10003b90
push dword [0x10048a54]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [0x10048a54], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x10048a54
mov dword [0x10048a68], 7
mov dword [0x10048a64], 0
call fcn.10009620
cmp dword [ebp - 0x21c], 8
jb 0x10003bd5
push dword [ebp - 0x230]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x10048a44
mov dword [0x10048a6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027146
mov esp, ebp
pop ebp
ret
Function at 0x1000a660
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002ab06
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10045070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x91], 0
jne 0x1000a839
mov ebx, dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVContainer::GetChildWnd_wchar_t_const__]
push 0
push 0x1004544c
push 0x1004521c
push 0
push str.IDC_SELECTALL_VIRUS_CHK
mov byte [esi + 0x91], 1
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1000a6d4
push 0
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVCheckBox::SetCheck_int_]
mov ecx, esi
call fcn.1000d000
push 0
push 0x10045414
push 0x1004521c
push 0
push str.IDC_VIRUS_RECORD_TREE
mov ecx, esi
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1000a71d
mov edi, dword [eax + 0x80]
test edi, edi
je 0x1000a71d
push 0
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVTreeItem::Expand_bool_]
push 1
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVTreeItem::RemoveAllChildren_bool_]
push 0
push 0x10045238
push 0x1004521c
push 0
push str.IDC_QUARANTINE_SUB_VS
mov ecx, esi
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1000a750
push 1
push str.IDC_QUARANTINE_SCANNING_VW
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVViewStack::ShowViewByID_wchar_t_const___bool_]
push 0
push 0x10045430
push 0x1004521c
push 0
push str.IDC_QUARANTINE_SCANNING_PIC
mov ecx, esi
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
test edi, edi
je 0x1000a7a2
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1000a789
push eax
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::KillTimer_unsigned_int_]
push 0x64
push 0x613
mov ecx, edi
mov dword [edi + 0x84], 0x613
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::SetTimer_unsigned_int__unsigned_int_]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x48], esp
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x48], 0x1000a850
mov dword [esp + 0x4c], 0
movq xmm0, qword [esp + 0x48]
movq qword [eax], xmm0
mov dword [esp + 0x50], esi
movq xmm0, qword [esp + 0x50]
movq qword [eax + 8], xmm0
call fcn.1000da60
mov dword [esp + 0x58], 0
mov eax, dword [0x1004859c]
test al, 1
jne 0x1000a827
or eax, 1
mov dword [0x1004859c], eax
mov byte [esp + 0x58], 1
mov dword [0x10048588], 0
mov dword [0x10048590], 0
call fcn.10019a40
push 0x1002d1e0
call fcn.10027354
add esp, 4
mov byte [esp + 0x58], 0
mov ecx, 0x10048570
mov dword [esp + 0x58], 0xffffffff
call fcn.10019b10
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fbc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002ab06
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10045070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x91], 0
je 0x1000fc18
push str.CVirusScanTrustView::UpdateTrustListData_m_bEnuming_is_true__return_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVContainer::GetChildWnd_wchar_t_const__]
push 0
push 0x10045414
push 0x1004521c
push 0
push str.IDC_TRUST_RECORD_TREE
mov byte [edi + 0x91], 1
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1000fc65
mov esi, dword [eax + 0x80]
test esi, esi
je 0x1000fc65
push 0
mov ecx, esi
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVTreeItem::Expand_bool_]
push 1
mov ecx, esi
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVTreeItem::RemoveAllChildren_bool_]
push 0
push 0x10045238
push 0x1004521c
push 0
push str.IDC_TRUST_SUB_VS
mov ecx, edi
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1000fc98
push 1
push str.IDC_TRUST_SCANNING_VW
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVViewStack::ShowViewByID_wchar_t_const___bool_]
push 0
push 0x10045430
push 0x1004521c
push 0
push str.IDC_TRUST_SCANNING_PIC
mov ecx, edi
call ebx
push eax
call sub.MSVCR110.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1000fcea
mov eax, dword [esi + 0x84]
test eax, eax
je 0x1000fcd1
push eax
mov ecx, esi
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::KillTimer_unsigned_int_]
push 0x64
push 0x614
mov ecx, esi
mov dword [esi + 0x84], 0x614
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::SetTimer_unsigned_int__unsigned_int_]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x48], esp
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x48], 0x1000fda0
mov dword [esp + 0x4c], 0
movq xmm0, qword [esp + 0x48]
movq qword [eax], xmm0
mov dword [esp + 0x50], edi
movq xmm0, qword [esp + 0x50]
movq qword [eax + 8], xmm0
call fcn.10010b40
mov dword [esp + 0x58], 0
mov eax, dword [0x1004859c]
test al, 1
jne 0x1000fd6f
or eax, 1
mov dword [0x1004859c], eax
mov byte [esp + 0x58], 1
mov dword [0x10048588], 0
mov dword [0x10048590], 0
call fcn.10019a40
push 0x1002d1e0
call fcn.10027354
add esp, 4
mov byte [esp + 0x58], 0
mov ecx, 0x10048570
mov dword [esp + 0x58], 0xffffffff
call fcn.10019b10
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014f20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b27e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10045070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x54], 8
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x40]
cmovae ecx, dword [ebp + 0x40]
push dword [ebp + 0x58]
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push ecx
push eax
mov ecx, edi
call fcn.100141e0
lea esi, [edi + 0xe0]
mov dword [edi], vtable.CVirusRecoveryTreeItem.3.0
mov dword [edi + 0xc], vtable.CVirusRecoveryTreeItem.2.0
mov dword [edi + 0x24], vtable.CVirusRecoveryTreeItem.1.0
mov dword [edi + 0x8c], vtable.CVirusRecoveryTreeItem.0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], eax
mov word [esi + 0x18], ax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [edi + 0xd8], eax
lea eax, [ebp + 0x10]
cmp esi, eax
je 0x10014fec
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100097e0
lea ecx, [esi + 0x18]
lea eax, [ebp + 0x28]
cmp ecx, eax
je 0x10015000
push 0xffffffffffffffff
push 0
push eax
call fcn.100097e0
lea ecx, [esi + 0x30]
lea eax, [ebp + 0x40]
cmp ecx, eax
je 0x10015014
push 0xffffffffffffffff
push 0
push eax
call fcn.100097e0
mov ecx, dword [ebp + 0x58]
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0x4c], ecx
lea ecx, [ebp + 0x10]
call fcn.10009e00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x58

Function at 0x100197c0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10045070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ecx + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100197ff
pop edi
or eax, 0xffffffff
pop esi
or edx, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027146
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x54]
push esi
push 0x50
push eax
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xffffffff
je 0x10019861
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019830
sub ecx, edx
sar ecx, 1
je 0x10019861
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi64]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027146
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
xor edx, edx
pop ebx
call fcn.10027146
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10019940
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b90e
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10045070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x10019a0d
mov eax, dword [0x100489f4]
test al, 1
jne 0x100199d0
or eax, 1
mov dword [0x100489f4], eax
mov dword [ebp - 4], 0
call fcn.1001c040
push 0x1002d340
call fcn.10027354
add esp, 4
cmp dword [0x100489f0], 8
mov eax, 0x100489dc
cmovae eax, dword [0x100489dc]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10019a09
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10019a0d
mov al, 1
jmp 0x10019a0f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027146
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10019f90
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002bb58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x10045070]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x10019df0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.1001a510
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4