Function at 0x430465
Capabilities:
Read .ini file

Disassembly:
push ebp
push ebx
mov edx, 0x400e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x43046c
call fcn.0045e790
mov edx, dword [esp + 0x10044]
lea ecx, [esp]
call fcn.0044e000
lea edx, [esp + 0x10030]
push edx
push 0x46e070
push 8
push 0x22
push 4
call fcn.0045e24d
push edx
call fcn.0045e620
pop edx
push eax
lea edx, [esp + 0x10034]
push edx
mov eax, str.PrepopulateList
push eax
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 8]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, 0x464848
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004181ef
call fcn.0044e2f0
push dword [esp + 0x10030]
call fcn.0045e3e5
mov dword [esp + 0x10020], eax
push 0x8000
call fcn.0045ac20
mov dword [esp + 0x10028], eax
push dword [esp]
push 0x8000
lea eax, [esp + 0xc]
push eax
mov eax, str.PrepopulateList
push eax
call sub.kernel32.dll_GetPrivateProfileSectionW
mov dword [esp + 0x10008], eax
cmp dword [esp + 0x10008], 0
je 0x43074f
mov ebx, dword [esp + 0x10008]
add ebx, ebx
mov dword [esp + 0x10008], ebx
push dword [esp + 0x10028]
pop eax
mov dword [esp + 0x10024], eax
mov dword [esp + 0x1000c], 0
jmp 0x430575
mov eax, dword [esp + 0x10020]
cmp eax, dword [esp + 0x1000c]
jl 0x43070e
mov ebx, dword [esp + 0x1000c]
mov ebp, dword [esp + 0x10030]
shl ebx, 2
mov eax, dword [ebp + ebx]
mov dword [esp + 0x1002c], eax
mov ebp, dword [esp + 0x1002c]
movzx ebx, word [ebp]
mov eax, 0x2a
cmp ebx, eax
jne 0x4305bd
xor eax, eax
jmp 0x4305c2
mov eax, 1
and eax, eax
je 0x430608
push edx
call fcn.0045e620
pop edx
push eax
mov edx, 0x46190e
push edx
call fcn.0045e6f0
mov ebx, dword [esp + 0x10010]
mov ebp, dword [esp + 0x10034]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.0045e6f0
mov ebx, dword [esp + 0x10010]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.0045e660
mov ebx, dword [esp + 0x1000c]
mov ebp, dword [esp + 0x10030]
shl ebx, 2
mov eax, dword [ebp + ebx]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 4
mov ebx, eax
add ebx, ebx
mov dword [esp + 0x10014], ebx
mov dword [esp + 0x1001c], 0
mov dword [esp + 0x10018], 0
jmp 0x430649
mov ebx, dword [esp + 0x10008]
sub ebx, dword [esp + 0x10014]
cmp ebx, dword [esp + 0x10018]
jl 0x4306ad
push dword [esp + 0x10014]
lea eax, [esp + 8]
mov ebx, eax
add ebx, dword [esp + 0x1001c]
push ebx
mov ebx, dword [esp + 0x10014]
mov ebp, dword [esp + 0x10038]
shl ebx, 2
mov eax, dword [ebp + ebx]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
mov ebx, eax
and ebx, ebx
jne 0x4306a4
mov dword [esp + 0x1001c], 1
inc dword [esp + 0x10018]
jno 0x430649
cmp dword [esp + 0x1001c], 0
je 0x4306bb
xor eax, eax
jmp 0x4306c0
mov eax, 1
and eax, eax
je 0x430701
mov ebx, dword [esp + 0x1000c]
mov ebp, dword [esp + 0x10030]
shl ebx, 2
mov eax, dword [ebp + ebx]
push eax
push dword [esp + 0x10028]
call sub.MSVCRT.dll_wcscpy
add esp, 8
mov ebx, dword [esp + 0x10024]
add ebx, dword [esp + 0x10014]
add ebx, 2
mov dword [esp + 0x10024], ebx
inc dword [esp + 0x1000c]
jno 0x430575
mov ebx, dword [esp + 0x10024]
cmp ebx, dword [esp + 0x10028]
jne 0x430722
xor eax, eax
jmp 0x430727
mov eax, 1
and eax, eax
je 0x43074f
push dword [esp]
push dword [esp + 0x1002c]
mov eax, str.PrepopulateList
push eax
call sub.kernel32.dll_WritePrivateProfileSectionW
and eax, eax
je 0x43074f
mov dword [esp + 0x10010], 1
push dword [esp + 0x10028]
call fcn.0045ac40
mov eax, dword [esp + 0x10010]
jmp 0x430766
push dword [esp]
call fcn.0045e7f0
push eax
push dword [esp + 0x10034]
call fcn.0045e3f8
pop eax
add esp, 0x10038
pop ebx
pop ebp
ret 4