Function at 0x42bd10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a26b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4a4100]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x29c], eax
xor ecx, ecx
mov eax, 0x8000
mov edx, 2
mul edx
seto cl
mov dword [ebp - 4], 0
neg ecx
or ecx, eax
push ecx
call fcn.0046a020
mov esi, eax
add esp, 4
mov dword [ebp - 0x290], eax
test esi, esi
jne 0x42bd84
xor eax, eax
jmp 0x42c095
push ebx
push 0x8000
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea edi, [eax + 2]
mov dword [ebp - 0x298], eax
cmp edi, 0x8000
jbe 0x42bdf0
push esi
call fcn.0046f324
xor ecx, ecx
add esp, 4
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a020
add esp, 4
mov esi, eax
mov dword [ebp - 0x290], esi
test edi, edi
je 0x42bd7d
lea eax, [edi + edi]
push eax
push 0
push esi
call fcn.00474b70
add esp, 0xc
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebp - 0x298], eax
test eax, eax
jbe 0x42c087
mov dword [ebp - 0x294], 0
mov edi, esi
cmp dword [ebp - 0x294], eax
jae 0x42c087
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42be15
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2a0], eax
je 0x42c068
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x19a]
push edx
mov word [ebp - 0x19c], cx
call fcn.00474b70
add esp, 0xc
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.00474b70
add esp, 0xc
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0x11a]
push eax
mov word [ebp - 0x11c], dx
call fcn.00474b70
add esp, 0xc
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x9a]
push edx
mov word [ebp - 0x9c], cx
call fcn.00474b70
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push ebx
push 0x40
lea eax, [ebp - 0x19c]
push eax
push 0x492994
push 0x493650
push edi
call esi
push ebx
push 0x40
lea ecx, [ebp - 0x21c]
push ecx
push 0x492994
push str.partner_id
push edi
call esi
push ebx
push 0x40
lea edx, [ebp - 0x11c]
push edx
push 0x492994
push str.version
push edi
call esi
push ebx
push 0x40
lea eax, [ebp - 0x9c]
push eax
push 0x492994
push str.time
push edi
call esi
xor esi, esi
mov eax, 7
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x278], esi
mov word [ebp - 0x288], cx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x25c], esi
mov word [ebp - 0x26c], dx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], cx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], dx
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42bf62
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00405fe0
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42bf90
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x254]
call fcn.00405fe0
lea eax, [ebp - 0x11c]
lea edx, [eax + 2]
jmp 0x42bfc0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42bfc0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x238]
call fcn.00405fe0
lea eax, [ebp - 0x9c]
lea edx, [eax + 2]
jmp 0x42bff0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42bff0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00405fe0
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x28c]
push edx
push ecx
push eax
mov dword [ebp - 0x2a4], eax
call fcn.0042c5e0
mov ecx, dword [ebp - 0x29c]
mov esi, eax
call fcn.0042c680
mov edx, dword [ebp - 0x2a4]
mov dword [edx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x28c]
mov byte [ebp - 4], 0
call fcn.0042c0c0
mov esi, dword [ebp - 0x290]
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x294]
lea edx, [ecx + eax + 1]
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x294], edx
jmp 0x42be04
push esi
call fcn.0046f324
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046f01c
mov esp, ebp
pop ebp
ret