Function at 0x42a230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.0042bfc0
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x102c], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, ecx
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x410]
je 0x42a282
pop esi
mov eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18
lea edx, [ebp - 0x20c]
sub edx, esi
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a290
lea edx, [esi + 0x208]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42a2a7
push edi
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a2c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x20c]
and ecx, 3
push 0x5c
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR110.dll_wcsrchr]
mov edx, eax
lea eax, [ebp - 0x20c]
sub edx, eax
add esp, 8
mov ecx, eax
sar edx, 1
inc edx
lea esi, [ecx + 2]
pop edi
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a300
sub ecx, esi
sar ecx, 1
cmp edx, ecx
je 0x42a32d
push 0x437f70
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a336
mov eax, dword [str.olreg.ini]
mov dword [ecx], eax
mov eax, dword [0x4380a0]
mov dword [ecx + 4], eax
mov eax, dword [0x4380a4]
mov dword [ecx + 8], eax
mov eax, dword [0x4380a8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4380ac]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42a3a1
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42a375
sub edx, esi
sar edx, 1
je 0x42a3a1
lea edx, [ebp - 0x414]
sub edx, ecx
mov edi, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a390
jmp 0x42a3c7
xor ecx, ecx
jmp 0x42a3b0
movzx eax, word [ecx + str.Default]
mov word [ebp + ecx - 0x414], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a3b0
push 0
push 1
push 0x10000000
push 1
push str.EVERYONE
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.00429a30
add esp, 0x1c
xor ecx, ecx
lea ebx, [ebx]
movzx eax, word [ebp + ecx - 0x414]
mov word [ebp + ecx - 0x61c], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a3f0
lea ecx, [ebp - 0x61c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a411
mov eax, dword [str._Type]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ecx], eax
mov eax, dword [0x4380c8]
mov dword [ecx + 4], eax
mov eax, dword [0x4380cc]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x61c]
push eax
push str.OLREG
call esi
mov ecx, dword [ebp - 0x102c]
mov dword [ecx], eax
cmp eax, 1
je 0x42a536
cmp eax, 2
je 0x42a536
cmp eax, 4
je 0x42a4fd
cmp eax, 5
je 0x42a4fd
cmp eax, 0xb
je 0x42a4fd
cmp eax, 3
jne 0x42a4c0
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
push str.OLREG
call esi
mov esi, dword [ebp - 0x1028]
mov dword [ebx], eax
mov dword [esi], 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xc
jne 0x42a4d9
mov esi, dword [ebp - 0x1028]
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
jmp 0x42a630
push str.Unknown_Type
call fcn.00401440
add esp, 4
mov eax, 2
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
push str.OLREG
call esi
mov esi, dword [ebp - 0x1028]
mov byte [ebx], al
mov dword [esi], 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18
xor ecx, ecx
jmp 0x42a540
movzx eax, word [ebp + ecx - 0x414]
mov word [ebp + ecx - 0x824], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a540
lea ecx, [ebp - 0x824]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a561
mov eax, dword [str._Count]
mov dword [ecx], eax
mov eax, dword [0x4380e0]
mov dword [ecx + 4], eax
mov eax, dword [0x4380e4]
mov dword [ecx + 8], eax
mov ax, word [0x4380e8]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x824]
push eax
push str.OLREG
call esi
mov esi, dword [ebp - 0x1028]
mov dword [esi], eax
test eax, eax
jne 0x42a628
lea eax, [ebp - 0x20c]
push eax
push 0x400
lea eax, [ebp - 0x1024]
push eax
push 0x432c58
lea eax, [ebp - 0x414]
push eax
push str.OLREG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1024]
mov eax, ecx
sub ebx, eax
movzx eax, word [ecx]
mov word [ebx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a5e5
lea ecx, [ebp - 0x1024]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a600
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [ebp - 0x20c]
push ecx
push eax
push ebx
lea eax, [ebp - 0x414]
push eax
push str.OLREG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18