Function at 0x41b590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538490
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x592dc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.0041ec06
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b5d9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
call fcn.0041ec06
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b606
push 0x80004005
call fcn.00401000
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
call fcn.0041ec06
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b633
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov bl, 4
mov byte [ebp - 4], bl
call fcn.0042f8b3
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x41b65a
xor eax, eax
jmp 0x41b669
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41b660
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004014f0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41b697
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004012d0
mov esi, dword [ebp - 0x14]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0051de2f
add esp, 8
test eax, eax
js 0x41b939
cmp eax, dword [esi - 8]
jg 0x41b939
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.0051e9ee
add esp, 8
test eax, eax
je 0x41b71d
sub eax, esi
cmp eax, 0xffffffff
je 0x41b71d
inc eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401fa0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00402190
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b71d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xb
push str.Setting.ini
lea ecx, [ebp - 0x14]
call fcn.004020d0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00426911
mov ebx, eax
test ebx, ebx
je 0x41b743
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bbc6
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x100
or eax, ecx
jge 0x41b779
push 0x100
lea ecx, [ebp - 0x10]
call fcn.004012d0
mov edx, dword [ebp - 0x10]
test ebx, ebx
jne 0x41b781
xor eax, eax
jmp 0x41b784
mov eax, dword [ebx + 0x20]
push 0x100
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051de2f
add esp, 8
test eax, eax
js 0x41b939
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b939
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548d0c
push edx
call fcn.0051dcfb
add esp, 8
test eax, eax
sete al
test al, al
je 0x41b7e0
mov eax, 1
jmp 0x41b827
mov eax, dword [ebp - 0x10]
push str.Button
push eax
call fcn.0051dcfb
add esp, 8
test eax, eax
sete al
test al, al
je 0x41bbc6
mov ecx, dword [ebx + 0x20]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffff
test al, 2
je 0x41b81a
mov eax, 2
jmp 0x41b827
test al, 9
je 0x41bb8a
mov eax, 3
dec eax
je 0x41ba1a
dec eax
je 0x41b943
dec eax
je 0x41b854
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41bbdd
cmp byte [ebp + 0xc], 0
je 0x41b89f
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov eax, 0x548370
jne 0x41b87b
mov eax, 0x547ed8
push eax
lea ecx, [ebp - 0x10]
call fcn.00401640
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 0x18]
push esi
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x41baca
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x100
or eax, ecx
jge 0x41b8c6
push 0x100
lea ecx, [ebp - 0x10]
call fcn.004012d0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
push esi
push 0x100
push edx
mov edx, dword [ebp + 0x14]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051de2f
add esp, 8
test eax, eax
js 0x41b939
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b939
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x10]
push 0x548370
push edx
mov byte [eax + ecx], 0
call fcn.004040d0
mov edx, dword [ebx + 0x20]
add esp, 8
xor ecx, ecx
test al, al
setne cl
push 0
mov eax, ecx
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41baca
push 0x80070057
call fcn.00401000
cmp byte [ebp + 0xc], 0
je 0x41b978
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov eax, 0x548370
jne 0x41b96a
mov eax, 0x547ed8
push eax
lea ecx, [ebp - 0x10]
call fcn.00401640
jmp 0x41ba3e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x100
or eax, ecx
jge 0x41b99f
push 0x100
lea ecx, [ebp - 0x10]
call fcn.004012d0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x18]
push esi
push 0x100
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051de2f
add esp, 8
test eax, eax
js 0x41b939
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b939
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], 0
lea eax, [ebp - 0x10]
push 0x548370
push eax
call fcn.004040d0
mov edx, dword [ebx + 0x20]
add esp, 8
xor ecx, ecx
test al, al
setne cl
push 0
mov eax, ecx
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41baca
cmp byte [ebp + 0xc], 0
je 0x41ba56
lea eax, [ebp - 0x10]
push eax
push esi
mov ecx, edi
call fcn.00425a50
push str.newline
push 0x546ef0
lea ecx, [ebp - 0x10]
call fcn.00404570
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x18]
push esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x41baca
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
push esi
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.004013f0
push eax
push edi
mov edi, dword [ebp - 0x18]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051de2f
add esp, 8
test eax, eax
js 0x41b939
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b939
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
push 0x546ef0
mov byte [eax + ecx], 0
push str.newline
lea ecx, [ebp - 0x10]
call fcn.00404570
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.004269bb
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41baea
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41bb0a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
call fcn.004013a0
lea ecx, [ebp - 0x18]
call fcn.004013a0
lea ecx, [ebp - 0x10]
call fcn.004013a0
lea ecx, [ebp + 0x14]
call fcn.004013a0
lea ecx, [ebp + 0x18]
call fcn.004013a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bbe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret