Function at 0x439af0
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 0x439d24
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x439d24
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.0045ebd9
add esp, 0xc
push str.c:LogInfo.ini
push 0x100
lea ecx, [esp + 0x240]
push ecx
push 0x47d661
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 0x483d10
push eax
call fcn.0045f36d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x439bb4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439b98
sub eax, edx
mov dword [esp + 0x10], eax
je 0x439bb4
push ebx
push str.LogInfo:__s___
lea ecx, [esp + 0x40]
push ecx
jmp 0x439bbf
push esi
push str.LogInfo:_code__u___
lea edx, [esp + 0x40]
push edx
call fcn.0045ebd9
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x439c9f
add esi, 4
nop
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439c0a
lea edi, [esp + 0x38]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x439bf0
mov ax, word [0x483ce4]
mov cl, byte [0x483ce6]
mov word [edi], ax
mov byte [edi + 2], cl
test ebx, ebx
je 0x439c61
push 0x483d10
push 0
call fcn.0045f36d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x439c61
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439c26
sub eax, edx
mov dword [esp + 0x14], eax
je 0x439c61
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439c40
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.0045ebd9
add esp, 0x10
jmp 0x439c86
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439c68
mov ecx, dword [esi]
push ecx
sub eax, edx
lea edx, [esp + eax + 0x3c]
push str.0x_x
push edx
call fcn.0045ebd9
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 0x439be0
lea edi, [esp + 0x38]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x439ca4
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 0x439d24
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 0x439d00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439d00
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