Function at 0x4134e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a248
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49d22c]
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.0040ba20
mov ecx, eax
call fcn.004087d0
mov dword [ebp - 4], 0
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x413737
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x413741
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae esi, dword [ebp - 0x28]
call fcn.00404630
mov ecx, eax
test ecx, ecx
je 0x41374b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004040a0
test al, al
jne 0x41359d
push esi
lea ecx, [ebp - 0x48]
call fcn.00408380
mov eax, dword [str.bizhi]
mov byte [ebp - 4], 4
test eax, eax
je 0x413755
mov esi, dword [ebp - 0x48]
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4135d9
test dx, dx
je 0x4135d5
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4135d9
add ecx, 4
add eax, 4
test dx, dx
jne 0x4135b3
xor eax, eax
jmp 0x4135de
sbb eax, eax
or eax, 1
test eax, eax
je 0x41362e
lea eax, [ebp - 0x48]
push eax
push dword [0x49d174]
call fcn.00413470
add esp, 8
test al, al
jne 0x41362e
lea eax, [ebp - 0x48]
push eax
push dword [0x49d170]
call fcn.00413470
add esp, 8
lea ecx, [ebp - 0x4c]
push str.General
test al, al
je 0x413622
call fcn.00408380
push str.AutoStart
jmp 0x413640
call fcn.00408380
push str.AutoStart2
jmp 0x413640
push str.auto_run
lea ecx, [ebp - 0x4c]
call fcn.00408380
push 0x480810
lea ecx, [ebp - 0x44]
call fcn.00408380
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413666
mov ecx, dword [esi]
push esi
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.0040ba20
mov ecx, eax
call fcn.004084c0
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.00402f90
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4136c9
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 0x4136e2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x413718
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41370e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41375f
push edx
push ecx
call fcn.0043c675
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.0043c91d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
push 0x80004005
call fcn.00404080
call fcn.00454cb9
int3