Function at 0x10004163
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x50
mov eax, 0x1002646f
call fcn.10025fe0
mov eax, 0x16ec
call fcn.10024e20
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp + 0x50], esi
xor edx, edx
xor ecx, ecx
mov dword [ebp - 4], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], 7
mov word [esi + 0x30], cx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], edx
lea ebx, [esi + 0x407c]
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.100061c5
lea edi, [esi + 0x4090]
mov byte [ebp - 4], 5
mov ecx, edi
call fcn.100061c5
xor ecx, ecx
mov dword [esi + 0x40bc], 7
xor eax, eax
mov dword [esi + 0x40a8], ecx
mov dword [esi + 0x40b8], ecx
mov word [esi + 0x40a8], ax
add esi, 0x40d0
mov byte [ebp - 4], 7
push 0x28
mov dword [ebp + 0x4c], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.1000a2cc
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp + 0x50]
xor ecx, ecx
push 7
pop edx
mov dword [eax + 0x40e0], ecx
mov dword [eax + 0x40f0], ecx
mov dword [eax + 0x40f4], edx
mov word [eax + 0x40e0], cx
mov dword [eax + 0x410c], ecx
mov dword [eax + 0x411c], ecx
mov dword [eax + 0x4120], edx
mov dword [eax + 0x4124], ecx
mov dword [eax + 0x4128], ecx
mov dword [eax + 0x412c], ecx
mov dword [eax + 0x4130], ecx
mov dword [eax + 0x4134], ecx
mov dword [eax + 0x4138], ecx
mov dword [eax + 0x413c], ecx
mov dword [eax + 0x4140], ecx
mov dword [eax + 0x4144], ecx
lea ecx, [eax + 0x4180]
xor esi, esi
mov dword [ecx + 0x14], edx
xor edx, edx
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov word [ecx], dx
lea esi, [eax + 0x4198]
mov ecx, esi
call fcn.100067a6
mov eax, dword [ebp + 0x50]
xor edx, edx
lea ecx, [eax + 0x419c]
mov dword [ecx], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], dx
xor ecx, ecx
mov byte [ebp - 4], 0xf
mov dword [eax + 0x4178], ecx
mov dword [eax + 0x417c], ecx
mov ecx, esi
push 0x1002eb10
call fcn.10008885
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, dword [ebp + 0x50]
or dword [ecx + 0x4160], 0xffffffff
or dword [ecx + 0x4164], 0xffffffff
mov dword [ecx + 0x4170], eax
xor eax, eax
mov dword [ecx + 0x416c], eax
mov byte [ecx], al
mov byte [ecx + 0x14], 1
mov dword [0x10032764], eax
mov dword [ecx + 0x28], 0x1000000
mov word [ecx + 0x24], 1
mov dword [ecx + 0x40d8], eax
mov dword [ecx + 0x40dc], eax
mov word [ecx + 0x415c], ax
mov byte [ecx + 0x415e], al
mov byte [ecx + 0x27], al
mov byte [ecx + 0x2c], al
mov dword [ecx + 0x40a4], eax
mov ecx, ebx
mov byte [0x10032763], al
mov dword [0x10032968], eax
call fcn.100067ed
mov ecx, edi
call fcn.100067ed
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x4000000
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call esi
mov edi, dword [ebp + 0x50]
push ebx
push ebx
push 1
push ebx
mov dword [edi + 8], eax
call esi
push ebx
push ebx
push ebx
mov dword [edi + 0xc], eax
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 0x10], eax
call esi
push str.GlobalPCAScannerMutex
mov esi, edi
push ebx
push 0x1f0001
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1003296c], eax
cmp dword [0x1003296c], ebx
je 0x100043cd
mov byte [0x10032762], bl
jmp 0x10004417
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10008dcc
push ecx
push ecx
lea ecx, [ebp - 0x38]
call fcn.10008f62
pop ecx
pop ecx
lea eax, [ebp - 0x38]
mov dword [ebp + 0x40], ebx
push str.GlobalPCAScannerMutex
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x38]
push ebx
push eax
mov dword [ebp + 0x38], 0xc
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1003296c], eax
mov byte [0x10032762], 1
mov edi, 0x208
lea eax, [ebp - 0x6f8]
push edi
push ebx
push eax
call fcn.1000bff0
add esp, 0xc
lea eax, [ebp - 0x6f8]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x6f8]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10004449
sub edx, ecx
push 0x5c
sar edx, 1
pop ecx
jmp 0x10004467
xor eax, eax
mov word [ebp + edx*2 - 0x6f8], ax
dec edx
cmp word [ebp + edx*2 - 0x6f8], cx
jne 0x1000445d
lea eax, [ebp - 0x6f8]
push eax
lea ecx, [esi + 0x30]
call fcn.100063d0
push edi
lea eax, [ebp - 0x4f0]
push ebx
push eax
call fcn.1000bff0
add esp, 0xc
cmp byte [ebp + 0x74], bl
push ebx
push 0x1c
pop eax
push 0x23
pop ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x4f0]
push eax
push ebx
call dword [0x10032988]
lea ecx, [ebp + 0x74]
call fcn.10007e6b
mov byte [ebp - 4], 0x10
push dword [eax]
lea eax, [ebp - 0x4f0]
push eax
call dword [0x10032984]
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 0xf
call fcn.10008928
lea eax, [ebp - 0x4f0]
push eax
call dword [0x100329bc]
test eax, eax
jne 0x100044f1
lea ecx, [ebp - 0x4f0]
call fcn.10003d59
lea eax, [ebp - 0x4f0]
mov ebx, 0x10032768
push eax
push 0x100
push ebx
call fcn.10012018
add esp, 0xc
lea eax, [ebp - 0x4f0]
push 0x1002e724
push eax
call dword [0x10032984]
lea eax, [ebp - 0x4f0]
push eax
call dword [0x100329bc]
test eax, eax
jne 0x10004539
lea ecx, [ebp - 0x4f0]
call fcn.10003d59
push ebx
lea ecx, [ebp - 0x1e0]
call fcn.10006489
push str.RPCA.conf
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.100063ab
push eax
lea ecx, [ebp]
call fcn.10006456
mov byte [ebp - 4], 0x12
lea ecx, [ebp]
cmp dword [ebp + 0x14], 8
mov edx, 0x40000000
cmovae ecx, dword [ebp]
push ecx
push 0x80
push 2
push ecx
push 1
call fcn.10008c8e
add esp, 0x14
lea ecx, [ebp]
mov edi, eax
call fcn.10006877
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xf
call fcn.10006877
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 0xffffffff
je 0x100047a2
xor eax, eax
push eax
push eax
push eax
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x800
lea eax, [ebp - 0xef8]
push 0
push eax
call fcn.1000bff0
push str.PidFile__
lea eax, [ebp - 0xef8]
push 0x800
push eax
call fcn.10012bd8
add esp, 0x18
push str.RPCA.pid
sub esp, 0x18
mov ecx, esp
push 0x10032768
call fcn.10006489
lea ecx, [ebp - 0x210]
call fcn.1000162a
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1f8]
call fcn.10006ae1
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004624
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xef8]
push 0x800
push eax
call fcn.10012c32
add esp, 0xc
lea ecx, [ebp - 0x1f8]
call fcn.1000652e
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0xf
call fcn.1000652e
push str.__r_nLogFile__
lea eax, [ebp - 0xef8]
push 0x800
push eax
call fcn.10012c32
add esp, 0xc
push str.RPCA.log
sub esp, 0x18
mov ecx, esp
push 0x10032768
call fcn.10006489
lea ecx, [ebp - 0x240]
call fcn.1000162a
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x228]
call fcn.10006ae1
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100046a8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xef8]
push 0x800
push eax
call fcn.10012c32
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.1000652e
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xf
call fcn.1000652e
push str.__r_nDatabaseDirectory__
lea eax, [ebp - 0xef8]
push 0x800
push eax
call fcn.10012c32
add esp, 0xc
push str.database
sub esp, 0x18
mov ecx, esp
push 0x10032768
call fcn.10006489
lea ecx, [ebp - 0x270]
call fcn.1000162a
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x258]
call fcn.10006ae1
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000472c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xef8]
push 0x800
push eax
call fcn.10012c32
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.1000652e
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0xf
call fcn.1000652e
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 - 0xef8]
push 0x800
push eax
call fcn.10012c32
lea ecx, [ebp - 0xef8]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000477d
push 0
lea eax, [ebp + 0x1c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0xef8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, edi
call fcn.10008bd8
push 0x10032768
lea ecx, [ebp - 0x288]
call fcn.10006489
push str.PCAU.conf
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.100063ab
push eax
lea ecx, [ebp - 0x24]
call fcn.10006456
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
mov edx, 0x40000000
cmovae ecx, dword [ebp - 0x24]
push ecx
push 0x80
push 2
push ecx
push 1
call fcn.10008c8e
add esp, 0x14
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.10006877
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xf
call fcn.10006877
cmp edi, 0xffffffff
je 0x1000493d
xor eax, eax
push eax
push eax
push eax
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp + 0x6c]
test ecx, ecx
jne 0x1000483a
push str.database.clamav.net
lea ecx, [ebp + 0x5c]
call fcn.100063d0
mov ecx, dword [ebp + 0x6c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xf
jb 0x10004e9b
cmp dword [ebp + 0x70], 8
lea eax, [ebp + 0x5c]
push ecx
cmovae eax, dword [ebp + 0x5c]
push eax
push 0xf
push str.DatabaseMirror
push ecx
push dword [ebp + 0x74]
lea ecx, [ebp - 0x198]
call fcn.100073ef
push str._r_nScriptedUpdates_yes
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x18
call fcn.100063ab
push eax
lea ecx, [ebp - 0x180]
call fcn.10006456
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp + 0x5c]
call fcn.10006420
lea ecx, [ebp - 0x180]
call fcn.10006877
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x16f8]
push ebx
push eax
call fcn.1000bff0
sub esp, 0xc
lea eax, [ebp + 0x5c]
mov ecx, esp
push eax
call fcn.100064c4
lea ecx, [ebp - 0x2a0]
call fcn.1000162a
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x100048ee
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x16f8]
push 0x800
push eax
call fcn.10012c32
add esp, 0xc
lea ecx, [ebp - 0x2a0]
call fcn.1000652e
lea ecx, [ebp - 0x16f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004917
push ebx
lea eax, [ebp + 0x18]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x16f8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, edi
call fcn.10008bd8
jmp 0x1000493f
xor ebx, ebx
push 0x1002e3b8
push ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
call fcn.1001266d
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
xorps xmm0, xmm0
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
movlpd qword [ebp + 0x44], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10008e50
lea edx, [ebp + 0x44]
lea ecx, [ebp - 0x48]
call fcn.10008d62
mov ecx, dword [ebp + 0x48]
xor eax, eax
or eax, dword [ebp + 0x44]
and ecx, 0x7fffffff
or ecx, ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
lea ecx, [ebp - 0x60]
push 0x1002e8c8
call fcn.10006489
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 0x19
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x60]
push ecx
cmp eax, dword [ebx + 8]
je 0x100049b9
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x100049c1
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e8d0
lea ecx, [ebp - 0x78]
call fcn.10006489
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x100049f7
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x100049ff
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e8d8
lea ecx, [ebp - 0x90]
call fcn.10006489
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x90]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004a3b
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004a43
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e8e0
lea ecx, [ebp - 0xa8]
call fcn.10006489
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa8]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004a82
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004a8a
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e8e8
lea ecx, [ebp - 0xc0]
call fcn.10006489
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xc0]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004ac9
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004ad1
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e8f0
lea ecx, [ebp - 0xd8]
call fcn.10006489
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xd8]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004b10
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004b18
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e8f8
lea ecx, [ebp - 0xf0]
call fcn.10006489
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xf0]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004b57
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004b5f
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e900
lea ecx, [ebp - 0x108]
call fcn.10006489
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x108]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004b9e
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004ba6
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e908
lea ecx, [ebp - 0x120]
call fcn.10006489
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x120]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004be5
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004bed
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e910
lea ecx, [ebp - 0x138]
call fcn.10006489
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x138]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004c2c
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004c34
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e918
lea ecx, [ebp - 0x150]
call fcn.10006489
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x150]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004c73
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004c7b
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x1002e920
lea ecx, [ebp - 0x168]
call fcn.10006489
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x168]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x10004cba
mov ecx, eax
call fcn.10006456
add dword [ebx + 4], 0x18
jmp 0x10004cc2
push eax
mov ecx, ebx
call fcn.10006c31
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xf
call fcn.10006877
push 0x10032768
lea ecx, [ebp - 0x2b8]
call fcn.10006489
push str.databasemain.cvd
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.100063ab
push eax
lea ecx, [ebp + 0x20]
call fcn.10006456
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x27
call fcn.10006877
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [0x100329bc]
test eax, eax
je 0x10004d64
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
mov edx, 0x80000000
cmovae ecx, dword [ebp + 0x20]
push ecx
push 0x80
push 3
push ecx
push 1
call fcn.10008c8e
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x10004d64
xor edx, edx
mov ecx, edi
call fcn.10008ff6
xor ebx, ebx
test eax, eax
jne 0x10004d5b
mov byte [esi + 0x2b], bl
mov ecx, edi
call fcn.10008bd8
jmp 0x10004d69
xor ebx, ebx
mov byte [esi + 0x2b], bl
cmp byte [esi + 0x2b], 0
je 0x10004d76
mov ecx, esi
call fcn.1000510e
mov edi, 0x10032768
lea ecx, [ebp - 0x2d0]
push edi
call fcn.10006489
push str.RPCA.tm
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.100063ab
push eax
lea ecx, [ebp - 0x1b0]
call fcn.10006456
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [esi + 0x4180]
call fcn.10006420
lea ecx, [ebp - 0x1b0]
call fcn.10006877
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x27
call fcn.10006877
push edi
lea ecx, [ebp - 0x2e8]
call fcn.10006489
push str.RPCACheck.tm
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.100063ab
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10006456
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [esi + 0x419c]
call fcn.10006420
lea ecx, [ebp - 0x1c8]
call fcn.10006877
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x27
call fcn.10006877
call fcn.10003f6f
test eax, eax
setg al
cmp dword [0x10032978], ebx
jne 0x10004e4e
test al, al
jne 0x10004e4e
push ecx
push ecx
push esi
push 0x10003820
call fcn.10009279
add esp, 0x10
mov dword [0x10032978], eax
cmp byte [esi + 0x2b], 0
jne 0x10004e75
cmp dword [0x10032970], ebx
jne 0x10004e75
push 0x7d0
mov byte [0x10032762], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.10005ef7
lea ecx, [ebp + 0x20]
call fcn.10006877
lea ecx, [ebp + 0x5c]
call fcn.10006877
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x54
leave
ret 0x1c
call fcn.100011bc
int3