joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100253c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x508], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x520]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::func::GetInstallPath_void_
add esp, 4
mov dword [esp + 0x528], 0
cmp dword [esp + 0x24], 0
jne 0x10025426
xor bl, bl
jmp 0x10025582
push str.iSafeTray.exe
lea ecx, [esp + 0x30]
call fcn.10008550
push 0x100b3188
lea ecx, [esp + 0x48]
mov byte [esp + 0x52c], 1
call fcn.10008550
push str.iSafe.exe
lea ecx, [esp + 0x60]
mov byte [esp + 0x52c], 2
call fcn.10008550
push str.iSafeSvc.exe
lea ecx, [esp + 0x78]
mov byte [esp + 0x52c], 3
call fcn.10008550
push str.iSafeSvc2.exe
lea ecx, [esp + 0x90]
mov byte [esp + 0x52c], 4
call fcn.10008550
push str.iSvc.dll
lea ecx, [esp + 0xa8]
mov byte [esp + 0x52c], 5
call fcn.10008550
push str.iSvc2.dll
lea ecx, [esp + 0xc0]
mov byte [esp + 0x52c], 6
call fcn.10008550
push str.ouilibx.dll
lea ecx, [esp + 0xd8]
mov byte [esp + 0x52c], 7
call fcn.10008550
push 0x100b314c
lea ecx, [esp + 0xf0]
mov byte [esp + 0x52c], 8
call fcn.10008550
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edi, edi
lea esi, [esp + 0x2c]
nop
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x10c], ax
lea eax, [esp + 0x10e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1002552a
mov ecx, dword [esi]
jmp 0x1002552c
mov ecx, esi
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0x10c]
push eax
call ebx
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10025565
inc edi
add esi, 0x18
cmp edi, 9
jl 0x10025500
mov bl, 1
jmp 0x10025567
xor bl, bl
push sym.iImportLib.dll_public:_void___thiscall_elex::strings::CAnalyzeCmdline::destructor_void_
push 9
push 0x18
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x538], 0
call fcn.10094926
cmp dword [esp + 0x28], 8
jb 0x10025596
push dword [esp + 0x14]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x520]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x100268c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100997fb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x24c], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
mov dword [esp + 0x1c], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x16
push str.SoftwareElex_techYAC
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.100089b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x270], 0
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push str.path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [sym.imp.MSVCR110.dll__wcsicmp]
test eax, eax
jne 0x100269b1
lea eax, [esp + 0x4c]
push 0x100b2814
push eax
call edi
add esp, 8
test eax, eax
jne 0x10026a22
push 0x39
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalliSafe
lea ecx, [esp + 0x24]
call fcn.100089b0
push 0x208
lea eax, [esp + 0x50]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push str.path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10026a78
lea eax, [esp + 0x4c]
push 0x100b2814
push eax
call edi
add esp, 8
test eax, eax
je 0x10026a78
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
call fcn.10008550
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.1000f9e0
cmp dword [esp + 0x48], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10026a52
push dword [esp + 0x34]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x30], 8
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x10026a98
push dword [esp + 0x1c]
call edi
jmp 0x10026a95
push 0x100b2814
mov ecx, esi
call fcn.10008550
cmp dword [esp + 0x30], 8
jb 0x10026a98
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10026ac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
test eax, eax
jne 0x10026b11
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push str.teflag
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
dec eax
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10026b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100998eb
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x434], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], 0
test esi, esi
jne 0x10026bff
xor eax, eax
push 0x206
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x10026bee
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x100b3da0
lea eax, [esp + 0x30]
push eax
call esi
push str.preference.ini
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.10008550
jmp 0x10026d68
push 0x100b2814
mov ecx, edi
call fcn.10008550
jmp 0x10026d68
push 0x100b2814
lea ecx, [esp + 0x18]
call fcn.10008550
push esi
push 0
push 0x1fffff
mov dword [esp + 0x45c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10026d48
lea eax, [esp + 0x10]
push eax
push 0x2000000
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x10026d41
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x10026d37
xor eax, eax
push 0x206
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.100085e0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10026cd1
push eax
push 0x1a
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.100085e0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10026d37
xor eax, eax
push 0x206
push eax
mov word [esp + 0x23c], ax
lea eax, [esp + 0x23e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push 0x100b3da0
push eax
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.preference.ini
lea eax, [esp + 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x18]
call fcn.100085e0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1000f9e0
cmp dword [esp + 0x28], 8
jb 0x10026d68
push dword [esp + 0x14]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1002af80
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002affb
lea eax, [ebp - 0x20c]
push eax
push 0
push str.silence
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
dec eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x1002bb10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x1002bbb3
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002bb30
sub edx, ecx
sar edx, 1
je 0x1002bbb3
push 0x3c
lea eax, [ebp - 0x58]
push 0
push eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x5c], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
xorps xmm0, xmm0
push 0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1002bbb3
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1002bbd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099f77
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
call sym.iImportLib.dll_bool___cdecl_elex::os::IsX64System_void_
test al, al
lea eax, [esp + 0x84]
je 0x1002bc49
push str.iSafeRKScanShell64.dll
jmp 0x1002bc4e
push str.iSafeRKScanShell.dll
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002bdbe
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x28]
call fcn.10008550
mov esi, eax
push str.regsvr32.exe
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a4], 0
call fcn.10008550
push str.__s__
mov edx, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a4], 1
call fcn.10011da0
add esp, 4
push esi
mov edx, eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x2a4], 2
call fcn.10011e40
add esp, 4
push 0x100b2b04
mov edx, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2a4], 3
call fcn.10011da0
add esp, 4
cmp dword [esp + 0x68], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1002bcfb
push dword [esp + 0x54]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp dword [esp + 0x50], 8
jb 0x1002bd22
push dword [esp + 0x3c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
cmp dword [esp + 0x20], 8
jb 0x1002bd49
push dword [esp + 0xc]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov byte [esp + 0x2a0], 8
cmp dword [esp + 0x38], 8
jb 0x1002bd78
push dword [esp + 0x24]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x80], 8
lea ecx, [esp + 0x6c]
cmovae ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.1002bb10
cmp dword [esp + 0x80], 8
mov bl, al
jb 0x1002bdba
push dword [esp + 0x6c]
call esi
add esp, 4
mov al, bl
jmp 0x1002bdc0
xor al, al
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1002d2a0
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1009a4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0x100a1d44
push 1
push 0
push 0x100a1f54
mov dword [esp + 0x64], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1002d318
mov byte [esp + 0xf], 0
jmp 0x1002d41c
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
movdqa xmmword [esp + 0x28], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x50], 1
movdqa xmm1, xmmword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
movapd xmm0, xmm1
movq qword [ecx], xmm1
unpckhpd xmm0, xmm1
movq qword [ecx + 8], xmm0
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm1
movq qword [ecx + 8], xmm0
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm1
movq qword [ecx + 8], xmm0
mov ecx, esp
push eax
movq qword [ecx], xmm1
movq qword [ecx + 8], xmm0
call dword [edx + 0x28]
test eax, eax
jns 0x1002d38f
mov byte [esp + 0xf], 0
jmp 0x1002d411
mov dword [esp + 0x20], 0
mov byte [esp + 0x50], 2
mov edi, dword [esp + 0x1c]
push 0x100a21f4
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x1002d3bf
push 0x8007000e
call fcn.1001df70
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x54], 3
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x1c]
push esi
mov edi, eax
mov byte [esp + 0x54], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x1002d3e9
mov byte [esp + 0xf], 0
jmp 0x1002d3fe
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x24]
call sym.iImportLib.dll_private:_bool___thiscall_elex::TaskScheduledEnumerator::EnumTaskFolder_struct_ITaskFolder___class_std::vector_struct_elex::TaskScheduledInfo___class_std::allocator_struct_elex::TaskScheduledInfo_____
mov byte [esp + 0xf], al
mov byte [esp + 0x50], 1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1002d411
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002d432
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret 4
Function at 0x1002fe40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [ebx + 0x14], 8
mov eax, ecx
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], eax
jb 0x1002fe68
mov esi, dword [ebx]
jmp 0x1002fe6a
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x1002fe89
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, edi
jb 0x1002fe75
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x14]
mov ecx, esi
and ecx, edx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x18], ecx
ja 0x1002fea1
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [edx + 8]
lea edi, [ecx*8]
mov esi, dword [edi + esi]
mov edi, edi
mov ecx, dword [edx + 8]
mov eax, dword [edx]
cmp dword [ecx + edi], eax
je 0x1002fec0
mov eax, dword [ecx + edi + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x1002ff8e
cmp dword [ebx + 0x14], 8
lea ecx, [esi + 8]
jb 0x1002fed5
mov eax, dword [ebx]
jmp 0x1002fed7
mov eax, ebx
push dword [ebx + 0x10]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.10010100
mov edx, dword [ebp - 8]
test eax, eax
je 0x1002feef
mov esi, dword [esi]
jmp 0x1002feb0
mov eax, dword [edx + 8]
mov ecx, esi
add eax, edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx]
mov dword [ebp - 0x14], eax
mov edi, edi
cmp dword [eax], ecx
jne 0x1002ff08
mov eax, ecx
jmp 0x1002ff0d
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x1002ff7c
cmp dword [esi + 0x1c], 8
mov eax, dword [esi + 0x18]
lea edx, [esi + 8]
mov dword [ebp - 0xc], eax
jb 0x1002ff22
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x1002ff32
mov edi, dword [ebx]
jmp 0x1002ff34
mov edi, ebx
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
jne 0x1002ff63
xor eax, eax
test eax, eax
jne 0x1002ff7c
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
cmp edx, ebx
jb 0x1002ff7c
cmp edx, ebx
setne al
test eax, eax
jne 0x1002ff7c
mov esi, dword [esi]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
jmp 0x1002ff00
mov ax, word [edi]
cmp ax, word [edx]
jne 0x1002ff74
add edi, 2
add edx, 2
dec ebx
jmp 0x1002ff3e
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1002ff42
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x1002ff8b
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
jmp 0x1002ff96
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret 8
Function at 0x10031090
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100310f1
cmp dword [edi + 0x24], 0
je 0x100310f1
push eax
mov dword [edi], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xea60
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100310d3
push 0
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x24]
mov dword [edi + 0x28], 0
call esi
mov dword [edi + 0x24], 0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10031105
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::close_void_]
mov dword [edi + 4], 0
mov eax, dword [edi + 0x2c]
lea ebx, [edi + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x1003113b
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10031129
mov ecx, edi
call fcn.10031150
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
push esi
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.10034ce0
mov esi, dword [eax]
cmp esi, dword [ebx]
jne 0x10031111
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034c20
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0
jne 0x10034c57
push 0
push 0
push 1
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x10032140
push 0
push 0
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x24], eax
pop esi
ret

Function at 0x10035720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov esi, edx
mov edi, ecx
call sub.MSVCR110.dll_memset
push 0
lea ecx, [ebp - 0x414]
call fcn.10035610
add esp, 0x10
test eax, eax
jne 0x10035778
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.MSVCR110.dll_memset
push edi
push str.Component_u
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x28
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push str.RelativePath
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1003582e
cmp word [ebp - 0x20c], 0
jne 0x10035802
xor ecx, ecx
jmp 0x1003581f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x10035810
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035810
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.100089b0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 0x10], eax
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10036e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov esi, edx
mov edi, ecx
call sub.MSVCR110.dll_memset
push 0
lea ecx, [ebp - 0x414]
call fcn.10035610
add esp, 0x10
test eax, eax
jne 0x10036e98
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.MSVCR110.dll_memset
push edi
push str.Component_u
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_swprintf_s]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x28
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push str.Version
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10036f4e
cmp word [ebp - 0x20c], 0
jne 0x10036f22
xor ecx, ecx
jmp 0x10036f3f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x10036f30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036f30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.100089b0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 0x10], eax
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret