Function at 0x49fed0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x506685
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x88]
mov edi, dword [0x6abbac]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call edi
mov ecx, dword [esp + 0x8c]
lea ebp, [esi + 0x14]
push ecx
mov ecx, ebp
call edi
lea edx, [esp + 0x38]
push 9
push edx
mov byte [esi + 8], 0
call dword [0x6ad758]
add esp, 8
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], 0
call dword [0x6aba94]
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call dword [0x6abb50]
lea ecx, [esp + 0x58]
push ecx
push 0x80cc3c
lea edx, [esp + 0x70]
push edx
mov ecx, eax
mov byte [esp + 0x8c], 2
call dword [0x6abb54]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x84], 3
call dword [0x6abb58]
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 5
call dword [0x6abb5c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 6
call dword [0x6abba4]
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 7
call dword [0x6abb5c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 8
call dword [0x6abc18]
push 0x6ecd30
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00401090
add esp, 0xc
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 9
call dword [0x6abba8]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 0xa
call dword [0x6abbb8]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0x84], 0xb
call dword [0x6aba70]
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0xa
call dword [0x6abbdc]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 9
call dword [0x6abc18]
push str.QSQLITE
lea ecx, [esp + 0x20]
call dword [0x6abbc4]
push str._scanpapyrus.db
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x8c], 0xc
call fcn.00401090
push str._ocr.db
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x98], 0xd
call fcn.00401090
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x9c], 0xe
call dword [0x6ad88c]
add esp, 0x1c
test al, al
jne 0x4a0220
push 0
lea ecx, [esp + 0x34]
push str.Database_driver_not_installed
push ecx
call fcn.0049bb40
add esp, 0xc
mov bl, 0x20
mov byte [esp + 0x88], bl
mov edx, dword [esp + 0x88]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 0xf
call dword [0x6abb70]
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
call dword [0x6abb70]
push str.__1__:__2
lea ecx, [esp + 0x4c]
call dword [0x6abbc4]
mov ebp, dword [0x6abb74]
lea ecx, [esp + 0x88]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov byte [esp + 0x90], 0x10
call ebp
lea edx, [esp + 0x8c]
push edx
push 0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x4c]
mov bl, 0x11
push edx
mov ecx, eax
mov byte [esp + 0x90], bl
call ebp
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x84], 0x12
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], bl
call dword [0x6abc18]
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 0x10
call dword [0x6abc18]
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0xf
call dword [0x6abc18]
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0xe
call dword [0x6abc18]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0xd
call dword [0x6abc18]
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0xc
call dword [0x6abc18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 9
call dword [0x6abc18]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 8
call dword [0x6abc18]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], 0xffffffff
call dword [0x6abc18]
xor al, al
jmp 0x4a09bc
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [0x6ad890]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 0x13
call dword [0x6ad894]
lea ecx, [esp + 0x14]
call dword [0x6ad898]
test al, al
jne 0x4a036f
push 0
lea eax, [esp + 0x34]
push str.Cant_establish_connection_to
push eax
call fcn.0049bb40
add esp, 0xc
mov bl, 0x20
mov byte [esp + 0x88], bl
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 0x14
call dword [0x6abb70]
mov byte [esp + 0x48], bl
mov edx, dword [esp + 0x48]
push edx
lea ecx, [esp + 0x8c]
call dword [0x6abb70]
push str._1_:__2
lea ecx, [esp + 0x40]
call dword [0x6abbc4]
mov ebp, dword [0x6abb74]
lea ecx, [esp + 0x88]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
mov byte [esp + 0x90], 0x15
call ebp
lea edx, [esp + 0x8c]
push edx
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
mov bl, 0x16
push edx
mov ecx, eax
mov byte [esp + 0x90], bl
call ebp
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x84], 0x17
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], bl
call dword [0x6abc18]
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0x15
call dword [0x6abc18]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 0x14
call dword [0x6abc18]
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0x13
call dword [0x6abc18]
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0xe
call dword [0x6ad84c]
jmp 0x4a01bc
mov ecx, esi
call fcn.0049e480
cmp al, 1
push ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
sete bl
call dword [0x6ad890]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x18
call dword [0x6ad894]
lea ecx, [esp + 0x18]
call dword [0x6ad898]
test al, al
jne 0x4a04da
push 0
lea eax, [esp + 0x34]
push str.Cant_establish_connection_to
push eax
call fcn.0049bb40
add esp, 0xc
mov bl, 0x20
mov byte [esp + 0x88], bl
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 0x19
call dword [0x6abb70]
mov byte [esp + 0x48], bl
mov edx, dword [esp + 0x48]
push edx
lea ecx, [esp + 0x8c]
call dword [0x6abb70]
push str._1_:__2
lea ecx, [esp + 0x40]
call dword [0x6abbc4]
mov ebp, dword [0x6abb74]
lea ecx, [esp + 0x88]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
mov byte [esp + 0x90], 0x1a
call ebp
lea edx, [esp + 0x8c]
push edx
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x50]
mov bl, 0x1b
push edx
mov ecx, eax
mov byte [esp + 0x90], bl
call ebp
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x84], 0x1c
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], bl
call dword [0x6abc18]
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0x1a
call dword [0x6abc18]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 0x19
call dword [0x6abc18]
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
mov esi, dword [0x6ad84c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0x13
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0xe
call esi
jmp 0x4a01bc
mov ecx, esi
call fcn.0049f300
cmp al, 1
sete al
test bl, bl
je 0x4a04f5
test al, al
je 0x4a04f5
mov eax, 1
jmp 0x4a04f7
xor eax, eax
push str.PRAGMA_temp_storeMEMORY
lea ecx, [esp + 0x8c]
mov byte [esi + 8], al
call dword [0x6abbc4]
mov esi, dword [0x6ad8bc]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
mov bl, 0x1d
push edx
mov byte [esp + 0x8c], bl
call esi
mov edi, dword [0x6ad844]
lea ecx, [esp + 0x94]
call edi
mov ebp, dword [0x6ad840]
mov ecx, eax
mov byte [esp + 0x84], 0x1e
call ebp
mov byte [esp + 0x80], bl
mov ebx, dword [0x6ad82c]
lea ecx, [esp + 0x8c]
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_journal_modeOFF
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x1f
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x20
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x1f
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_synchronous0
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x21
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x22
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x21
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_count_changes0
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x23
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x24
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x23
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_cache_size_4096
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x25
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x26
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x25
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_temp_storeMEMORY
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x27
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x28
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x27
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_journal_modeOFF
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
mov byte [esp + 0x80], 0x29
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x2a
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x29
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_synchronous0
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x2b
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x2c
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x2b
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_count_changes0
lea ecx, [esp + 0x8c]
call dword [0x6abbc4]
lea eax, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x8c], 0x2d
call esi
lea ecx, [esp + 0x94]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x2e
call ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0x80], 0x2d
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
push str.PRAGMA_cache_size_4096
lea ecx, [esp + 0x38]
call dword [0x6abbc4]
lea eax, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x90], esp
mov byte [esp + 0x88], 0x2f
push edx
call esi
lea ecx, [esp + 0x54]
call edi
mov ecx, eax
mov byte [esp + 0x84], 0x30
call ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 0x2f
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0x18
call dword [0x6abc18]
mov esi, dword [0x6ad84c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0x13
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0xe
call esi
mov eax, dword [esp + 0x48]
mov bl, byte [eax + 8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0xd
call dword [0x6abc18]
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0xc
call dword [0x6abc18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 9
call dword [0x6abc18]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 8
call dword [0x6abc18]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], 0xffffffff
call dword [0x6abc18]
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8