Function at 0x41b410
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538460
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x593e04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b459
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.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b486
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.0041eb0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b4b3
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.0042f8d4
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x41b4da
xor eax, eax
jmp 0x41b4e9
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41b4e0
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 0x41b517
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004012f0
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.0051dd0f
add esp, 8
test eax, eax
js 0x41b7b9
cmp eax, dword [esi - 8]
jg 0x41b7b9
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.0051e8ce
add esp, 8
test eax, eax
je 0x41b59d
sub eax, esi
cmp eax, 0xffffffff
je 0x41b59d
inc eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402200
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004023f0
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 0x41b59d
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.00402330
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.0042685c
mov ebx, eax
test ebx, ebx
je 0x41b5c3
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ba46
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 0x41b5f9
push 0x100
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov edx, dword [ebp - 0x10]
test ebx, ebx
jne 0x41b601
xor eax, eax
jmp 0x41b604
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.0051dd0f
add esp, 8
test eax, eax
js 0x41b7b9
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b7b9
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x10]
push 0x548de4
push edx
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
test al, al
je 0x41b660
mov eax, 1
jmp 0x41b6a7
mov eax, dword [ebp - 0x10]
push str.Button
push eax
call fcn.0051dbdb
add esp, 8
test eax, eax
sete al
test al, al
je 0x41ba46
mov ecx, dword [ebx + 0x20]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffff
test al, 2
je 0x41b69a
mov eax, 2
jmp 0x41b6a7
test al, 9
je 0x41ba0a
mov eax, 3
dec eax
je 0x41b89a
dec eax
je 0x41b7c3
dec eax
je 0x41b6d4
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 0x41ba5d
cmp byte [ebp + 0xc], 0
je 0x41b71f
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, 0x548204
jne 0x41b6fb
mov eax, 0x547db0
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 0x41b94a
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 0x41b746
push 0x100
lea ecx, [ebp - 0x10]
call fcn.004012f0
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.0051dd0f
add esp, 8
test eax, eax
js 0x41b7b9
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b7b9
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x10]
push 0x548204
push edx
mov byte [eax + ecx], 0
call fcn.004042d0
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 0x41b94a
push 0x80070057
call fcn.00401000
cmp byte [ebp + 0xc], 0
je 0x41b7f8
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, 0x548204
jne 0x41b7ea
mov eax, 0x547db0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401640
jmp 0x41b8be
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 0x41b81f
push 0x100
lea ecx, [ebp - 0x10]
call fcn.004012f0
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.0051dd0f
add esp, 8
test eax, eax
js 0x41b7b9
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b7b9
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], 0
lea eax, [ebp - 0x10]
push 0x548204
push eax
call fcn.004042d0
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 0x41b94a
cmp byte [ebp + 0xc], 0
je 0x41b8d6
lea eax, [ebp - 0x10]
push eax
push esi
mov ecx, edi
call fcn.00425996
push str.newline
push 0x546ee0
lea ecx, [ebp - 0x10]
call fcn.00404770
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 0x41b94a
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.0051dd0f
add esp, 8
test eax, eax
js 0x41b7b9
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41b7b9
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
push 0x546ee0
mov byte [eax + ecx], 0
push str.newline
lea ecx, [ebp - 0x10]
call fcn.00404770
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.00426906
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 0x41b96a
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 0x41b98a
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 0x41b9ad
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 0x41b9d0
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 0x41b9f6
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.00401270
lea ecx, [ebp - 0x18]
call fcn.00401270
lea ecx, [ebp - 0x10]
call fcn.00401270
lea ecx, [ebp + 0x14]
call fcn.00401270
lea ecx, [ebp + 0x18]
call fcn.00401270
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 0x41ba69
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 0x41ba8c
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 0x41baaf
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 0x41bad2
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 0x41baf8
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