Function at 0x428f20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5348cf
mov eax, dword fs:[0]
push eax
sub esp, 0xbac
mov eax, dword [0x58dd4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x9ac], esi
mov ebx, ecx
mov dword [ebp - 0x9a4], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x9a8], 0
mov dword [ebp - 0x9b0], ebx
mov dword [ebx], 0
call fcn.00424370
mov ecx, eax
test ecx, ecx
jne 0x428f90
push 0x80004005
call fcn.00425150
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x800
lea eax, [ebp - 0x990]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x9a8], 1
call fcn.00510f30
add esp, 0xc
lea eax, [ebp - 0x990]
push esi
push 0x400
push eax
push 0x583f78
push 0x583c34
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x990]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428ff0
sub ecx, edx
lea eax, [ebp - 0x990]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00424790
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x429315
push 0x100
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00510f30
lea ecx, [ebp - 0x190]
call fcn.00428a10
lea ecx, [ebp - 0x9a0]
mov dword [ebp - 0x9a0], 0
call fcn.00428e50
push 0x80
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00510f30
add esp, 0x18
lea ecx, [ebp - 0x90]
mov edx, 0x3c
call fcn.00428990
call fcn.00424370
mov ecx, eax
test ecx, ecx
jne 0x42908f
push 0x80004005
call fcn.00425150
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x998], eax
lea eax, [ebp - 0xab0]
mov byte [ebp - 4], 2
mov dword [ebp - 0xab4], eax
lea ecx, [ebp - 0xab4]
push 3
lea eax, [ebp - 0x90]
push eax
call fcn.00423540
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
sub esp, 0x104
lea eax, [ebp - 0x190]
mov edi, esp
lea esi, [ebp - 0xab4]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x9a0]
push eax
lea eax, [ebp - 0x998]
push str._s_s_s_d
push eax
call fcn.00423bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xab0]
mov eax, dword [ebp - 0xab4]
add esp, 0x118
cmp eax, ecx
je 0x429122
push eax
call fcn.00512967
add esp, 4
mov esi, dword [ebp - 0x998]
mov edi, 1
mov dword [ebp - 0x99c], 0
mov ecx, edi
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x429156
push 0
lea ecx, [ebp - 0x998]
call fcn.004251b0
mov esi, dword [ebp - 0x998]
push 3
lea eax, [ebp - 0xa30]
push esi
lea ecx, [ebp - 0xa34]
mov dword [ebp - 0xa34], eax
call fcn.00423460
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x99c]
push dword [ebp - 0xa34]
call fcn.00422fa0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa30]
mov eax, dword [ebp - 0xa34]
cmp eax, ecx
je 0x4291a2
push eax
call fcn.00512967
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x994], 0
lea eax, [ebp - 0x99c]
mov dword [ebp - 0x9a4], ecx
push eax
call fcn.00423350
lea ecx, [ebp - 0x994]
call fcn.00425be0
add esp, 4
mov byte [ebp - 4], 7
mov edx, edi
mov eax, dword [ebp - 0x994]
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x4291f8
push 0
lea ecx, [ebp - 0x994]
call fcn.00423700
mov eax, dword [ebp - 0x994]
lea ecx, [ebp - 0xbb4]
push 3
mov dword [ebp - 0xbb8], ecx
lea ecx, [ebp - 0xbb8]
push eax
call fcn.00423540
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xbb8]
test edx, edx
jne 0x429224
xor ecx, ecx
jmp 0x429243
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x9a4], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429230
sub ecx, dword [ebp - 0x9a4]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00424790
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbb4]
mov eax, dword [ebp - 0xbb8]
cmp eax, ecx
je 0x429269
push eax
call fcn.00512967
add esp, 4
mov eax, dword [ebx]
sub edi, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, edi
jge 0x42927e
push 0
mov ecx, ebx
call fcn.004251b0
push dword [ebp - 0x9ac]
push dword [ebx]
push 0x583c34
push str.main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp - 0x994]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4292ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x99c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4292db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4292f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x9a0]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x429315
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050e1f3
mov esp, ebp
pop ebp
ret