joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037a90
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10180f36
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x144]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x10037b0f
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.100e05f0
push 1
push 0x101af36c
lea ecx, [ebp - 0x128]
call fcn.10001c20
cmp dword [ebp - 0x12c], 8
lea edx, [ebp - 0x140]
cmovae edx, dword [ebp - 0x140]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037b80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.10001d30
push 0x17
push str.ACCCreative_Cloud.exe
lea ecx, [ebp - 0x128]
call fcn.10001d30
push 1
push 0x101af36c
lea ecx, [ebp - 0x128]
call fcn.10001d30
push 0x13
push str.___showwindowfalse
lea ecx, [ebp - 0x128]
call fcn.10001d30
push 0x13
push str.___onOSstartuptrue
lea ecx, [ebp - 0x128]
call fcn.10001d30
cmp dword [ebp - 0x114], 8
lea eax, [ebp - 0x110]
push 0xff
push 0
lea edi, [ebp - 0x128]
mov dword [ebp - 0x14c], 1
cmovae edi, dword [ebp - 0x128]
push eax
call fcn.10150b00
add esp, 0xc
mov dword [ebp - 0x148], 0xff
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push str.Adobe_Creative_Cloud
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037c8f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037c52
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0
push str.Adobe_Creative_Cloud
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10037c8f
mov bl, 1
jmp 0x10037c91
xor bl, bl
lea ecx, [ebp - 0x128]
call fcn.10001bc0
lea ecx, [ebp - 0x140]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x10038840
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017fe08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
jb 0x10038889
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x28]
call fcn.100e5620
add esp, 4
test al, al
jne 0x100388c3
call fcn.10002de0
push str.Path_Conversion_to_UTF_8_failed.
push 0x101a55a8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
xor bl, bl
jmp 0x1003894e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x30]
movlpd qword [ebp - 0x30], xmm0
lea eax, [ebp - 0x28]
movlpd qword [ebp - 0x40], xmm0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
movlpd qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1003891e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_disk_Space_error_:_d
push 0x101a55a8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.100037f0
add esp, 0x10
xor bl, bl
jmp 0x1003894e
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
ja 0x1003894c
jb 0x10038930
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 8]
jae 0x1003894c
push str.Not_Enough_disk_space_on_System.
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.10003970
add esp, 0xc
xor bl, bl
jmp 0x1003894e
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x10039300
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181150
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x14], 0x10
jb 0x1003935d
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x40]
call fcn.100e5620
add esp, 4
test al, al
jne 0x10039397
call fcn.10002de0
push str.Failed_to_convert_path_to_wide_char
mov ecx, dword [eax]
push 0x101a55a8
push eax
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
xor bl, bl
jmp 0x100394bf
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100393b9
call fcn.10002de0
push str.Backup_Directory_is_not_present_n
jmp 0x10039378
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x100393c3
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x28]
call fcn.100e5620
add esp, 4
test al, al
je 0x1003936e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10039421
sub esp, 8
call fcn.10002de0
push eax
push ecx
mov ecx, esi
call fcn.100e2480
add esp, 0x10
test al, al
jne 0x10039421
push str.Failed_to_remove_remains_of_the_installation
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.100037f0
add esp, 0xc
xor bl, bl
jmp 0x100394bf
call fcn.10002de0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
mov esi, dword [eax]
cmovae ecx, dword [ebp - 0x40]
push edx
push ecx
mov esi, dword [esi + 0x54]
mov ecx, esi
push str.backup_folder__ls_source_Folder_:_ls
push 0x101a53f8
push eax
call dword [0x1018a4d4]
call esi
add esp, 0x14
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1015c056
add esp, 8
test eax, eax
je 0x1003949b
push str.Failed_to_Restore_the_Backup_folder
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.10003970
add esp, 0xc
xor bl, bl
jmp 0x100394bf
call fcn.10002de0
push str.Backup_Folder_is_restored_to_original_folder
push 0x101a55a8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.10001bc0
lea ecx, [ebp - 0x40]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x10039c30
Capabilities:
Check if file exists
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181250
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10039c6a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10039ca1
cmp dword [esi + 0x14], 8
jb 0x10039c7d
mov esi, dword [esi]
push esi
push str.Application_file_path_does_not_exist:__s_n
push 0x101b1d5c
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003eb0
add esp, 0x10
xor al, al
jmp 0x10039e3f
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x101af36c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10001c20
mov dword [ebp - 4], 0
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x10039cd5
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039ce0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10001d30
push 1
push 0x101af36c
lea ecx, [ebp - 0x28]
call fcn.10001d30
push 1
push 0x101a531c
lea ecx, [ebp - 0x28]
call fcn.10001d30
push 0xc
push str.uninstallAAM
lea ecx, [ebp - 0x28]
call fcn.10001d30
push ecx
push 0x101a4ae8
mov ecx, esi
call fcn.1003dfe0
xor ecx, ecx
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x10], eax
mov dword [ebp - 0x2c], 7
cmovb eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
mov word [ebp - 0x40], cx
jb 0x10039d56
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10001c20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edx
cmovae ecx, dword [ebp - 0x28]
push eax
push 0
push 0x8000000
push 1
push 0
push 0
push ecx
push 0
mov dword [ebp - 0x98], 0x44
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0x101
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10039e19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_Occured_trying_to_launch_exe._Error:__d
push 0x101b1d5c
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003eb0
add esp, 0x10
xor bl, bl
jmp 0x10039e2d
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x40]
call fcn.10001bc0
lea ecx, [ebp - 0x28]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x1003c860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181610
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x44], edx
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x1003ca12
cmp dword [esi + 0x10], 0
je 0x1003ca12
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1003c8b0
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003c8ed
call fcn.10002de0
cmp dword [edi + 0x14], 8
jb 0x1003c8c8
mov edi, dword [edi]
mov esi, dword [eax]
push edi
push str.src_File:_ls_does_not_exists_in_utilMovePathIfExistsToPath
push 0x101a53f8
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1018a4d4]
call esi
add esp, 0x10
mov al, 1
jmp 0x1003ca2c
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x1003c8f7
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003c910
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10001c20
mov dword [ebp - 4], 0
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x1003c93a
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003c953
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10001c20
push ecx
push 1
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1003d7f0
add esp, 8
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.10001bc0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10001bc0
test bl, bl
jne 0x1003c9d5
cmp dword [esi + 0x14], 8
jb 0x1003c9a6
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1003c9ae
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push str.Failed_to_Move_srcPath:_ls_destPath:_ls_error_:_d
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
add esp, 0x18
jmp 0x1003ca2a
call fcn.10002de0
cmp dword [esi + 0x14], 8
jb 0x1003c9e5
mov esi, dword [esi]
mov dword [ebp - 0x44], esi
cmp dword [edi + 0x14], 8
jb 0x1003c9ed
mov edi, dword [edi]
push dword [ebp - 0x44]
mov esi, dword [eax]
push edi
push str.Successfully_moved_from__ls_to__ls
push 0x101a53f8
mov esi, dword [esi + 0x44]
mov ecx, esi
push eax
call dword [0x1018a4d4]
call esi
add esp, 0x14
mov al, 1
jmp 0x1003ca2c
push str.Invalid_arguments_to_utilMovePathIfExistsToPath
push 0x101a53f8
call fcn.10002de0
push eax
call fcn.10003d90
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x1003ca50
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x26
lea eax, [ebp - 0x210]
mov edi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1003cab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_retreive_drivePath__from_Win_library_error:_d
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x210]
push 0x101a4ae8
push eax
call fcn.1015c031
add esp, 0xc
test eax, eax
je 0x1003cb3e
call fcn.10002de0
push str.drivePath_retreived
push 0x101a53f8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
lea edx, [ebp - 0x210]
add esp, 0xc
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1003cb00
sub edx, ecx
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10001c20
push 1
push 0x101a4ae8
mov ecx, edi
call fcn.10001d30
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
push str.Failed_to_get_drivePath
push 0x101a53f8
call fcn.10002de0
push eax
call fcn.10003e20
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor al, al
pop edi
pop esi
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x10042420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182030
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101e42fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
test edi, edi
jne 0x1004247b
push str.PIMSqlite::initWithDBPath_NULL_parameter
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.10003670
add esp, 0xc
xor bl, bl
jmp 0x1004260b
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042480
sub ecx, edx
lea esi, [ebx + 8]
push ecx
push edi
mov ecx, esi
call fcn.100040c0
cmp dword [esi + 0x14], 0x10
jb 0x1004249d
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov ecx, 1
push 0
sete al
mov edx, ebx
cmp byte [ebp + 0xc], 0
mov byte [ebx + 4], al
mov eax, 6
cmovne eax, ecx
mov ecx, edi
push eax
call fcn.100de580
add esp, 8
test eax, eax
jne 0x100425e5
call fcn.10002de0
push edi
push str.Success_sqlite3_open_from_the_path:__s
push 0x101a55a8
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x40]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov esi, dword [ebx]
push esi
push 0x100dc960
push esi
call fcn.100dc9d0
add esp, 0x1c
mov dword [esi + 0x1c8], 0x3e8
lea eax, [ebp + 0x10]
mov byte [esi + 0x1a0], 1
lea ecx, [ebp - 0x30]
push eax
call fcn.10004390
mov byte [ebp - 4], 1
call fcn.10002de0
push str.trying_to_createOrUpdatePIMDbSchema.
push 0x101a55a8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10047610
test al, al
jne 0x10042562
xor bl, bl
jmp 0x10042595
sub esp, 0x18
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x14], 0
mov ecx, esp
push eax
jne 0x10042583
call fcn.10004390
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.10048a60
jmp 0x10042593
call fcn.10004390
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.10048d80
mov bl, al
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.10001bc0
test bl, bl
je 0x100425cb
mov bl, 1
call fcn.10002de0
push str.PIM_Database_is_Up_To_Date.
push 0x101a55a8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
jmp 0x1004260b
push str.Could_not_createOrUpdatePIMDbSchema.
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.100037f0
add esp, 0xc
jmp 0x10042608
call fcn.10002de0
push edi
push str.Error_unable_to_open_Sqlite_Data_base_from_the_path:__s.
push 0x101a55a8
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x40]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0x10
mov bl, byte [ebp - 0xd]
lea ecx, [ebp + 0x10]
call fcn.10001bc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x1007da10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
push 0
push 0x14
mov dword [ebp - 4], eax
mov dword [eax], 0
call fcn.1004c100
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007da42
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x101e4c6c], 0
je 0x1007da94
mov edi, dword [0x101e4d6c]
test edi, edi
je 0x1007da6b
push 0xc8
mov ecx, edi
call dword [0x1018a4d4]
call edi
add esp, 4
test eax, eax
jne 0x1007da94
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x1004f2e0
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.1015d5cc
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1007daa4
jmp 0x1007da97
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x1007dac4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov ecx, ebx
mov dword [esi + 4], eax
call dword [0x1018a4d4]
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100919a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x10091a3e
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test eax, eax
je 0x100919f5
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [ebp + 8]
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x10091a1a
test edx, edx
jne 0x10091a2c
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
add edi, edi
push 0
mov edx, ebx
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.10050fe0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x10091acd
jmp 0x10091a32
movzx ecx, byte [ecx + 0x101a8a48]
movzx edx, byte [edx + 0x101a8a48]
sub edx, ecx
jne 0x10091a2f
inc eax
jmp 0x100919e0
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
inc esi
mov eax, dword [ebp + 8]
cmp esi, dword [ecx + 0x14]
jl 0x100919c0
mov edx, str.sqlite_master
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x10091a6a
test ecx, ecx
jne 0x10091a7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10091a7f
neg ecx
sbb ecx, ecx
jmp 0x10091aa2
movzx eax, byte [eax + 0x101a8a48]
movzx ecx, byte [ecx + 0x101a8a48]
sub ecx, eax
jne 0x10091acb
inc ebx
jmp 0x10091a45
test ecx, ecx
je 0x10091acb
mov esi, ecx
mov edx, eax
sub esi, eax
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10091ab6
test ecx, ecx
jne 0x10091ac8
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10091acb
mov ecx, dword [ebp - 4]
mov ebx, str.sqlite_temp_master
mov dword [ebp - 8], ebx
jmp 0x100919b4
movzx eax, byte [eax + 0x101a8a48]
movzx ecx, byte [ecx + 0x101a8a48]
sub ecx, eax
jne 0x10091a9f
inc edx
jmp 0x10091a90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10091c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 8], edx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x10091d26
mov edx, dword [ebp + 8]
push esi
nop dword [eax]
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x10091ce5
mov esi, dword [esi]
mov eax, edx
sub esi, edx
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10091d11
test edx, edx
jne 0x10091d23
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.10050fe0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x10091d08
mov eax, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jl 0x10091cb0
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x101a8a48]
movzx edx, byte [edx + 0x101a8a48]
sub edx, ecx
jne 0x10091cfc
inc eax
jmp 0x10091cd3
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret