Function at 0x419880
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4829a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a1620]
xor eax, esp
mov dword [esp + 0x64], eax
push ebp
push esi
push edi
mov eax, dword [0x4a1620]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov dword [esp + 0x84], 0
call fcn.0044bb76
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4198d6
push 0x80004005
call fcn.004012e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
xor eax, eax
mov byte [esp + 0x84], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.0044bb76
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41992a
push 0x80004005
call fcn.004012e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x84], 2
call fcn.0044bb76
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41995c
push 0x80004005
call fcn.004012e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x88], 3
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x4a]
push edx
lea eax, [esp + 0x14]
push 0x48c018
push eax
call fcn.004023e0
movzx ecx, word [esp + 0x58]
add esp, 0xc
push ecx
lea edx, [esp + 0x18]
push 0x48c018
push edx
call fcn.004023e0
mov eax, dword [ebx + 0x4808]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push str.SYS_
push 0x20
lea ecx, [esp + 0x5c]
push ecx
push 0x48dde8
push 0x48ebe8
push eax
call esi
lea edx, [esp + 0x54]
push edx
call fcn.004669bd
add esp, 4
cmp eax, 0xffffffff
mov eax, dword [ebx + 0x4808]
push str.SYS_
jne 0x4199f8
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x419a56
push 0x20
lea edx, [esp + 0x5c]
push edx
push 0x48dde8
push 0x48ebe8
push eax
call esi
mov esi, dword [esp + 0x10]
push esi
call fcn.004669bd
mov edi, eax
lea eax, [esp + 0x58]
add esp, 4
push eax
call fcn.004669bd
add esp, 4
cmp edi, eax
je 0x419be7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004669bd
add esp, 4
cmp eax, dword [esp + 0x98]
jl 0x419be7
mov eax, dword [ebx + 0x4808]
push str.SYS_
push esi
push 0x48ebe8
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebx + 0x480c]
mov esi, dword [ebx + 0xbc]
mov ecx, eax
and ecx, 0xff000000
mov dword [esp + 0x30], ecx
mov ecx, eax
and ecx, 0xff00
mov edi, eax
mov dword [esp + 0x28], ecx
movzx edx, al
mov eax, dword [esp + 0x9c]
mov ecx, eax
and ecx, 0xff000000
mov dword [esp + 0x34], ecx
mov ecx, eax
mov ebp, eax
and ecx, 0xff00
push 0x374
movzx eax, al
mov dword [esp + 0x20], ecx
push 0x28
push 0x1c
mov ecx, 0xc454c4
and edi, 0xff0000
mov dword [esp + 0x2c], edx
and ebp, 0xff0000
mov dword [esp + 0x38], eax
call fcn.00402570
sub eax, dword [esp + 0x98]
add esp, 0xc
mov ecx, eax
mov edx, ecx
mov esi, ecx
movzx ecx, cl
and eax, 0xff000000
shr eax, 0x10
shl ecx, 0x10
and edx, 0xff0000
or eax, edx
and esi, 0xff00
or ecx, esi
shr eax, 8
shl ecx, 8
or ecx, eax
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x9c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402200
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00416120
cmp al, 1
jne 0x419b77
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x94]
jb 0x419b77
mov edx, dword [esp + 0x3c]
mov eax, edx
and eax, 0xff00
shl eax, 8
shl edx, 0x18
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x18]
shl ecx, 0x18
shl edx, 0x18
jmp 0x419b7d
xor eax, eax
xor edx, edx
xor ecx, ecx
mov esi, dword [esp + 0x40]
push esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
or eax, 0x610200
shl eax, 8
push 0x620200
shr ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
shr eax, 8
shl ebp, 8
or ebp, eax
mov eax, dword [esp + 0x38]
push ebp
shl eax, 8
shr ecx, 8
or eax, ecx
push eax
mov eax, dword [esp + 0x50]
shl edi, 8
shr eax, 8
or edi, eax
push edi
push 0x10740000
push 0x280000
push 0x190025
push 0x32
mov esi, ebx
call fcn.00415a20
mov esi, dword [esp + 0x10]
mov byte [esp + 0x84], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00465b73
add esp, 0x78
ret 0x14