Function at 0x4a3031
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1a8
mov eax, 0x5d3e17
call fcn.00506dc7
mov ebx, ecx
mov dword [ebp - 0x18], ebx
and dword [ebp - 0x1c], 0
call fcn.0041279d
push eax
lea ecx, [ebp - 0x14]
call fcn.00411d94
and dword [ebp - 4], 0
lea eax, [ebx + 0x70]
sub esp, 0x18
mov dword [ebp - 0xb0], eax
mov esi, eax
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00477f7b
test al, al
je 0x4a30a1
lea ecx, [ebx + 0xc0]
call fcn.004f4ce5
push 6
pop ecx
lea eax, [ebp - 0xc8]
lea esi, [ebx + 0x70]
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x14]
push str.select__from_DownloadManager_where_downloadstatus1_and_downloadtype__0
push eax
call fcn.00412690
sub esp, 0x10
lea eax, [ebx + 0x40]
mov esi, eax
mov dword [ebp - 0xac], eax
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00477f7b
mov ebx, dword [ebp - 0x14]
test al, al
je 0x4a3a66
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
and dword [ebp - 0x10], 0
add esi, 8
push eax
push ebx
mov ecx, esi
call fcn.004405eb
test al, al
je 0x4a3a48
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00440567
test al, al
je 0x4a3a3d
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1b4]
call fcn.0042d04b
push 1
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.pcmasterdata.dll_sqlite3_column_int
push 2
push dword [ebp - 0x10]
mov dword [ebp - 0xd8], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 3
push dword [ebp - 0x10]
mov dword [ebp - 0xd4], eax
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004ecc9c
add esp, 0x20
push eax
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
call fcn.00411f3a
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 4
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 3
call fcn.00411f3a
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 5
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.00411f3a
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 6
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 5
call fcn.00411f3a
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 7
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 6
call fcn.00411f3a
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 8
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 7
call fcn.00411f3a
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 9
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 8
call fcn.00411f3a
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0xa
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 9
call fcn.00411f3a
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0xb
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0xa
call fcn.00411f3a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0xc
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xb
call fcn.00411f3a
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0xd
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xc
call fcn.00411f3a
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0xe
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0xd
call fcn.00411f3a
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0xf
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xe
call fcn.00411f3a
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x10
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004ecc9c
add esp, 0x10
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x17c]
call fcn.00411f3a
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x11
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.00411f3a
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x12
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x11
call fcn.00411f3a
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x13
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x12
call fcn.00411f3a
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x14
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x13
call fcn.00411f3a
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x15
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x14
call fcn.00411f3a
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x16
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x15
call fcn.00411f3a
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x17
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x16
call fcn.00411f3a
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x18
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x17
call fcn.00411f3a
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x19
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x18
call fcn.00411f3a
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x1a
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x19
call fcn.00411f3a
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x1b
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x1a
call fcn.00411f3a
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x1c
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x1b
call fcn.00411f3a
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x1d
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x1c
call fcn.00411f3a
mov ecx, dword [ebp - 0x88]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x1e
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x1d
call fcn.00411f3a
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x1f
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1e
call fcn.00411f3a
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x20
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x1f
call fcn.00411f3a
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x21
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x20
call fcn.00411f3a
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x22
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x23
push dword [ebp - 0x10]
mov dword [ebp - 0x130], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x24
push dword [ebp - 0x10]
mov dword [ebp - 0x12c], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x25
push dword [ebp - 0x10]
mov dword [ebp - 0x128], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x26
push dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x27
push dword [ebp - 0x10]
mov dword [ebp - 0x120], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x28
push dword [ebp - 0x10]
mov dword [ebp - 0x118], eax
call sub.pcmasterdata.dll_sqlite3_column_int
mov dword [ebp - 0x114], eax
push 0x29
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_int
add esp, 0x40
mov dword [ebp - 0x110], eax
push 0x2a
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x2b
push dword [ebp - 0x10]
mov dword [ebp - 0x10c], eax
call sub.pcmasterdata.dll_sqlite3_column_int
push 0x2c
push dword [ebp - 0x10]
mov dword [ebp - 0x108], eax
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004ecc9c
add esp, 0x20
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x21
call fcn.00411f3a
mov ecx, dword [ebp - 0x9c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x2d
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x22
call fcn.00411f3a
mov ecx, dword [ebp - 0xa0]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x2e
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x23
call fcn.00411f3a
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x2f
push dword [ebp - 0x10]
call sub.pcmasterdata.dll_sqlite3_column_text
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004ecc9c
add esp, 0x10
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x24
call fcn.00411f3a
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, dword [ebp - 0x154]
cmp dword [eax - 0xc], 0
jne 0x4a3998
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
call fcn.00411f3a
sub esp, 0x18
mov dword [ebp - 0x104], 1
lea esi, [ebx + 0x70]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00477f7b
test al, al
je 0x4a3a15
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebx + 0xc0]
call fcn.0044b1f6
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x1b4]
push eax
add ecx, 0x14
call fcn.0042dac4
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004ff186
push 6
pop ecx
lea eax, [ebp - 0xc8]
lea esi, [ebx + 0x70]
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0
call fcn.0042d806
lea eax, [ebp - 0x10]
lea esi, [ebx + 8]
push eax
mov ecx, esi
call fcn.00440567
test al, al
jne 0x4a310a
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044064b
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0xc8]
push 6
pop ecx
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0xb0]
sub esp, 0x18
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00477f7b
test al, al
je 0x4a3aac
cmp dword [esi + 0xc4], 0
lea edi, [ebp - 0xc8]
push 6
seta al
add esi, 0x70
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0xc8]
pop ecx
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebx - 0x10]
call fcn.00412ac4
mov al, byte [ebp - 0x1c]
call fcn.00506d90
ret