Function at 0x10004b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x1003252e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x17a0
call fcn.10017fb0
mov dword [ebp + 0x58], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x58]
add ecx, 0x30
call fcn.100049a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.10004a20
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x58]
add ecx, 0x54
call fcn.10004a20
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x58]
add ecx, 0x60
call fcn.10004a20
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x58]
add ecx, 0x407c
call fcn.100049e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x58]
add ecx, 0x4090
call fcn.100049e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x58]
add ecx, 0x40a8
call fcn.100049a0
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x58]
add ecx, 0x40d0
call fcn.10004a00
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x58]
add ecx, 0x40e0
call fcn.10005f10
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x58]
add ecx, 0x4124
call fcn.10004a20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0x58]
add ecx, 0x4130
call fcn.10004a20
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x58]
add ecx, 0x413c
call fcn.10004a20
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x58]
add ecx, 0x4180
call fcn.100049a0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x58]
add ecx, 0x4198
call fcn.10004350
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp + 0x58]
add ecx, 0x419c
call fcn.100049a0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 0x58]
mov dword [eax + 0x4178], 0
mov dword [eax + 0x417c], 0
push 0x10033300
mov ecx, dword [ebp + 0x58]
add ecx, 0x4198
call fcn.100068e0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x4170], eax
mov dword [0x1005cb7c], 0
mov edx, dword [ebp + 0x58]
mov dword [edx + 0x416c], 0
mov eax, dword [ebp + 0x58]
mov byte [eax], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x14], 1
mov byte [0x1003ea39], 0
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x2b], 1
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x29], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x25], 0
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x24], 1
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40d8], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x40d9], 0
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x40da], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40db], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x40dc], 0
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x2a], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x40de], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x40dd], 0
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x40df], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x415c], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x415d], 0
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x415e], 0
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x28], 0
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x27], 0
mov dword [0x1003ea4c], 0
mov edx, dword [ebp + 0x58]
mov dword [edx + 0x4160], 0xffffffff
mov dword [edx + 0x4164], 0xffffffff
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2c], 0
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 0x40a4], 0
mov ecx, dword [ebp + 0x58]
add ecx, 0x407c
call fcn.10010470
mov ecx, dword [ebp + 0x58]
add ecx, 0x4090
call fcn.10010470
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x6c], eax
push 0x4000000
push 0x4000000
mov edx, dword [ebp - 0x6c]
push edx
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 edx, dword [ebp + 0x58]
mov dword [edx + 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 edx, dword [ebp + 0x58]
mov dword [edx + 4], eax
push str.GlobalPCAScannerMutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1003ea48], eax
cmp dword [0x1003ea48], 0
je 0x10004e3d
mov byte [0x1003ea3a], 0
jmp 0x10004eb5
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
push 1
lea ecx, [ebp - 0x8c]
push ecx
call fcn.100149b0
add esp, 8
push 0
push 0
push 1
lea edx, [ebp - 0x8c]
push edx
call fcn.10014e20
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], 0xc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x74], ecx
push str.GlobalPCAScannerMutex
push 0
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1003ea48], eax
mov byte [0x1003ea3a], 1
mov ax, word [0x10033300]
mov word [ebp - 0x7ac], ax
push 0x206
push 0
lea ecx, [ebp - 0x7aa]
push ecx
call fcn.10019560
add esp, 0xc
push 0x104
lea edx, [ebp - 0x7ac]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7ac]
push eax
call fcn.1001bf2b
add esp, 4
mov dword [ebp + 0x4c], eax
mov ecx, dword [ebp + 0x4c]
sub ecx, 1
mov dword [ebp + 0x4c], ecx
mov edx, dword [ebp + 0x4c]
movzx eax, word [ebp + edx*2 - 0x7ac]
cmp eax, 0x5c
je 0x10004f26
xor ecx, ecx
mov edx, dword [ebp + 0x4c]
mov word [ebp + edx*2 - 0x7ac], cx
jmp 0x10004efe
lea eax, [ebp - 0x7ac]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x30
call fcn.10006a70
push 0x208
push 0
lea ecx, [ebp - 0x5a4]
push ecx
call fcn.10019560
add esp, 0xc
movzx edx, byte [ebp + 0x7c]
test edx, edx
je 0x10004f5f
mov dword [ebp + 0x44], 0x23
jmp 0x10004f66
mov dword [ebp + 0x44], 0x1c
push 0
mov eax, dword [ebp + 0x44]
push eax
lea ecx, [ebp - 0x5a4]
push ecx
push 0
call dword [0x1005ce80]
lea edx, [ebp + 0x2c]
push edx
call fcn.1000a270
add esp, 4
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.10006b50
push eax
lea ecx, [ebp - 0x5a4]
push ecx
call dword [0x1005ce64]
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x2c]
call fcn.10006000
lea edx, [ebp - 0x5a4]
push edx
call dword [0x1005ce6c]
test eax, eax
jne 0x10004fd6
lea eax, [ebp - 0x5a4]
push eax
call fcn.10008770
add esp, 4
lea ecx, [ebp - 0x5a4]
push ecx
push 0x1005cb80
call fcn.100040f0
add esp, 8
push 0x10033ae0
lea edx, [ebp - 0x5a4]
push edx
call dword [0x1005ce64]
lea eax, [ebp - 0x5a4]
push eax
call dword [0x1005ce6c]
test eax, eax
jne 0x1000501c
lea ecx, [ebp - 0x5a4]
push ecx
call fcn.10008770
add esp, 4
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push str.RPCA.conf
push 0x1005cb80
lea ecx, [ebp - 0x21c]
call fcn.10004940
mov dword [ebp + 0x28], eax
mov edx, dword [ebp + 0x28]
mov dword [ebp + 0x24], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.100017b0
add esp, 0xc
mov dword [ebp + 0x20], eax
mov edx, dword [ebp + 0x20]
mov dword [ebp + 0x1c], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp + 0x1c]
call fcn.1000fa90
push eax
call fcn.10013eb0
add esp, 0x1c
mov dword [ebp + 0x54], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x204]
call fcn.10006270
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x21c]
call fcn.10006270
cmp dword [ebp + 0x54], 0xffffffff
je 0x100052f0
push 0
push 0
push 0
mov eax, dword [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x800
push 0
lea edx, [ebp - 0xfac]
push edx
call fcn.10019560
add esp, 0xc
push str.PidFile__
lea eax, [ebp - 0xfac]
push eax
call fcn.10003fe0
add esp, 8
push str.RPCA.pid
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0x1005cb80
call fcn.10004940
lea ecx, [ebp - 0x24c]
push ecx
call fcn.10012bd0
add esp, 0x1c
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x14], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.10001530
add esp, 0xc
mov dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 0xc]
call fcn.1000fa50
push eax
lea eax, [ebp - 0xfac]
push eax
call fcn.10003fc0
add esp, 8
lea ecx, [ebp - 0x234]
call fcn.10006230
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24c]
call fcn.10006230
push str.__r_nLogFile__
lea ecx, [ebp - 0xfac]
push ecx
call fcn.10003fc0
add esp, 8
push str.RPCA.log
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push 0x1005cb80
call fcn.10004940
lea edx, [ebp - 0x27c]
push edx
call fcn.10012bd0
add esp, 0x1c
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp + 4]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.10001530
add esp, 0xc
mov dword [ebp], eax
mov eax, dword [ebp]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.1000fa50
push eax
lea ecx, [ebp - 0xfac]
push ecx
call fcn.10003fc0
add esp, 8
lea ecx, [ebp - 0x264]
call fcn.10006230
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x27c]
call fcn.10006230
push str.__r_nDatabaseDirectory__
lea edx, [ebp - 0xfac]
push edx
call fcn.10003fc0
add esp, 8
push str.database
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x1005cb80
call fcn.10004940
lea eax, [ebp - 0x2ac]
push eax
call fcn.10012bd0
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.10001530
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.1000fa50
push eax
lea edx, [ebp - 0xfac]
push edx
call fcn.10003fc0
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.10006230
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.10006230
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.10003fc0
add esp, 8
push 0
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xfac]
push edx
call fcn.1001c890
add esp, 4
push eax
lea eax, [ebp - 0xfac]
push eax
mov ecx, dword [ebp + 0x54]
push ecx
call fcn.10015280
add esp, 0x14
mov edx, dword [ebp + 0x54]
push edx
call fcn.10013a80
add esp, 4
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push str.PCAU.conf
push 0x1005cb80
lea ecx, [ebp - 0x2dc]
call fcn.10004940
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call fcn.100017b0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x30]
call fcn.1000fa90
push eax
call fcn.10013eb0
add esp, 0x1c
mov dword [ebp + 0x54], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c4]
call fcn.10006270
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.10006270
cmp dword [ebp + 0x54], 0xffffffff
je 0x100054b9
push 0
push 0
push 0
mov ecx, dword [ebp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [ebp + 0x64]
call fcn.100107f0
movzx eax, al
test eax, eax
je 0x100053b6
push str.database.clamav.net
lea ecx, [ebp + 0x64]
call fcn.10006a70
push str._r_nScriptedUpdates_yes
lea ecx, [ebp + 0x64]
push ecx
push str.DatabaseMirror
lea edx, [ebp - 0x30c]
push edx
call fcn.100018a0
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x2f4]
push edx
call fcn.100017b0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x64]
call fcn.10006980
lea ecx, [ebp - 0x2f4]
call fcn.10006270
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30c]
call fcn.10006270
push 0x800
push 0
lea ecx, [ebp - 0x17ac]
push ecx
call fcn.10019560
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp + 0x64]
push edx
call fcn.10004860
lea eax, [ebp - 0x324]
push eax
call fcn.10012bd0
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.1000fa50
push eax
lea edx, [ebp - 0x17ac]
push edx
call fcn.10003fc0
add esp, 8
lea ecx, [ebp - 0x324]
call fcn.10006230
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x17ac]
push ecx
call fcn.1001c890
add esp, 4
push eax
lea edx, [ebp - 0x17ac]
push edx
mov eax, dword [ebp + 0x54]
push eax
call fcn.10015280
add esp, 0x14
mov ecx, dword [ebp + 0x54]
push ecx
call fcn.10013a80
add esp, 4
mov edx, dword [ebp + 0x58]
mov dword [edx + 0x20], 0
mov eax, dword [ebp + 0x58]
mov dword [eax + 0x1c], 0
push 0x10033338
push 0
call fcn.1001ff2c
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
xor edx, edx
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], edx
lea eax, [ebp - 0x9c]
push eax
call fcn.100148d0
add esp, 4
lea ecx, [ebp + 0x38]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.10015130
add esp, 8
mov eax, dword [ebp + 0x3c]
xor edx, edx
and eax, 0x7fffffff
and edx, 0
mov cl, 0x20
call fcn.10017f90
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 0x10033c88
lea ecx, [ebp - 0xe4]
call fcn.10004940
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0xe4]
push edx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe4]
call fcn.10006270
push 0x10033c90
lea ecx, [ebp - 0xfc]
call fcn.10004940
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xfc]
call fcn.10006270
push 0x10033c98
lea ecx, [ebp - 0x114]
call fcn.10004940
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x114]
call fcn.10006270
push 0x10033ca0
lea ecx, [ebp - 0x12c]
call fcn.10004940
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x12c]
call fcn.10006270
push 0x10033ca8
lea ecx, [ebp - 0x144]
call fcn.10004940
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x144]
call fcn.10006270
push 0x10033cb0
lea ecx, [ebp - 0x15c]
call fcn.10004940
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x15c]
call fcn.10006270
push 0x10033cb8
lea ecx, [ebp - 0x174]
call fcn.10004940
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x174]
push edx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x174]
call fcn.10006270
push 0x10033cc0
lea ecx, [ebp - 0x18c]
call fcn.10004940
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18c]
call fcn.10006270
push 0x10033cc8
lea ecx, [ebp - 0x1a4]
call fcn.10004940
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1a4]
push ecx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1a4]
call fcn.10006270
push 0x10033cd0
lea ecx, [ebp - 0x1bc]
call fcn.10004940
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x1bc]
push edx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
call fcn.10006270
push 0x10033cd8
lea ecx, [ebp - 0x1d4]
call fcn.10004940
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x1d4]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d4]
call fcn.10006270
push 0x10033ce0
lea ecx, [ebp - 0x1ec]
call fcn.10004940
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, dword [ebp + 0x58]
add ecx, 0x48
call fcn.100120c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ec]
call fcn.10006270
mov dword [ebp + 0x48], 0
push str.databasemain.cvd
push 0x1005cb80
lea ecx, [ebp - 0x33c]
call fcn.10004940
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.100017b0
add esp, 0xc
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x33c]
call fcn.10006270
lea ecx, [ebp - 0xcc]
call fcn.1000fa90
push eax
call dword [0x1005ce6c]
test eax, eax
jne 0x1000582a
mov edx, dword [ebp + 0x58]
mov byte [edx + 0x2b], 0
jmp 0x1000588c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp - 0xcc]
call fcn.1000fa90
push eax
call fcn.10013eb0
add esp, 0x1c
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x48], 0xffffffff
je 0x10005885
push 0
mov eax, dword [ebp + 0x48]
push eax
call fcn.10014470
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10005877
mov ecx, dword [ebp + 0x58]
mov byte [ecx + 0x2b], 0
mov edx, dword [ebp + 0x48]
push edx
call fcn.10013a80
add esp, 4
jmp 0x1000588c
mov eax, dword [ebp + 0x58]
mov byte [eax + 0x2b], 0
mov ecx, dword [ebp + 0x58]
movzx edx, byte [ecx + 0x2b]
test edx, edx
je 0x1000589f
mov ecx, dword [ebp + 0x58]
call fcn.10009a00
push str.RPCA.tm
push 0x1005cb80
lea ecx, [ebp - 0x36c]
call fcn.10004940
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x354]
push edx
call fcn.100017b0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 0x58]
add ecx, 0x4180
call fcn.10006980
lea ecx, [ebp - 0x354]
call fcn.10006270
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x36c]
call fcn.10006270
push str.RPCACheck.tm
push 0x1005cb80
lea ecx, [ebp - 0x39c]
call fcn.10004940
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0x384]
push eax
call fcn.100017b0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 0x58]
add ecx, 0x419c
call fcn.10006980
lea ecx, [ebp - 0x384]
call fcn.10006270
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x39c]
call fcn.10006270
call fcn.10007720
test eax, eax
jle 0x10005979
mov dword [ebp + 0x40], 1
jmp 0x10005980
mov dword [ebp + 0x40], 0
mov dl, byte [ebp + 0x40]
mov byte [ebp + 0x53], dl
cmp dword [0x1003ea3c], 0
jne 0x100059b5
movzx eax, byte [ebp + 0x53]
test eax, eax
jne 0x100059b5
push 0
push 0
mov ecx, dword [ebp + 0x58]
push ecx
push 0x1000fb40
push 0
push 0
call fcn.10014080
add esp, 0x18
mov dword [0x1003ea3c], eax
mov edx, dword [ebp + 0x58]
movzx eax, byte [edx + 0x2b]
test eax, eax
jne 0x100059f2
cmp dword [0x1003ea44], 0
jne 0x100059f2
mov byte [0x1003ea3a], 1
push str.Start_Bases_Download._Please_wait.
call fcn.100072d0
add esp, 4
push 0x7d0
call fcn.10014fd0
add esp, 4
mov ecx, dword [ebp + 0x58]
call fcn.1000cc70
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.10006270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x64]
call fcn.10006270
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x5c
mov esp, ebp
pop ebp
ret 0x1c