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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
call fcn.0040b530
test ah, 4
je 0x43a250
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43a250
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov ecx, 0x40
lea edi, [ebp - 0x324]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push str.Info_u
push eax
call fcn.00460f01
add esp, 0xc
push str.c:LogInfo.ini
push 0x100
lea ecx, [ebp - 0x324]
push ecx
push 0x485a61
lea edx, [ebp - 0x24]
push edx
push str.LogInfos
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
mov byte [ebp - 0x224], 0
mov ecx, 0x7f
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x324]
push 0x48c360
push eax
call fcn.0046170d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43a0d1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a0b4
sub eax, edx
mov dword [ebp + 8], eax
je 0x43a0d1
push ebx
push str.LogInfo:__s___
lea ecx, [ebp - 0x224]
push ecx
jmp 0x43a0de
push esi
push str.LogInfo:_code__u___
lea edx, [ebp - 0x224]
push edx
call fcn.00460f01
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
add esp, 0xc
test eax, eax
mov dword [ebp + 8], 0
jbe 0x43a1c8
add esi, 4
lea ecx, [ecx]
mov eax, dword [ebp + 8]
test eax, eax
je 0x43a12a
lea edi, [ebp - 0x224]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43a110
mov ax, word [0x48c334]
mov cl, byte [0x48c336]
mov word [edi], ax
mov byte [edi + 2], cl
test ebx, ebx
je 0x43a184
push 0x48c360
push 0
call fcn.0046170d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43a184
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a146
sub eax, edx
mov dword [ebp - 4], eax
je 0x43a184
lea eax, [ebp - 0x224]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a160
sub eax, edx
mov edx, dword [esi]
push edx
push ebx
lea eax, [ebp + eax - 0x224]
push str._s__0x_x
push eax
call fcn.00460f01
add esp, 0x10
jmp 0x43a1b1
lea eax, [ebp - 0x224]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a190
mov ecx, dword [esi]
push ecx
sub eax, edx
lea edx, [ebp + eax - 0x224]
push str.0x_x
push edx
call fcn.00460f01
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
inc eax
add esi, 4
cmp eax, edx
mov dword [ebp + 8], eax
jb 0x43a100
lea edi, [ebp - 0x224]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43a1d0
mov dx, word [0x477b7c]
mov al, byte [0x477b7e]
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 0x43a24d
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x224]
mov dword [ebp + 0xc], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a228
push 0
lea ecx, [ebp + 0xc]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x224]
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