Function at 0x46f8b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x620
mov eax, dword [0x4b1120]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
mov ebx, dword [esp + 0x628]
push edi
mov edi, dword [esp + 0x634]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x46fbd9
push ebp
mov ebp, dword [esp + 0x634]
test ebp, ebp
je 0x46fbd8
test edi, edi
je 0x46fbd8
push esi
mov esi, dword [esp + 0x640]
test esi, esi
je 0x46fbd7
lea eax, [ebp + ebp]
push eax
push 0
push ebx
call fcn.00447660
lea ecx, [esi + esi]
push ecx
push 0
push edi
call fcn.00447660
add esp, 0x18
push 0x104
lea edx, [esp + 0x428]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x46fbd7
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [esp + eax + 0x424]
mov word [esp + eax + 0x21c], cx
add eax, 2
test cx, cx
jne 0x46f950
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.00447660
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0xb2]
push eax
mov word [esp + 0xb4], dx
call fcn.00447660
lea ecx, [esp + 0x234]
push 0x5c
push ecx
call fcn.0044a678
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x20
test eax, eax
je 0x46fa15
mov ecx, str.aboutn.ini
sub eax, ecx
lea edx, [eax + 2]
nop
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x46f9c0
lea edx, [esp + 0x21c]
push edx
push 0x80
lea eax, [esp + 0xa4]
push eax
push 0x49c298
push 0x4a5ccc
push str.Reserved
call esi
lea ecx, [esp + 0x21c]
push ecx
push 0x40
lea edx, [esp + 0x24]
push edx
push 0x49c298
push 0x4a5c98
push str.Reserved
call esi
cmp word [esp + 0x9c], 0
jne 0x46fa80
lea eax, [esp + 0x21c]
push 0x5c
push eax
call fcn.0044a678
add esp, 8
test eax, eax
je 0x46fa75
mov ecx, str.params.ini
sub eax, ecx
lea edx, [eax + 2]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x46fa40
lea ecx, [esp + 0x21c]
push ecx
push 0x80
lea edx, [esp + 0xa4]
push edx
push 0x49c298
push str.Application
push str.Names
call esi
cmp word [esp + 0x9c], 0
je 0x46fa8c
cmp word [esp + 0x1c], 0
jne 0x46fb80
lea eax, [esp + 0x424]
push eax
call fcn.0046f7b0
mov esi, eax
test esi, esi
je 0x46fb80
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.VarFileInfoTranslation
push esi
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueW
cmp dword [esp + 0x10], 0
jne 0x46face
mov eax, 0x4b00409
jmp 0x46fad4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, eax
movzx edx, ax
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x1a4]
push str.StringFileInfo_04X_04X_
push eax
call fcn.004693a0
add esp, 0x10
cmp word [esp + 0x9c], 0
mov edi, eax
jne 0x46fb31
push edi
lea ecx, [esp + 0x1a0]
push ecx
push 0x4a5ccc
push esi
call fcn.0046f850
lea edx, [esp + 0x9c]
jmp 0x46fb20
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x46fb20
cmp word [esp + 0x1c], 0
jne 0x46fb62
push edi
lea edx, [esp + 0x1a0]
push edx
push 0x4a5c98
push esi
call fcn.0046f850
lea edx, [esp + 0x1c]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x46fb51
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x18]
cmp word [esp + 0x9c], 0
je 0x46fb9e
dec ebp
push ebp
lea eax, [esp + 0xa0]
push eax
push ebx
call fcn.0044dce8
add esp, 0xc
cmp word [esp + 0x1c], 0
je 0x46fbbd
mov ecx, dword [esp + 0x640]
dec ecx
push ecx
lea edx, [esp + 0x20]
push edx
push edi
call fcn.0044dce8
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa0]
push ecx
push str._APGetProductName____szName_s___szVersion_s
call fcn.00469110
add esp, 0xc
pop esi
pop ebp
mov ecx, dword [esp + 0x624]
pop edi
pop ebx
xor ecx, esp
call fcn.00447645
add esp, 0x620
ret