Function at 0x6235a0
Capabilities:
Access the windows event log
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, pe_nt_image_headers32
call fcn.005b9d80
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x623669
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x623669
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call fcn.00623a20
add esp, 0x10
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jge 0x62362a
mov dword [ebp - 0x12c], 0x100
jmp 0x623636
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
push 0
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x114], 0
jmp 0x62396a
mov ecx, 1
test ecx, ecx
je 0x623680
mov edx, dword [ebp + 8]
mov dword [ebp - 0x120], edx
jmp 0x623871
mov eax, dword [ebp + 8]
push eax
call fcn.00749170
add esp, 4
add eax, 1
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
shl eax, 1
call fcn.005b9600
mov dword [ebp - 0x13c], esp
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0
jne 0x6236cc
mov dword [ebp - 0x120], str.no_stack_
jmp 0x623871
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x62373b
mov dword [ebp - 0x108], 0
jmp 0x62370e
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [ebp - 0x110]
jae 0x62373b
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x108]
movsx ax, byte [edx]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov word [edx + ecx*2], ax
jmp 0x6236ff
mov dword [ebp - 0x108], 0
jmp 0x623756
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [ebp - 0x110]
jae 0x62385d
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x25
jne 0x623858
mov dword [ebp - 0x130], 0
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
movzx ecx, word [eax + edx*2 + 2]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
sub edx, 0x2a
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0x49
ja case.0x6237cb.1
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x623998]
jmp dword [ecx*4 + 0x623980]
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x130], 1
jmp case.0x6237cb.1
mov eax, 0x53
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov word [edx + ecx*2 + 2], ax
jmp case.0x6237cb.1
mov eax, 0x73
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov word [edx + ecx*2 + 2], ax
jmp case.0x6237cb.1
mov eax, 0x43
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov word [edx + ecx*2 + 2], ax
jmp case.0x6237cb.1
mov eax, 0x63
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov word [edx + ecx*2 + 2], ax
cmp dword [ebp - 0x130], 0
jne 0x623781
jmp 0x623747
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x120], eax
xor ecx, ecx
jne 0x623680
lea edx, [ebp + 0xc]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
call fcn.00623a20
add esp, 0x10
mov eax, 1
imul ecx, eax, 0xff
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0x100
jae 0x6238bb
jmp 0x6238c0
call fcn.005b9bda
mov edx, dword [ebp - 0x134]
mov byte [ebp + edx - 0x104], 0
mov dword [ebp - 0x114], 0
mov eax, 1
test eax, eax
je 0x623954
call fcn.00623440
test eax, eax
jle 0x623954
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x623952
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x138], ecx
push 0
lea edx, [ebp - 0x138]
push edx
push 0
push 1
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x623945
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x62396a
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x140]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b937d
mov esp, ebp
pop ebp
ret