Function at 0x420720
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48b437
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x420777
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
call fcn.0044d630
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4207a1
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c0], esi
mov ecx, dword [0x4b90b8]
mov edi, dword [0x4b92bc]
push ecx
lea ebx, [esp + 0x34]
mov dword [esp + 0x3c], esi
call fcn.00442410
cmp dword [esp + 0x38], 0
jg 0x420831
mov dword [esp + 0x1c0], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x420d62
push str.param.ini
lea ecx, [esp + 0x20]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
push eax
push 0
push str.RunTimes
push str.NORMAL
call esi
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, 0x15b38
jle 0x42088e
xor edi, edi
push 0xa
lea ecx, [esp + 0x1b0]
push ecx
push edi
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x20]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push eax
lea eax, [esp + 0x1b0]
push eax
push str.RunTimes
push str.NORMAL
call ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 3
jl 0x420d59
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420918
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1c0], 1
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42094a
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c0], 2
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42097c
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push 0
mov byte [esp + 0x1c4], 3
call fcn.004695bc
add esp, 4
push str.param.ini
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x7d0
push str.year
push str.HOMEURL
call esi
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4209f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.param.ini
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
push 1
push 0x496798
push str.HOMEURL
call esi
mov ebp, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420a3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.param.ini
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
push 1
push 0x49679c
push str.HOMEURL
call esi
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420a87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp edi, 0x76c
setge al
xor ecx, ecx
cmp eax, ecx
jne 0x420aa2
push 0x80004005
call fcn.00401db0
lea eax, [ebp - 1]
cmp eax, 0xb
jbe 0x420ab4
push 0x80004005
call fcn.00401db0
lea edx, [esi - 1]
cmp edx, 0x1e
jbe 0x420ac6
push 0x80004005
call fcn.00401db0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
add edi, 0xfffff894
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], ecx
call fcn.0046bf64
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
jne 0x420b08
push 0x80070057
call fcn.00401db0
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x24]
push 0
push 0x15180
sbb eax, edx
push eax
push ecx
call fcn.004706d0
test edx, edx
jg 0x420b35
jl 0x420ce1
cmp eax, 0x12
jb 0x420ce1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0046b1e6
add esp, 8
test eax, eax
jne 0x420b56
mov eax, dword [esp + 0x54]
add eax, 0x76c
jmp 0x420b58
xor eax, eax
push 0xa
lea ecx, [esp + 0x1b0]
push ecx
push eax
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x1c]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea eax, [esp + 0x1b0]
push eax
push str.year
push str.HOMEURL
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420bb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0046b1e6
add esp, 8
test eax, eax
jne 0x420bd8
mov eax, dword [esp + 0x50]
add eax, 1
jmp 0x420bda
xor eax, eax
push 0xa
lea ecx, [esp + 0x1b0]
push ecx
push eax
call fcn.004808d6
add esp, 0xc
push str.param.ini
lea edx, [esp + 0x1c]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea eax, [esp + 0x1b0]
push eax
push 0x496798
push str.HOMEURL
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0046b1e6
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x54]
push 0xa
lea ecx, [esp + 0x1b8]
push ecx
push eax
call fcn.004808d6
add esp, 0x14
push str.param.ini
lea edx, [esp + 0x1c]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
lea eax, [esp + 0x1b0]
push eax
push 0x49679c
push str.HOMEURL
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420cb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00411340
lea ecx, [esp + 0x64]
mov byte [esp + 0x1c0], 4
call fcn.00451b98
lea ecx, [esp + 0x64]
mov byte [esp + 0x1c0], 3
call fcn.004113f0
mov byte [esp + 0x1c0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420d09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c0], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c0], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x30]
call fcn.004312a0
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00468ce5
add esp, 0x1b0
ret