Function at 0x10067720
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
lea edi, [ebp - 0x254]
mov ecx, 0x95
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1019a984]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x180], 0
mov esi, esp
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp esi, esp
call fcn.101354d4
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x100677b7
mov esi, esp
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, esp
call fcn.101354d4
test eax, eax
je 0x100677b7
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10135e2a
add eax, 0x40
push eax
call fcn.10137257
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x10067b11
mov eax, 1
test eax, eax
je 0x100677ce
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
jmp 0x10067a38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x248]
mov al, byte [edx]
mov byte [ebp - 0x24d], al
add dword [ebp - 0x248], 1
cmp byte [ebp - 0x24d], 0
jne 0x100677e6
mov ecx, dword [ebp - 0x248]
sub ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
add edx, 1
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
shl eax, 1
add eax, 0x24
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
call fcn.10137040
mov dword [ebp - 0x24c], esp
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x24c]
call fcn.10135553
add dword [ebp - 0x24c], 0x20
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x15c], edx
cmp dword [ebp - 0x15c], 0
jne 0x1006788a
mov dword [ebp - 0x120], str.no_stack_
jmp 0x10067a38
mov esi, esp
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, esp
call fcn.101354d4
test eax, eax
jne 0x10067902
mov dword [ebp - 0x150], 0
jmp 0x100678d5
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x144]
jae 0x10067902
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x150]
movsx cx, byte [eax]
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x15c]
mov word [eax + edx*2], cx
jmp 0x100678c6
mov dword [ebp - 0x150], 0
jmp 0x1006791d
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x144]
jae 0x10067a24
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x15c]
movzx edx, word [ecx + eax*2]
cmp edx, 0x25
jne 0x10067a1f
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x15c]
movzx edx, word [ecx + eax*2 + 2]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
sub eax, 0x2a
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0x49
ja case.0x10067992.1
mov ecx, dword [ebp - 0x248]
movzx edx, byte [ecx + 0x10067b9c]
jmp dword [edx*4 + 0x10067b84]
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x138], 1
jmp case.0x10067992.1
mov eax, 0x53
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x15c]
mov word [edx + ecx*2 + 2], ax
jmp case.0x10067992.1
mov eax, 0x73
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x15c]
mov word [edx + ecx*2 + 2], ax
jmp case.0x10067992.1
mov eax, 0x43
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x15c]
mov word [edx + ecx*2 + 2], ax
jmp case.0x10067992.1
mov eax, 0x63
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x15c]
mov word [edx + ecx*2 + 2], ax
cmp dword [ebp - 0x138], 0
jne 0x10067948
jmp 0x1006790e
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x120], eax
xor eax, eax
jne 0x100677ce
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 0xff
lea edx, [ebp - 0x114]
push edx
call fcn.1013711f
add esp, 0x10
mov byte [ebp - 0x15], 0
mov dword [ebp - 0xc], 0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp esi, esp
call fcn.101354d4
cmp eax, 0x80000000
jae 0x10067af2
call fcn.100674e0
test eax, eax
jle 0x10067af2
mov esi, esp
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
cmp esi, esp
call fcn.101354d4
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x174], eax
mov esi, esp
push 0
lea eax, [ebp - 0x174]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
cmp esi, esp
call fcn.101354d4
mov esi, esp
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp esi, esp
call fcn.101354d4
jmp 0x10067b11
mov esi, esp
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.101354d4
push edx
mov ecx, ebp
push eax
lea edx, [0x10067b40]
push dword [ebp - 0x180]
call fcn.10135585
pop eax
pop edx
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10135c7b
mov esp, ebp
pop ebp
ret