Function at 0x10005385
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x1002f60d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x17a0
call fcn.1002dfb0
push edi
mov dword [ebp + 0x58], ecx
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0x58]
add ecx, 0x30
call fcn.10008528
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100081c6
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x58]
add ecx, 0x54
call fcn.100081c6
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x58]
add ecx, 0x60
call fcn.100081c6
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x58]
add ecx, 0x407c
call fcn.10007f22
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x58]
add ecx, 0x4090
call fcn.10007f22
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x58]
add ecx, 0x40a8
call fcn.10008528
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x58]
add ecx, 0x40d0
call fcn.10007c76
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x58]
add ecx, 0x40e0
call fcn.10006214
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x58]
add ecx, 0x4124
call fcn.100081c6
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0x58]
add ecx, 0x4130
call fcn.100081c6
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x58]
add ecx, 0x413c
call fcn.100081c6
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x58]
add ecx, 0x4180
call fcn.10008528
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x58]
add ecx, 0x4198
call fcn.10008917
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp + 0x58]
add ecx, 0x419c
call fcn.10008528
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 0x58]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x4178], ecx
mov dword [eax + 0x417c], edx
push 0x10038208
mov ecx, dword [ebp + 0x58]
add ecx, 0x4198
call fcn.1000f81a
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x4170], eax
mov dword [0x1003c764], 0
mov eax, dword [ebp + 0x58]
and dword [eax + 0x416c], 0
mov eax, dword [ebp + 0x58]
mov byte [eax], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x14], 1
mov byte [0x1003c763], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2b], 1
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x29], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x25], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x24], 1
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40d8], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40d9], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40da], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40db], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40dc], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2a], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40de], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40dd], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40df], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x415c], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x415d], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x415e], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x28], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x27], 0
mov dword [0x1003c968], 0
mov eax, dword [ebp + 0x58]
or ecx, 0xffffffff
or dword [eax + 0x4160], 0xffffffff
mov dword [eax + 0x4164], ecx
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp + 0x58]
and dword [eax + 0x40a4], 0
mov ecx, dword [ebp + 0x58]
add ecx, 0x407c
call fcn.10007d6b
mov ecx, dword [ebp + 0x58]
add ecx, 0x4090
call fcn.10007d6b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x6c], eax
push 0x4000000
push 0x4000000
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 8], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0xc], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x10], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 4], eax
push str.GlobalPCAScannerMutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1003c96c], eax
cmp dword [0x1003c96c], 0
je 0x10005691
mov byte [0x1003c762], 0
jmp 0x100056f8
xor eax, eax
lea edi, [ebp - 0xa4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0xa4]
push eax
call fcn.10010919
pop ecx
pop ecx
push 0
push 0
push 1
lea eax, [ebp - 0xa4]
push eax
call fcn.10010c53
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x78], 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x74], eax
push str.GlobalPCAScannerMutex
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1003c96c], eax
mov byte [0x1003c762], 1
mov ax, word [0x10038208]
mov word [ebp - 0x7ac], ax
push 0x206
push 0
lea eax, [ebp - 0x7aa]
push eax
call fcn.10014720
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7ac]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7ac]
push eax
call fcn.1001adcd
pop ecx
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x4c]
dec eax
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x4c]
movzx eax, word [ebp + eax*2 - 0x7ac]
cmp eax, 0x5c
je 0x10005765
xor eax, eax
mov ecx, dword [ebp + 0x4c]
mov word [ebp + ecx*2 - 0x7ac], ax
jmp 0x1000573f
lea eax, [ebp - 0x7ac]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x30
call fcn.100083e5
push 0x208
push 0
lea eax, [ebp - 0x5a4]
push eax
call fcn.10014720
add esp, 0xc
movzx eax, byte [ebp + 0x7c]
test eax, eax
je 0x1000579e
mov dword [ebp + 0x44], 0x23
jmp 0x100057a5
mov dword [ebp + 0x44], 0x1c
push 0
push dword [ebp + 0x44]
lea eax, [ebp - 0x5a4]
push eax
push 0
call dword [0x1003c988]
lea eax, [ebp + 0x2c]
push eax
call fcn.1000df39
pop ecx
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x30]
call fcn.100089a5
push eax
lea eax, [ebp - 0x5a4]
push eax
call dword [0x1003c984]
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x2c]
call fcn.1000f8ee
lea eax, [ebp - 0x5a4]
push eax
call dword [0x1003c9bc]
test eax, eax
jne 0x10005810
lea eax, [ebp - 0x5a4]
push eax
call fcn.10004e56
pop ecx
lea eax, [ebp - 0x5a4]
push eax
push 0x1003c768
call fcn.1000a36d
pop ecx
pop ecx
push 0x10037c84
lea eax, [ebp - 0x5a4]
push eax
call dword [0x1003c984]
lea eax, [ebp - 0x5a4]
push eax
call dword [0x1003c9bc]
test eax, eax
jne 0x10005853
lea eax, [ebp - 0x5a4]
push eax
call fcn.10004e56
pop ecx
push 0x1003c768
lea ecx, [ebp - 0x21c]
call fcn.100084b6
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 0x11
push str.RPCA.conf
push dword [ebp + 0x24]
lea eax, [ebp - 0x204]
push eax
call fcn.10009ff3
add esp, 0xc
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 0x12
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 0x1c]
call fcn.100082e7
push eax
call fcn.10010366
add esp, 0x1c
mov dword [ebp + 0x54], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x204]
call fcn.1000842b
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x21c]
call fcn.1000842b
cmp dword [ebp + 0x54], 0xffffffff
je 0x10005b0c
push 0
push 0
push 0
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x800
push 0
lea eax, [ebp - 0xfac]
push eax
call fcn.10014720
add esp, 0xc
push str.PidFile__
lea eax, [ebp - 0xfac]
push eax
call fcn.1000a385
pop ecx
pop ecx
push str.RPCA.pid
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x1003c768
call fcn.100084b6
lea eax, [ebp - 0x24c]
push eax
call fcn.10001deb
add esp, 0x1c
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x13
push dword [ebp + 0x14]
lea eax, [ebp - 0x234]
push eax
call fcn.1000a174
add esp, 0xc
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.100085d4
push eax
lea eax, [ebp - 0xfac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
lea ecx, [ebp - 0x234]
call fcn.1000860c
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24c]
call fcn.1000860c
push str.__r_nLogFile__
lea eax, [ebp - 0xfac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
push str.RPCA.log
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x1003c768
call fcn.100084b6
lea eax, [ebp - 0x27c]
push eax
call fcn.10001deb
add esp, 0x1c
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 4], eax
mov byte [ebp - 4], 0x14
push dword [ebp + 4]
lea eax, [ebp - 0x264]
push eax
call fcn.1000a174
add esp, 0xc
mov dword [ebp], eax
mov eax, dword [ebp]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.100085d4
push eax
lea eax, [ebp - 0xfac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
lea ecx, [ebp - 0x264]
call fcn.1000860c
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x27c]
call fcn.1000860c
push str.__r_nDatabaseDirectory__
lea eax, [ebp - 0xfac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
push str.database
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x1003c768
call fcn.100084b6
lea eax, [ebp - 0x2ac]
push eax
call fcn.10001deb
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x15
push dword [ebp - 0x18]
lea eax, [ebp - 0x294]
push eax
call fcn.1000a174
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100085d4
push eax
lea eax, [ebp - 0xfac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
lea ecx, [ebp - 0x294]
call fcn.1000860c
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.1000860c
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, [ebp - 0xfac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xfac]
push eax
call fcn.1001ac20
pop ecx
push eax
lea eax, [ebp - 0xfac]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x54]
call fcn.10010156
pop ecx
push 0x1003c768
lea ecx, [ebp - 0x2dc]
call fcn.100084b6
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x16
push str.PCAU.conf
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c4]
push eax
call fcn.10009ff3
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x17
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x30]
call fcn.100082e7
push eax
call fcn.10010366
add esp, 0x1c
mov dword [ebp + 0x54], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c4]
call fcn.1000842b
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.1000842b
cmp dword [ebp + 0x54], 0xffffffff
je 0x10005cc7
push 0
push 0
push 0
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [ebp + 0x64]
call fcn.100082b2
movzx eax, al
test eax, eax
je 0x10005bcf
push str.database.clamav.net
lea ecx, [ebp + 0x64]
call fcn.100083e5
lea eax, [ebp + 0x64]
push eax
push str.DatabaseMirror
lea eax, [ebp - 0x30c]
push eax
call fcn.1000a3b5
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x18
push str._r_nScriptedUpdates_yes
push dword [ebp - 0x38]
lea eax, [ebp - 0x2f4]
push eax
call fcn.10009ff3
add esp, 0xc
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
lea ecx, [ebp + 0x64]
call fcn.10008444
lea ecx, [ebp - 0x2f4]
call fcn.1000842b
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30c]
call fcn.1000842b
push 0x800
push 0
lea eax, [ebp - 0x17ac]
push eax
call fcn.10014720
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp + 0x64]
push eax
call fcn.10008555
lea eax, [ebp - 0x324]
push eax
call fcn.10001deb
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.100085d4
push eax
lea eax, [ebp - 0x17ac]
push eax
call fcn.1000a39d
pop ecx
pop ecx
lea ecx, [ebp - 0x324]
call fcn.1000860c
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x17ac]
push eax
call fcn.1001ac20
pop ecx
push eax
lea eax, [ebp - 0x17ac]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x54]
call fcn.10010156
pop ecx
mov eax, dword [ebp + 0x58]
and dword [eax + 0x20], 0
mov eax, dword [ebp + 0x58]
and dword [eax + 0x1c], 0
push 0x10037488
push 0
call fcn.1001badd
pop ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10010aa3
pop ecx
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.100107ff
pop ecx
pop ecx
mov eax, dword [ebp + 0x3c]
xor edx, edx
and eax, 0x7fffffff
and edx, 0
mov cl, 0x20
call fcn.1002dee0
xor ecx, ecx
or eax, dword [ebp + 0x38]
or edx, ecx
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
push 0x10037e28
lea ecx, [ebp - 0xe4]
call fcn.100084b6
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe4]
call fcn.1000842b
push 0x10037e30
lea ecx, [ebp - 0xfc]
call fcn.100084b6
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xfc]
call fcn.1000842b
push 0x10037e38
lea ecx, [ebp - 0x114]
call fcn.100084b6
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x114]
call fcn.1000842b
push 0x10037e40
lea ecx, [ebp - 0x12c]
call fcn.100084b6
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x12c]
call fcn.1000842b
push 0x10037e48
lea ecx, [ebp - 0x144]
call fcn.100084b6
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x144]
call fcn.1000842b
push 0x10037e50
lea ecx, [ebp - 0x15c]
call fcn.100084b6
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x15c]
call fcn.1000842b
push 0x10037e58
lea ecx, [ebp - 0x174]
call fcn.100084b6
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x174]
call fcn.1000842b
push 0x10037e60
lea ecx, [ebp - 0x18c]
call fcn.100084b6
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18c]
call fcn.1000842b
push 0x10037e68
lea ecx, [ebp - 0x1a4]
call fcn.100084b6
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x1a4]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1a4]
call fcn.1000842b
push 0x10037e70
lea ecx, [ebp - 0x1bc]
call fcn.100084b6
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
call fcn.1000842b
push 0x10037e78
lea ecx, [ebp - 0x1d4]
call fcn.100084b6
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x1d4]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d4]
call fcn.1000842b
push 0x10037e80
lea ecx, [ebp - 0x1ec]
call fcn.100084b6
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x1ec]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10008000
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ec]
call fcn.1000842b
and dword [ebp + 0x48], 0
push 0x1003c768
lea ecx, [ebp - 0x33c]
call fcn.100084b6
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x25
push str.databasemain.cvd
push dword [ebp - 0x4c]
lea eax, [ebp - 0xcc]
push eax
call fcn.10009ff3
add esp, 0xc
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x33c]
call fcn.1000842b
lea ecx, [ebp - 0xcc]
call fcn.100082e7
push eax
call dword [0x1003c9bc]
test eax, eax
jne 0x1000601c
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2b], 0
jmp 0x10006079
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp - 0xcc]
call fcn.100082e7
push eax
call fcn.10010366
add esp, 0x1c
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x48], 0xffffffff
je 0x10006072
push 0
push dword [ebp + 0x48]
call fcn.10010dc2
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10006067
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2b], 0
push dword [ebp + 0x48]
call fcn.10010156
pop ecx
jmp 0x10006079
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2b], 0
mov eax, dword [ebp + 0x58]
movzx eax, byte [eax + 0x2b]
test eax, eax
je 0x1000608c
mov ecx, dword [ebp + 0x58]
call fcn.10006556
push 0x1003c768
lea ecx, [ebp - 0x36c]
call fcn.100084b6
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x28
push str.RPCA.tm
push dword [ebp - 0x58]
lea eax, [ebp - 0x354]
push eax
call fcn.10009ff3
add esp, 0xc
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
mov ecx, dword [ebp + 0x58]
add ecx, 0x4180
call fcn.10008444
lea ecx, [ebp - 0x354]
call fcn.1000842b
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x36c]
call fcn.1000842b
push 0x1003c768
lea ecx, [ebp - 0x39c]
call fcn.100084b6
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0x29
push str.RPCACheck.tm
push dword [ebp - 0x64]
lea eax, [ebp - 0x384]
push eax
call fcn.10009ff3
add esp, 0xc
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
mov ecx, dword [ebp + 0x58]
add ecx, 0x419c
call fcn.10008444
lea ecx, [ebp - 0x384]
call fcn.1000842b
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x39c]
call fcn.1000842b
call fcn.1000508a
test eax, eax
jle 0x10006162
mov dword [ebp + 0x40], 1
jmp 0x10006166
and dword [ebp + 0x40], 0
mov al, byte [ebp + 0x40]
mov byte [ebp + 0x53], al
cmp dword [0x1003c978], 0
jne 0x1000619a
movzx eax, byte [ebp + 0x53]
test eax, eax
jne 0x1000619a
push 0
push 0
push dword [ebp + 0x58]
push 0x100047cc
push 0
push 0
call fcn.1001130e
add esp, 0x18
mov dword [0x1003c978], eax
mov eax, dword [ebp + 0x58]
movzx eax, byte [eax + 0x2b]
test eax, eax
jne 0x100061d3
cmp dword [0x1003c970], 0
jne 0x100061d3
mov byte [0x1003c762], 1
push str.Start_Bases_Download._Please_wait.
call fcn.10004044
pop ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0x58]
call fcn.100077b1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.1000842b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x64]
call fcn.1000842b
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
add ebp, 0x5c
leave
ret 0x1c