Function at 0x4395f0
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x32c
push ebx
push esi
push edi
call fcn.0040b2b0
test ah, 4
je 0x439824
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x439824
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x238]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push str.Info_u
push eax
call fcn.0045e6a9
add esp, 0xc
push str.c:LogInfo.ini
push 0x100
lea ecx, [esp + 0x240]
push ecx
push 0x47d4b9
lea edx, [esp + 0x28]
push edx
push str.LogInfos
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
mov byte [esp + 0x38], 0
mov ecx, 0x7f
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x238]
push 0x483b68
push eax
call fcn.0045ee3d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4396b4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439698
sub eax, edx
mov dword [esp + 0x10], eax
je 0x4396b4
push ebx
push str.LogInfo:__s___
lea ecx, [esp + 0x40]
push ecx
jmp 0x4396bf
push esi
push str.LogInfo:_code__u___
lea edx, [esp + 0x40]
push edx
call fcn.0045e6a9
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x43979f
add esi, 4
nop
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43970a
lea edi, [esp + 0x38]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4396f0
mov ax, word [0x483b3c]
mov cl, byte [0x483b3e]
mov word [edi], ax
mov byte [edi + 2], cl
test ebx, ebx
je 0x439761
push 0x483b68
push 0
call fcn.0045ee3d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x439761
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439726
sub eax, edx
mov dword [esp + 0x14], eax
je 0x439761
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439740
sub eax, edx
mov edx, dword [esi]
push edx
push ebx
lea eax, [esp + eax + 0x40]
push str._s__0x_x
push eax
call fcn.0045e6a9
add esp, 0x10
jmp 0x439786
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439768
mov ecx, dword [esi]
push ecx
sub eax, edx
lea edx, [esp + eax + 0x3c]
push str.0x_x
push edx
call fcn.0045e6a9
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
inc eax
add esi, 4
cmp eax, edx
mov dword [esp + 0x10], eax
jb 0x4396e0
lea edi, [esp + 0x38]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4397a4
mov dx, word [0x46facc]
mov al, byte [0x46face]
push 0
push 0x20
push 4
push 0
push 1
push 0x40000000
mov word [edi], dx
push str.c:DrvLog.txt
mov byte [edi + 2], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x439824
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x38]
mov dword [esp + 0x10], 0
lea edx, [eax + 1]
jmp 0x439800
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439800
push 0
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x44]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8