Function at 0x408260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41025d
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x416158]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x416158]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov eax, dword [str.SoftwareElias_Fotinis]
mov ebx, ecx
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x5c
push eax
lea ecx, [esp + 0x30]
xor ebp, ebp
push ecx
mov dword [esp + 0x164], ebp
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_]
mov edx, dword [section..data]
push edx
push eax
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0x170], 1
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0x18
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x158], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x20], esp
mov esi, esp
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
lea ecx, [esp + 0x48]
push 0x80000001
push ecx
mov dword [esi], eax
call fcn.0040eff0
mov eax, dword [eax]
add esp, 0xc
mov dword [esp + 0x18], eax
mov byte [esp + 0x158], 5
cmp eax, ebp
jne 0x408362
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x408752
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [esp + 0x14]
push edx
push ecx
mov ecx, dword [str.PinColor]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x160], 6
mov dword [esp + 0x24], esp
call fcn.0040f070
test al, al
je 0x4083e0
mov eax, dword [esp + 0x14]
and eax, 0xffffff
mov dword [ebx], eax
jbe 0x4083e0
cmp eax, 7
jae 0x4083e0
mov dword [esp + 0x28], 0xff
mov dword [esp + 0x2c], 0xffff
mov dword [esp + 0x30], 0xff00
mov dword [esp + 0x34], 0xffff00
mov dword [esp + 0x38], 0xff0000
mov dword [esp + 0x3c], 0xff00ff
mov edx, dword [esp + eax*4 + 0x24]
mov dword [ebx], edx
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [str.PollRate]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esp
call fcn.0040f070
test al, al
je 0x408423
mov eax, dword [esp + 0x14]
cmp dword [ebx + 8], eax
jg 0x408423
cmp eax, dword [ebx + 0xc]
jg 0x408423
mov ecx, dword [ebx + 8]
cmp eax, ecx
mov dword [ebx + 4], eax
jl 0x408420
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
jle 0x408423
mov dword [ebx + 4], ecx
lea edx, [esp + 0x14]
push edx
push ecx
mov ecx, dword [str.TrayDblClk]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esp
call fcn.0040f070
test al, al
je 0x40844e
cmp dword [esp + 0x14], ebp
setne dl
mov byte [ebx + 0x14], dl
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [str.HotKeysOn]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esp
call fcn.0040f070
test al, al
je 0x408479
cmp dword [esp + 0x14], ebp
setne dl
mov byte [ebx + 0x15], dl
mov eax, dword [str.HotKeyNewPin]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebx + 0x18]
call fcn.00407850
mov edx, dword [str.HotKeyTogglePin]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x24]
call fcn.00407850
push ecx
mov ecx, dword [str.AutoPinRules]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esp
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0040eff0
mov eax, dword [eax]
add esp, 0xc
mov dword [esp + 0x20], eax
mov byte [esp + 0x158], 7
cmp eax, ebp
je 0x40867a
mov edx, dword [str.Enabled]
lea ecx, [esp + 0x14]
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esp
mov dword [eax], edx
call fcn.0040f070
test al, al
je 0x408502
cmp dword [esp + 0x14], ebp
setne al
mov byte [ebx + 0x30], al
mov edx, dword [0x416130]
lea ecx, [esp + 0x14]
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esp
mov dword [eax], edx
call fcn.0040f070
test al, al
je 0x408545
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0x50], eax
jg 0x408545
cmp eax, dword [ebx + 0x54]
jg 0x408545
mov ecx, dword [ebx + 0x50]
cmp eax, ecx
mov dword [ebx + 0x4c], eax
jl 0x408542
mov ecx, dword [ebx + 0x54]
cmp eax, ecx
jle 0x408545
mov dword [ebx + 0x4c], ecx
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [str.Count]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esp
call fcn.0040f070
test al, al
je 0x40867a
cmp dword [esp + 0x14], ebp
jle 0x40867a
jmp 0x408580
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov esi, eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x158], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov edi, eax
push pe_nt_image_headers32
push 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 9
call section..text
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15c], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 1
push esi
push edi
push eax
lea ecx, [esp + 0x104]
mov byte [esp + 0x168], 0xb
call fcn.00403910
lea ecx, [esp + 0x68]
mov byte [esp + 0x158], 0xd
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x158], 0xf
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x158], 0x10
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xfc]
call fcn.004078d0
test al, al
je 0x40865b
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [ebx + 0x34]
call fcn.00406640
lea ecx, [esp + 0xf4]
mov byte [esp + 0x158], 7
call fcn.004089d0
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x408580
lea edx, [esp + 0xbc]
push edx
push ecx
mov ecx, dword [str.LocalizedUI]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esp
call fcn.0040f430
test al, al
je 0x4086af
lea edx, [esp + 0xbc]
push edx
lea ecx, [ebx + 0x5c]
call dword [0x411160]
lea eax, [esp + 0xbc]
push eax
push ecx
mov ecx, dword [str.LocalizedHelp]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esp
call fcn.0040f430
test al, al
je 0x4086e4
lea edx, [esp + 0xbc]
push edx
lea ecx, [ebx + 0x78]
call dword [0x411160]
cmp dword [ebx + 0x8c], 0
jne 0x4086fb
push 0x411a84
lea ecx, [ebx + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x408715
push eax
call esi
push eax
call edi
lea ecx, [esp + 0xbc]
mov byte [esp + 0x158], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x408738
push eax
call esi
push eax
call edi
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0040ce74
add esp, 0x148
ret