Function at 0x409e30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48787f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x38], ecx
call fcn.004834fa
mov esi, dword [eax + 4]
push 0x4ad124
lea ecx, [esp + 0x14]
lea eax, [esi + 0xd0]
push eax
push ecx
call fcn.0047c388
push str.clsid.pcp
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0
call fcn.0047c4cf
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0047be68
mov ecx, esi
call fcn.0044cfb0
test eax, eax
je 0x40a241
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.ActiveX_Allow
call fcn.0047c161
push ecx
lea ebp, [esi + 0xd4]
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebp
mov byte [esp + 0x158], 1
call fcn.0047be68
lea eax, [esp + 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, esi
mov byte [esp + 0x15c], 0
call fcn.0044dc70
mov eax, dword [0x4b20c8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push 0x100
push edx
push eax
push 0x4ad7d8
push str.DB_VERSION
mov byte [esp + 0x164], 8
call ebx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x1c]
push eax
call fcn.0047c27c
mov ecx, dword [esp + 0x1c]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x40a1ca
mov edx, dword [esp + 0x10]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x48]
push 0x100
push eax
push 0
push str.COUNT
push str.DB_COUNT
call ebx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
call fcn.0047c27c
mov edx, dword [esp + 0x1c]
push 0x4b61a0
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x40a1ca
mov eax, dword [esp + 0x24]
push eax
call fcn.00463fa1
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x40a1ca
jmp 0x409fdc
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push str.CLSID_d
push ecx
call fcn.0047617b
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44]
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x48]
push 0x100
push eax
push 0
push ecx
push str.DB_CLSID
call ebx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x18]
push edx
call fcn.0047c27c
mov eax, dword [esp + 0x18]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x40a1b9
mov ecx, dword [esp + 0x28]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
push 0x2c
push 0
jne 0x40a0f1
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0047c72f
mov ecx, dword [esp + 0x18]
push 0x2c
push 1
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0047c72f
mov eax, dword [esp + 0x14]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x40a0b3
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0047be68
mov ecx, dword [esp + 0x3c]
push 1
call fcn.00409d50
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0047be68
push ecx
mov byte [esp + 0x154], 9
mov ecx, esp
mov dword [esp + 0x48], esp
push str.ActiveX_Allow
call fcn.0047c161
push ecx
mov byte [esp + 0x158], 0xa
mov ecx, esp
mov dword [esp + 0x48], esp
jmp 0x40a19f
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0047c72f
mov eax, dword [esp + 0x18]
push 0x2c
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0047c72f
mov edx, dword [esp + 0x20]
push edx
call fcn.00463fa1
mov edi, eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00463fa1
add esp, 8
cmp edi, eax
jle 0x40a1ca
mov ecx, dword [esp + 0x14]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x40a166
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0047be68
mov ecx, dword [esp + 0x3c]
push 1
call fcn.00409d50
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0047be68
push ecx
mov byte [esp + 0x154], 0xb
mov ecx, esp
mov dword [esp + 0x48], esp
push str.ActiveX_Allow
call fcn.0047c161
push ecx
mov byte [esp + 0x158], 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
call fcn.0047be68
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
mov byte [esp + 0x15c], 8
call fcn.0044dec0
mov eax, dword [esp + 0x2c]
dec eax
test eax, eax
mov dword [esp + 0x2c], eax
jg 0x409fd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 7
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 6
call fcn.0047c0f3
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 5
call fcn.0047c0f3
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 4
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 3
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 2
call fcn.0047c0f3
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0
call fcn.0047c0f3
lea ecx, [esp + 0x10]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret