Function at 0x4111a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9e8
test byte [0x49b63c], 0x40
je 0x4113c6
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0
push 0x20
push 4
push 0
push 1
push 0x40000000
push str.ADC_EventLog.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x1c], ebx
je 0x4113c5
push esi
push edi
xor eax, eax
mov ecx, 0xfa
lea edi, [ebp - 0x600]
rep stosd dword es:[edi], eax
mov ecx, 0x3e
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x3e
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x218]
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push ecx
push edi
call fcn.00410f10
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x11c]
push edx
push esi
call fcn.00411110
add esp, 0x10
cmp esi, 3
jne 0x411343
cmp edi, 0x10
jne 0x411302
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [edx + 0x24]
mov ebx, dword [edx + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, 0xfa
lea edi, [ebp - 0x9e8]
xor esi, esi
test ebx, ebx
rep stosd dword es:[edi], eax
jbe 0x4112ba
lea edi, [edx + 4]
jmp 0x411280
lea eax, [ebp - 0x9e8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411290
sub eax, edx
mov edx, dword [edi]
push edx
push esi
lea eax, [ebp + eax - 0x9e8]
push str.Index___i______ulDisplayType___d__n
push eax
call fcn.00460f01
add esp, 0x10
inc esi
add edi, 4
cmp esi, ebx
jb 0x411280
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push ecx
push edx
movzx edx, word [ebp - 2]
push ebx
lea eax, [ebp - 0x11c]
push eax
movzx eax, word [ebp - 4]
push 3
lea ecx, [ebp - 0x218]
push ecx
movzx ecx, word [ebp - 6]
push 0x10
push edx
movzx edx, word [ebp - 8]
push eax
push ecx
push edx
lea eax, [ebp - 0x600]
push str._02d:_02d:_02d:_03d_____state_d___s___option_d___s____Number_of_displays_d__ADC_Flag_d__Desktop_View_d__n_n
push eax
call fcn.00460f01
mov ebx, dword [ebp - 0x1c]
add esp, 0x34
jmp 0x41137b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
movzx edx, word [ebp - 2]
lea eax, [ebp - 0x11c]
push eax
movzx eax, word [ebp - 4]
push 3
lea ecx, [ebp - 0x218]
push ecx
movzx ecx, word [ebp - 6]
push edi
push edx
movzx edx, word [ebp - 8]
push eax
push ecx
push edx
lea eax, [ebp - 0x600]
push str._02d:_02d:_02d:_03d_____state_d___s___option_d___s___Data_d__n_n
push eax
call fcn.00460f01
add esp, 0x2c
jmp 0x41137b
movzx eax, word [ebp - 2]
lea ecx, [ebp - 0x11c]
push ecx
movzx ecx, word [ebp - 4]
push esi
lea edx, [ebp - 0x218]
push edx
movzx edx, word [ebp - 6]
push edi
push eax
movzx eax, word [ebp - 8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x600]
push str._02d:_02d:_02d:_03d_____state_d___s___option_d___s___n_n
push ecx
call fcn.00460f01
add esp, 0x28
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x600]
pop edi
mov dword [ebp - 0x18], 0
lea edx, [eax + 1]
pop esi
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4113a0
sub eax, edx
push 0
lea edx, [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x600]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov esp, ebp
pop ebp
ret