Function at 0x43a070
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.0040aca0
test ah, 4
je 0x43a2a4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43a2a4
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.0045f139
add esp, 0xc
push str.c:LogInfo.ini
push 0x100
lea ecx, [esp + 0x240]
push ecx
push 0x47d841
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 0x484048
push eax
call fcn.0045f91d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43a134
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a118
sub eax, edx
mov dword [esp + 0x10], eax
je 0x43a134
push ebx
push str.LogInfo:__s___
lea ecx, [esp + 0x40]
push ecx
jmp 0x43a13f
push esi
push str.LogInfo:_code__u___
lea edx, [esp + 0x40]
push edx
call fcn.0045f139
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x43a21f
add esi, 4
nop
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43a18a
lea edi, [esp + 0x38]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43a170
mov ax, word [0x48401c]
mov cl, byte [0x48401e]
mov word [edi], ax
mov byte [edi + 2], cl
test ebx, ebx
je 0x43a1e1
push 0x484048
push 0
call fcn.0045f91d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43a1e1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a1a6
sub eax, edx
mov dword [esp + 0x14], eax
je 0x43a1e1
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a1c0
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.0045f139
add esp, 0x10
jmp 0x43a206
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a1e8
mov ecx, dword [esi]
push ecx
sub eax, edx
lea edx, [esp + eax + 0x3c]
push str.0x_x
push edx
call fcn.0045f139
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 0x43a160
lea edi, [esp + 0x38]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43a224
mov dx, word [0x46f904]
mov al, byte [0x46f906]
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 0x43a2a4
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 0x43a280
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a280
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