Function at 0x403ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582e50
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
call fcn.004655e9
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x403b17
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 4], esi
call fcn.0042f7f0
mov byte [ebp - 4], 1
call fcn.004655e9
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x403b50
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x110]
mov eax, dword [ecx - 0xc]
lea edi, [esi + 0x110]
test eax, eax
je 0x403dc6
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403b97
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xc0]
push ecx
lea edx, [ebp - 0x18]
push 0x5b7b5c
push edx
call fcn.00405330
add esp, 0xc
lea esi, [ebp - 0x20]
call fcn.00430570
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401fb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5b7a9c
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00404ad0
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.00404a10
push str..ini
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 6
call fcn.00404ad0
add esp, 0x24
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00401fb0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ca7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov edi, 0x2711
sub eax, edi
or eax, ecx
jge 0x403cc9
push edi
lea ecx, [ebp - 0x14]
call fcn.00401dd0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push 0x2710
push ebx
push 0x5b7a18
push edx
push str.DisplayCoronaStatus
call esi
cmp dword [ebx - 8], edi
jl 0x403e6c
mov dword [ebx - 0xc], edi
mov byte [ebx + 0x2711], 0
test eax, eax
jne 0x403d9c
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x403d21
push edi
lea ecx, [ebp - 0x14]
call fcn.00401dd0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push eax
push 0x2710
push ebx
push 0x5b7a18
push ecx
push str.DisplayOneTime
call esi
test eax, eax
je 0x403da3
mov edi, dword [ebp + 8]
cmp dword [edi + 0x160], 0
jne 0x403d5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc0]
mov dword [edi + 0x160], ecx
jmp 0x403d9c
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 0xc0]
xor eax, eax
lea ecx, [edi + 0x160]
lea ecx, [ecx]
cmp esi, dword [ecx]
je 0x403da3
inc eax
add ecx, 4
cmp eax, 0xa
jl 0x403d70
xor eax, eax
lea ecx, [edi + 0x160]
cmp dword [ecx], 0
je 0x403d95
inc eax
add ecx, 4
cmp eax, 0xa
jl 0x403d85
jmp 0x403da3
mov dword [edi + eax*4 + 0x160], esi
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403dc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403de6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 0x34], vtable.CCommFun.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00402040
int3