Function at 0x4192f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489780
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b12c8]
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
lea eax, [ebp - 0x28]
push eax
call fcn.00410af0
mov ecx, eax
call fcn.0040d830
mov dword [ebp - 4], 0
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x419527
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
call fcn.00408700
mov ecx, eax
test ecx, ecx
je 0x419531
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004033b0
mov eax, dword [str.bizhi]
mov byte [ebp - 4], 3
test eax, eax
je 0x41953b
mov ecx, dword [ebp - 0x48]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4193bc
test dx, dx
je 0x4193b8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4193bc
add ecx, 4
add eax, 4
test dx, dx
jne 0x419396
xor eax, eax
jmp 0x4193c1
sbb eax, eax
or eax, 1
test eax, eax
je 0x419417
lea eax, [ebp - 0x48]
push eax
push dword [0x4b01b4]
call fcn.00418790
add esp, 8
test al, al
jne 0x419417
lea eax, [ebp - 0x48]
push eax
push dword [0x4b01b0]
call fcn.00418790
add esp, 8
lea ecx, [ebp - 0x4c]
push 7
push str.General
test al, al
je 0x419409
call fcn.00409e30
push 9
push str.AutoStart
jmp 0x41942d
call fcn.00409e30
push 0xa
push str.AutoStart2
jmp 0x41942d
push 8
push str.auto_run
lea ecx, [ebp - 0x4c]
call fcn.00409e30
push 4
push 0x491034
lea ecx, [ebp - 0x44]
call fcn.00409e30
mov edx, dword [ebp - 0x48]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419456
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00410af0
mov ecx, eax
call fcn.0040d520
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x4c]
push eax
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
lea ecx, [ebp - 0x40]
sbb eax, eax
inc eax
mov dword [ebp - 0x44], eax
call fcn.00404460
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4194b9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4194d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x419508
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4194fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419545
push edx
push ecx
call fcn.004453c8
add esp, 8
mov eax, dword [ebp - 0x44]
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.00445670
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
push 0x80004005
call fcn.00407d70
call fcn.00463879
int3