Function at 0x410b80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424849
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.004136a0
mov eax, dword [0x431078]
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
mov edi, ecx
mov dword [ebp - 0x1034], edi
lea eax, [ebp - 0x101c]
push eax
call fcn.00410a40
mov eax, dword [ebp - 0x101c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x410be5
mov byte [ebp - 0x101d], al
jmp 0x41127a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push 0x426520
push str.mouse
call esi
push dword [ebp - 0x101c]
mov dword [edi], eax
push 0
push str.ctrl
push str.mouse
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push 0x426540
setne al
push str.mouse
mov byte [edi + 4], al
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push str.shift
setne al
push str.mouse
mov byte [edi + 5], al
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push 0x426520
setne al
push str.keyboard
mov byte [edi + 6], al
call esi
push dword [ebp - 0x101c]
mov dword [edi + 8], eax
push 0
push str.ctrl
push str.keyboard
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push 0x426540
setne al
push str.keyboard
mov byte [edi + 0xc], al
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push str.shift
setne al
push str.keyboard
mov byte [edi + 0xd], al
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push str.ui_language
setne al
push str.config
mov byte [edi + 0xe], al
call esi
push dword [ebp - 0x101c]
mov word [edi + 0x10], ax
push 0
push str.check_for_updates
push str.config
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push str.auto_copy_selection
setne al
push str.config
mov byte [edi + 0x12], al
call esi
test eax, eax
push dword [ebp - 0x101c]
setne al
push 0
push str.hide_tray_icon
push str.config
mov byte [edi + 0x13], al
call esi
push dword [ebp - 0x101c]
test eax, eax
push 0
push str.unicode_spaces_to_ascii
setne al
push str.config
mov byte [edi + 0x14], al
call esi
test eax, eax
mov esi, 1
mov dword [ebp - 0x1028], esi
setne al
mov byte [edi + 0x15], al
mov byte [ebp - 4], 1
call fcn.00403eb0
mov ecx, eax
test ecx, ecx
je 0x4112b1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1024], eax
push esi
lea eax, [ebp - 0x1024]
mov byte [ebp - 4], 2
push str.web_button__d
push eax
call fcn.00403ce0
mov esi, dword [ebp - 0x1024]
lea eax, [ebp - 0x814]
add esp, 0xc
push dword [ebp - 0x101c]
push 0x401
push eax
push 0x425848
push str.command
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x814], 0
je 0x4110ab
mov byte [ebp - 4], 3
call fcn.00403eb0
test eax, eax
je 0x4112b1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1050], eax
mov byte [ebp - 4], 4
call fcn.00403eb0
test eax, eax
je 0x4112b1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 5
call fcn.00403eb0
test eax, eax
je 0x4112b1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1048], eax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410e30
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1050]
call fcn.00405390
push dword [ebp - 0x101c]
lea eax, [ebp - 0x814]
push 0x401
push eax
push 0x425848
push str.name
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410e80
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x104c]
call fcn.00405390
push dword [ebp - 0x101c]
lea eax, [ebp - 0x814]
push 0x401
push eax
push 0x425848
push str.icon
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x814], 0
je 0x410f89
push ecx
mov edi, esp
mov dword [ebp - 0x1030], edi
mov dword [ebp - 0x1030], edi
call fcn.00403eb0
test eax, eax
je 0x4112b1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x410f19
movzx eax, ax
mov ecx, edi
push eax
call fcn.00403fe0
jmp 0x410f40
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410f22
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00405390
mov edi, dword [ebp - 0x1034]
lea eax, [ebp - 0x102c]
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004112c0
push eax
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 8
call fcn.0040b7f0
mov edx, dword [ebp - 0x102c]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410f89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x101c]
lea eax, [ebp - 0x814]
push 0x401
push eax
push 0x425848
push 0x426520
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp - 0x101c]
mov ax, word [ebp - 0x814]
push 0
push str.width
push esi
mov word [ebp - 0x1044], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x101c]
mov dword [ebp - 0x1040], eax
push 0
push str.height
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x103c], eax
cmp ecx, dword [edi + 0x20]
je 0x411008
lea eax, [ebp - 0x1050]
push eax
call fcn.00410940
add dword [edi + 0x1c], 0x18
jmp 0x411018
lea edx, [ebp - 0x1050]
push edx
push ecx
lea ecx, [edi + 0x18]
call fcn.004103e0
mov edx, dword [ebp - 0x1048]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411035
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x104c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411052
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1050]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41106f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411086
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1028]
inc esi
mov dword [ebp - 0x1028], esi
mov byte [ebp - 4], 1
call fcn.00403eb0
mov ecx, eax
test ecx, ecx
je 0x4112b1
jmp 0x410d61
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4110c2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
mov dword [ebp - 0x102c], esi
mov byte [ebp - 4], 9
call fcn.00403eb0
mov ecx, eax
test ecx, ecx
je 0x4112b1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1028], eax
push esi
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 0xa
push 0x425e14
push eax
call fcn.00403ce0
mov edi, dword [ebp - 0x1028]
lea eax, [ebp - 0x1018]
add esp, 0xc
push dword [ebp - 0x101c]
push 0x401
push eax
push 0x425848
push edi
push str.exclude
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1018], 0
je 0x411256
mov esi, dword [ebp - 0x1034]
lea eax, [esi + 0x24]
mov dword [ebp - 0x1038], eax
call fcn.00403eb0
test eax, eax
je 0x4112b1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x1018]
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x41118c
movzx eax, ax
lea ecx, [ebp - 0x1024]
push eax
call fcn.00403fe0
jmp 0x4111b2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411190
sub eax, edx
lea ecx, [ebp - 0x1024]
sar eax, 1
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.00405390
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1030], eax
cmp eax, dword [esi + 0x2c]
je 0x4111ed
mov esi, dword [ebp - 0x1024]
lea eax, [esi - 0x10]
push eax
call fcn.0040bfc0
mov ecx, dword [ebp - 0x1030]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
mov eax, dword [ebp - 0x1038]
add dword [eax + 4], 4
jmp 0x411206
lea ecx, [ebp - 0x1024]
push ecx
mov ecx, dword [ebp - 0x1038]
push eax
call fcn.00410650
mov esi, dword [ebp - 0x1024]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41121d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x411234
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x102c]
inc esi
mov dword [ebp - 0x102c], esi
mov byte [ebp - 4], 9
call fcn.00403eb0
mov ecx, eax
test ecx, ecx
jne 0x4110e0
jmp 0x4112b1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41126d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x101c]
mov byte [ebp - 0x101d], 1
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41128f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x101d]
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.0041345d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f20
int3