Function at 0x42e170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c23c6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e716c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049ca00
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.00418ca0
mov ecx, eax
call fcn.00415b10
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
call fcn.00418ca0
mov ecx, eax
call fcn.00415af0
lea ecx, [ebp - 0x219]
mov byte [ebp - 4], 1
call fcn.0042cf90
mov ecx, eax
test ecx, ecx
je 0x42e4e9
mov eax, dword [ebp - 0x224]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e226
test dx, dx
je 0x42e222
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e226
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e200
xor eax, eax
jmp 0x42e22b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42e25f
push str.config.set
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
push 0x4c91c4
push str.auto_run
jmp 0x42e479
lea ecx, [ebp - 0x219]
call fcn.0042d070
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
jne 0x42e22f
lea ecx, [ebp - 0x219]
call fcn.0042b550
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
jne 0x42e22f
lea ecx, [ebp - 0x219]
call fcn.0042ca50
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
jne 0x42e22f
lea ecx, [ebp - 0x219]
call fcn.0042c510
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
jne 0x42e22f
lea ecx, [ebp - 0x219]
call fcn.0042d310
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e30c
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042d230
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e335
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042ccf0
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e35e
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042bc50
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e387
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042b630
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e3b0
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042ba90
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e3d9
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042d5b0
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e402
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042c6d0
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
je 0x42e42b
push str.config.ini
jmp 0x42e234
lea ecx, [ebp - 0x219]
call fcn.0042b710
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004132e0
add esp, 8
test al, al
lea eax, [ebp - 0x218]
push str.config.ini
push dword [ebp - 0x220]
push eax
jne 0x42e241
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
push str.AutoStart2
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x224]
mov esi, eax
neg esi
mov byte [ebp - 4], 0
sbb esi, esi
or edi, 0xffffffff
inc esi
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e4aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42e4cc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047a6dd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ca10
int3