Function at 0x10001d40
Capabilities:
Check if file exists
Create thread
Get common file path
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1003ace8
mov eax, dword fs:[0]
push eax
mov eax, 0x1748
call fcn.1000f9b0
mov eax, dword [0x1004c258]
xor eax, esp
mov dword [esp + 0x1744], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004c258]
xor eax, esp
push eax
lea eax, [esp + 0x175c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x22c], edi
xor ecx, ecx
mov dword [edi + 0x44], 7
mov dword [edi + 0x40], 0
mov dword [esp + 0x1764], 0
mov word [edi + 0x30], cx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], ecx
lea ebp, [edi + 0x407c]
push 8
mov byte [esp + 0x1768], 4
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], ecx
call fcn.1000cf22
add esp, 4
test eax, eax
jne 0x10001df2
call fcn.1000c9fb
mov dword [ebp], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp]
mov dword [eax], ebp
lea esi, [edi + 0x4090]
push 8
mov byte [esp + 0x1768], 5
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1000cf22
add esp, 4
test eax, eax
jne 0x10001e4a
call fcn.1000c9fb
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
xor eax, eax
mov dword [edi + 0x40bc], 7
mov dword [edi + 0x40b8], 0
mov word [edi + 0x40a8], ax
lea ecx, [edi + 0x40d0]
mov byte [esp + 0x1764], 7
mov dword [edi + 0x40d0], eax
mov dword [edi + 0x40d4], eax
call fcn.100084f0
mov dword [edi + 0x40d0], eax
mov dword [edi + 0x40f4], 7
mov dword [edi + 0x40f0], 0
xor eax, eax
mov word [edi + 0x40e0], ax
mov dword [edi + 0x4120], 7
mov dword [edi + 0x411c], eax
mov word [edi + 0x410c], ax
mov dword [edi + 0x4124], eax
mov dword [edi + 0x4128], eax
mov dword [edi + 0x412c], eax
mov dword [edi + 0x4130], eax
mov dword [edi + 0x4134], eax
mov dword [edi + 0x4138], eax
mov dword [edi + 0x413c], eax
mov dword [edi + 0x4140], eax
mov dword [edi + 0x4144], eax
xor ecx, ecx
mov dword [edi + 0x4194], 7
mov dword [edi + 0x4190], eax
mov word [edi + 0x4180], cx
mov eax, dword [0x1004c118]
mov ecx, 0x1004c118
mov byte [esp + 0x1764], 0xd
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x4198], eax
xor ecx, ecx
mov dword [edi + 0x41b0], 7
mov dword [edi + 0x41ac], 0
mov word [edi + 0x419c], cx
push ecx
mov dword [edi + 0x4178], ecx
mov dword [edi + 0x417c], ecx
push 0x1003e390
lea ecx, [edi + 0x4198]
mov byte [esp + 0x176c], 0xf
call fcn.100082a0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [edi + 0x4170], eax
mov dword [0x1006c684], 0
mov dword [edi + 0x416c], 0
mov byte [edi], 0
mov byte [edi + 0x14], 1
mov byte [0x1004e540], 0
mov dword [edi + 0x28], 0x1000000
mov word [edi + 0x24], 1
mov dword [edi + 0x40d8], 0
mov dword [edi + 0x40dc], 0
mov word [edi + 0x415c], 0
mov byte [edi + 0x415e], 0
mov byte [edi + 0x27], 0
mov dword [0x1004e554], 0
mov dword [edi + 0x4160], 0xffffffff
mov dword [edi + 0x4164], 0xffffffff
mov byte [edi + 0x2c], 0
mov dword [edi + 0x40a4], 0
mov ecx, ebp
call fcn.10008e10
lea ecx, [edi + 0x4090]
call fcn.10008e10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000000
push 0x4000000
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [edi + 8], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0xc], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x10], eax
call esi
push str.GlobalPCAccelerateProScannerMutex
push 0
push 0x1f0001
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1004e550], eax
cmp dword [0x1004e550], 0
je 0x100020a0
mov byte [0x1004e541], 0
jmp 0x10002139
xorps xmm0, xmm0
push 1
lea eax, [esp + 0x308]
push eax
mov byte [esp + 0x30c], 0
movq qword [esp + 0x30d], xmm0
movq qword [esp + 0x315], xmm0
mov word [esp + 0x31d], 0
mov byte [esp + 0x31f], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [esp + 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xorps xmm0, xmm0
lea eax, [esp + 0x304]
push str.GlobalPCAccelerateProScannerMutex
movq qword [esp + 0x2f8], xmm0
mov dword [esp + 0x2f8], eax
push 0
lea eax, [esp + 0x2f8]
push eax
mov dword [esp + 0x2fc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1004e550], eax
mov byte [0x1004e541], 1
xor eax, eax
push 0x206
push eax
mov word [esp + 0x558], ax
lea eax, [esp + 0x55a]
push eax
call fcn.10010030
add esp, 0xc
lea eax, [esp + 0x550]
push 0x104
push eax
push 0
call dword [0x1006c8b8]
lea ecx, [esp + 0x550]
lea edx, [ecx + 2]
jmp 0x10002180
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002180
sub ecx, edx
sar ecx, 1
dec ecx
lea eax, [esp + 0x550]
cmp word [eax + ecx*2], 0x5c
lea eax, [eax + ecx*2]
je 0x100021ba
xor edx, edx
mov word [eax], dx
lea ecx, [ecx - 1]
lea eax, [esp + 0x550]
cmp word [eax + ecx*2], 0x5c
lea eax, [eax + ecx*2]
jne 0x100021a1
cmp word [esp + 0x550], 0
jne 0x100021c9
xor ecx, ecx
jmp 0x100021e2
lea ecx, [esp + 0x550]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100021d3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x554]
push eax
lea ecx, [edi + 0x30]
call fcn.100096f0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x350], ax
lea eax, [esp + 0x352]
push eax
call fcn.10010030
add esp, 0xc
cmp byte [esp + 0x1784], 0
push 0
mov ecx, 0x23
mov eax, 0x1c
cmovne eax, ecx
push eax
lea eax, [esp + 0x350]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x18]
push eax
call fcn.10006430
add esp, 4
push dword [eax]
lea eax, [esp + 0x34c]
push eax
mov byte [esp + 0x176c], 0x10
call dword [0x1006c8bc]
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov byte [esp + 0x1764], 0xf
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x348]
push eax
call ebp
test eax, eax
jne 0x100022aa
lea eax, [esp + 0x348]
push eax
call fcn.10004c30
add esp, 4
lea eax, [esp + 0x348]
push eax
push pe_nt_image_headers32
push 0x1006c688
call fcn.1000dcf3
add esp, 0xc
lea eax, [esp + 0x348]
push 0x1003e7d8
push eax
call dword [0x1006c8bc]
lea eax, [esp + 0x348]
push eax
call ebp
test eax, eax
jne 0x100022f5
lea eax, [esp + 0x348]
push eax
call fcn.10004c30
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp word [0x1006c688], ax
jne 0x10002319
xor ecx, ecx
jmp 0x10002330
mov ecx, 0x1006c688
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002321
sub ecx, edx
sar ecx, 1
push ecx
push 0x1006c688
lea ecx, [esp + 0x24]
call fcn.100096f0
push str.RPCAPro.conf
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c8]
push eax
mov byte [esp + 0x1770], 0x11
call fcn.100013b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10002369
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x2d4], 8
mov esi, eax
jb 0x1000239d
push dword [esp + 0x2c0]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x30], 8
mov dword [esp + 0x2d4], 7
mov dword [esp + 0x2d0], 0
mov word [esp + 0x2c0], ax
mov byte [esp + 0x1764], 0xf
jb 0x100023d8
push dword [esp + 0x1c]
call fcn.1000cef3
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp esi, 0xffffffff
je 0x100027f2
push eax
push eax
push eax
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x7ff
lea eax, [esp + 0x75d]
push 0
push eax
mov byte [esp + 0x764], 0
call fcn.10010030
push str.PidFile__
lea eax, [esp + 0x768]
push 0x800
push eax
call fcn.1000d31f
add esp, 0x18
xor eax, eax
push str.RPCAPro.pid
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [0x1006c688], ax
jne 0x1000246b
xor ecx, ecx
jmp 0x10002482
mov ecx, 0x1006c688
lea ebp, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002473
sub ecx, ebp
sar ecx, 1
push ecx
push 0x1006c688
mov ecx, edx
call fcn.100096f0
lea eax, [esp + 0x24c]
push eax
call fcn.1000bd90
add esp, 0x1c
push eax
lea eax, [esp + 0x174]
push eax
mov byte [esp + 0x1770], 0x12
call fcn.100010e0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x100024c0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x75c]
push 0x800
push eax
call fcn.1000d374
add esp, 0xc
cmp dword [esp + 0x180], 0x10
jb 0x100024ef
push dword [esp + 0x16c]
call fcn.1000cef3
add esp, 4
cmp dword [esp + 0x244], 0x10
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], 0
mov byte [esp + 0x16c], 0
mov byte [esp + 0x1764], 0xf
jb 0x1000252e
push dword [esp + 0x230]
call fcn.1000cef3
add esp, 4
push str.__r_nLogFile__
lea eax, [esp + 0x75c]
push 0x800
push eax
mov dword [esp + 0x250], 0xf
mov dword [esp + 0x24c], 0
mov byte [esp + 0x23c], 0
call fcn.1000d374
add esp, 0xc
xor eax, eax
push str.RPCAPro.log
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [0x1006c688], ax
jne 0x10002590
xor ecx, ecx
jmp 0x100025af
mov ecx, 0x1006c688
lea ebp, [ecx + 2]
jmp 0x100025a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100025a0
sub ecx, ebp
sar ecx, 1
push ecx
push 0x1006c688
mov ecx, edx
call fcn.100096f0
lea eax, [esp + 0x1b8]
push eax
call fcn.1000bd90
add esp, 0x1c
push eax
lea eax, [esp + 0x298]
push eax
mov byte [esp + 0x1770], 0x13
call fcn.100010e0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x100025ed
mov eax, dword [eax]
push eax
lea eax, [esp + 0x75c]
push 0x800
push eax
call fcn.1000d374
add esp, 0xc
cmp dword [esp + 0x2a4], 0x10
jb 0x1000261c
push dword [esp + 0x290]
call fcn.1000cef3
add esp, 4
cmp dword [esp + 0x1b0], 0x10
mov dword [esp + 0x2a4], 0xf
mov dword [esp + 0x2a0], 0
mov byte [esp + 0x290], 0
mov byte [esp + 0x1764], 0xf
jb 0x1000265b
push dword [esp + 0x19c]
call fcn.1000cef3
add esp, 4
push str.__r_nDatabaseDirectory__
lea eax, [esp + 0x75c]
push 0x800
push eax
mov dword [esp + 0x1bc], 0xf
mov dword [esp + 0x1b8], 0
mov byte [esp + 0x1a8], 0
call fcn.1000d374
add esp, 0xc
xor eax, eax
push str.database
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [0x1006c688], ax
jne 0x100026bd
xor ecx, ecx
jmp 0x100026d4
mov ecx, 0x1006c688
lea ebp, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100026c5
sub ecx, ebp
sar ecx, 1
push ecx
push 0x1006c688
mov ecx, edx
call fcn.100096f0
lea eax, [esp + 0x1a0]
push eax
call fcn.1000bd90
add esp, 0x1c
push eax
lea eax, [esp + 0x1bc]
push eax
mov byte [esp + 0x1770], 0x14
call fcn.100010e0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10002712
mov eax, dword [eax]
push eax
lea eax, [esp + 0x75c]
push 0x800
push eax
call fcn.1000d374
add esp, 0xc
cmp dword [esp + 0x1c8], 0x10
jb 0x10002741
push dword [esp + 0x1b4]
call fcn.1000cef3
add esp, 4
cmp dword [esp + 0x198], 0x10
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], 0
mov byte [esp + 0x1b4], 0
mov byte [esp + 0x1764], 0xf
jb 0x10002780
push dword [esp + 0x184]
call fcn.1000cef3
add esp, 4
push str.__r_nTCPSocket_3310_r_nTCPAddr_127.0.0.1_r_nSelfCheck_0_r_nDisableCertCheck_yes_r_nForceToDisk_no_r_nScanELF_no_r_nPhishingSignatures_no_r_nPhishingScanURLs_no_r_n
lea eax, [esp + 0x75c]
push 0x800
push eax
mov dword [esp + 0x1a4], 0xf
mov dword [esp + 0x1a0], 0
mov byte [esp + 0x190], 0
call fcn.1000d374
lea ecx, [esp + 0x764]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100027c2
push 0
lea eax, [esp + 0x348]
push eax
sub ecx, edx
push ecx
lea eax, [esp + 0x764]
push eax
push esi
call dword [0x1006c8d4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
cmp word [0x1006c688], ax
jne 0x10002816
xor ecx, ecx
jmp 0x1000282f
mov ecx, 0x1006c688
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002820
sub ecx, edx
sar ecx, 1
push ecx
push 0x1006c688
lea ecx, [esp + 0x54]
call fcn.100096f0
push str.PCAProUpdater.conf
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x250]
push eax
mov byte [esp + 0x1770], 0x15
call fcn.100013b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10002868
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x25c], 8
mov esi, eax
jb 0x1000289c
push dword [esp + 0x248]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x60], 8
mov dword [esp + 0x25c], 7
mov dword [esp + 0x258], 0
mov word [esp + 0x248], ax
mov byte [esp + 0x1764], 0xf
jb 0x100028d7
push dword [esp + 0x4c]
call fcn.1000cef3
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
cmp esi, 0xffffffff
je 0x10002b05
push eax
push eax
push eax
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esp + 0x177c], 0
jne 0x10002921
push 0x13
push str.database.clamav.net
lea ecx, [esp + 0x1774]
call fcn.100096f0
lea eax, [esp + 0x176c]
push eax
lea eax, [esp + 0x2ac]
push str.DatabaseMirror
push eax
call fcn.10001500
push str._r_nScriptedUpdates_yes
push eax
lea eax, [esp + 0x28c]
push eax
mov byte [esp + 0x177c], 0x16
call fcn.100013b0
mov ebp, eax
lea eax, [esp + 0x1784]
add esp, 0x18
cmp eax, ebp
je 0x100029ac
cmp dword [esp + 0x1780], 8
jb 0x1000297f
push dword [esp + 0x176c]
call fcn.1000cef3
add esp, 4
xor eax, eax
push ebp
lea ecx, [esp + 0x1770]
mov dword [esp + 0x1784], 7
mov dword [esp + 0x1780], 0
mov word [esp + 0x1770], ax
call fcn.10008420
cmp dword [esp + 0x28c], 8
jb 0x100029c5
push dword [esp + 0x278]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x2bc], 8
mov dword [esp + 0x28c], 7
mov dword [esp + 0x288], 0
mov word [esp + 0x278], ax
mov byte [esp + 0x1764], 0xf
jb 0x10002a06
push dword [esp + 0x2a8]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x7ff
push eax
mov word [esp + 0x2b0], ax
mov byte [esp + 0xf60], al
lea eax, [esp + 0xf61]
push eax
mov dword [esp + 0x2c8], 7
mov dword [esp + 0x2c4], 0
call fcn.10010030
sub esp, 0xc
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x178c]
push eax
call fcn.100095d0
lea eax, [esp + 0x2f0]
push eax
call fcn.1000bd90
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x10002a80
mov eax, dword [eax]
push eax
lea eax, [esp + 0xf5c]
push 0x800
push eax
call fcn.1000d374
add esp, 0xc
cmp dword [esp + 0x2ec], 0x10
jb 0x10002aaf
push dword [esp + 0x2d8]
call fcn.1000cef3
add esp, 4
lea ecx, [esp + 0xf58]
mov dword [esp + 0x2ec], 0xf
mov dword [esp + 0x2e8], 0
mov byte [esp + 0x2d8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002ad7
push 0
lea eax, [esp + 0x344]
push eax
sub ecx, edx
push ecx
lea eax, [esp + 0xf64]
push eax
push esi
call dword [0x1006c8d4]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
jmp 0x10002b0b
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1003e39e
push 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
call fcn.1000ed49
xor eax, eax
add esp, 8
mov word [esp + 0x330], ax
mov dword [esp + 0x33a], eax
mov word [esp + 0x33e], ax
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], eax
lea eax, [esp + 0x330]
xorps xmm0, xmm0
push eax
movq qword [esp + 0x336], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x2fc]
push eax
lea eax, [esp + 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [esp + 0x300]
xor eax, eax
or eax, dword [esp + 0x2fc]
and ecx, 0x7fffffff
mov dword [edi + 0x70], eax
push 3
mov dword [edi + 0x74], ecx
xor eax, eax
push 0x1003e998
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.100096f0
lea eax, [esp + 0x34]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x17
call fcn.1000b490
cmp dword [esp + 0x48], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002bf2
push dword [esp + 0x34]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 3
push 0x1003e9a0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
call fcn.100096f0
lea eax, [esp + 0x64]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x18
call fcn.1000b490
cmp dword [esp + 0x78], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002c5d
push dword [esp + 0x64]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9a8
lea ecx, [esp + 0x110]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.10001ce0
lea eax, [esp + 0x10c]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x19
call fcn.1000b490
cmp dword [esp + 0x120], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002cbe
push dword [esp + 0x10c]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9b0
lea ecx, [esp + 0xe0]
mov dword [esp + 0x124], 7
mov dword [esp + 0x120], 0
mov word [esp + 0x110], ax
call fcn.10001ce0
lea eax, [esp + 0xdc]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x1a
call fcn.1000b490
cmp dword [esp + 0xf0], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002d28
push dword [esp + 0xdc]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9b8
lea ecx, [esp + 0x140]
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], ax
call fcn.10001ce0
lea eax, [esp + 0x13c]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x1b
call fcn.1000b490
cmp dword [esp + 0x150], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002d92
push dword [esp + 0x13c]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9c0
lea ecx, [esp + 0x98]
mov dword [esp + 0x154], 7
mov dword [esp + 0x150], 0
mov word [esp + 0x140], ax
call fcn.10001ce0
lea eax, [esp + 0x94]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x1c
call fcn.1000b490
cmp dword [esp + 0xa8], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002dfc
push dword [esp + 0x94]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9c8
lea ecx, [esp + 0xc8]
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
call fcn.10001ce0
lea eax, [esp + 0xc4]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x1d
call fcn.1000b490
cmp dword [esp + 0xd8], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002e66
push dword [esp + 0xc4]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9d0
lea ecx, [esp + 0xf8]
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
call fcn.10001ce0
lea eax, [esp + 0xf4]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x1e
call fcn.1000b490
cmp dword [esp + 0x108], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002ed0
push dword [esp + 0xf4]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9d8
lea ecx, [esp + 0x128]
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], 0
mov word [esp + 0xf8], ax
call fcn.10001ce0
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x1f
call fcn.1000b490
cmp dword [esp + 0x138], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002f3a
push dword [esp + 0x124]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9e0
lea ecx, [esp + 0x80]
mov dword [esp + 0x13c], 7
mov dword [esp + 0x138], 0
mov word [esp + 0x128], ax
call fcn.10001ce0
lea eax, [esp + 0x7c]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x20
call fcn.1000b490
cmp dword [esp + 0x90], 8
mov byte [esp + 0x1764], 0xf
jb 0x10002f9e
push dword [esp + 0x7c]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9e8
lea ecx, [esp + 0x158]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
call fcn.10001ce0
lea eax, [esp + 0x154]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x21
call fcn.1000b490
cmp dword [esp + 0x168], 8
mov byte [esp + 0x1764], 0xf
jb 0x10003008
push dword [esp + 0x154]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1003e9f0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x16c], 7
mov dword [esp + 0x168], 0
mov word [esp + 0x158], ax
call fcn.10001ce0
lea eax, [esp + 0xac]
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x1768], 0x22
call fcn.1000b490
cmp dword [esp + 0xc0], 8
mov byte [esp + 0x1764], 0xf
jb 0x10003072
push dword [esp + 0xac]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1006c688
lea ecx, [esp + 0x218]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
call fcn.10001ce0
push str.databasemain.cvd
push eax
lea eax, [esp + 0x320]
push eax
mov byte [esp + 0x1770], 0x23
call fcn.100013b0
add esp, 0xc
cmp dword [esp + 0x228], 8
mov byte [esp + 0x1764], 0x25
jb 0x100030e2
push dword [esp + 0x214]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x32c], 8
mov word [esp + 0x214], ax
lea eax, [esp + 0x318]
cmovae eax, dword [esp + 0x318]
push eax
mov dword [esp + 0x22c], 7
mov dword [esp + 0x228], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003170
cmp dword [esp + 0x32c], 8
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0x32c]
cmovae eax, dword [esp + 0x32c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003170
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x1000316b
mov byte [edi + 0x2b], al
push esi
call ebp
jmp 0x10003174
mov byte [edi + 0x2b], 0
cmp byte [edi + 0x2b], 0
je 0x10003181
mov ecx, edi
call fcn.100060e0
push 0x1006c688
lea ecx, [esp + 0x1e8]
call fcn.10001ce0
push str.RPCAPro.tm
push eax
lea eax, [esp + 0x204]
push eax
mov byte [esp + 0x1770], 0x26
call fcn.100013b0
add esp, 0xc
lea ecx, [edi + 0x4180]
push eax
call fcn.10003c70
cmp dword [esp + 0x210], 8
jb 0x100031d5
push dword [esp + 0x1fc]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x1f8], 8
mov dword [esp + 0x210], 7
mov dword [esp + 0x20c], 0
mov word [esp + 0x1fc], ax
mov byte [esp + 0x1764], 0x25
jb 0x10003216
push dword [esp + 0x1e4]
call fcn.1000cef3
add esp, 4
xor eax, eax
push 0x1006c688
lea ecx, [esp + 0x264]
mov dword [esp + 0x1fc], 7
mov dword [esp + 0x1f8], 0
mov word [esp + 0x1e8], ax
call fcn.10001ce0
push str.RPCAProCheck.tm
push eax
lea eax, [esp + 0x1d4]
push eax
mov byte [esp + 0x1770], 0x27
call fcn.100013b0
add esp, 0xc
lea ecx, [edi + 0x419c]
push eax
call fcn.10003c70
cmp dword [esp + 0x1e0], 8
jb 0x1000328a
push dword [esp + 0x1cc]
call fcn.1000cef3
add esp, 4
xor eax, eax
cmp dword [esp + 0x274], 8
mov dword [esp + 0x1e0], 7
mov dword [esp + 0x1dc], 0
mov word [esp + 0x1cc], ax
mov byte [esp + 0x1764], 0x25
jb 0x100032cb
push dword [esp + 0x260]
call fcn.1000cef3
add esp, 4
xor eax, eax
mov dword [esp + 0x274], 7
mov dword [esp + 0x270], 0
mov word [esp + 0x260], ax
call fcn.10004140
test eax, eax
setg al
cmp dword [0x1004e544], 0
jne 0x1000331d
test al, al
jne 0x1000331d
push 0
push 0
push edi
push 0x10009810
push 0
push 0
call fcn.1000ea57
add esp, 0x18
mov dword [0x1004e544], eax
cmp byte [edi + 0x2b], 0
jne 0x10003345
cmp dword [0x1004e54c], 0
jne 0x10003345
push 0x7d0
mov byte [0x1004e541], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1003d180
cmp dword [esp + 0x32c], 8
jb 0x1000335e
push dword [esp + 0x318]
call fcn.1000cef3
add esp, 4
cmp dword [esp + 0x1780], 8
jb 0x10003377
push dword [esp + 0x176c]
call fcn.1000cef3
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x175c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1744]
xor ecx, esp
call fcn.1000f4a5
add esp, 0x1754
ret 0x1c