Function at 0x441670
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49540a
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x19c]
lea ecx, [esp + 0x54]
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 ecx, [esp + 0x70]
mov dword [esp + 0x194], 0
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 eax, [esp + 0x1c]
push eax
mov byte [esp + 0x198], 1
call fcn.00404e10
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x198], 2
call fcn.00431770
push 0x498844
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 3
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 + 0x58]
mov edi, 8
cmp dword [esp + 0x6c], edi
jae 0x441722
lea eax, [esp + 0x58]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x441745
push 0
push 0x4984d4
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x44179a
lea ecx, [esp + 0x54]
lea ebx, [esp + 0x38]
call fcn.00440640
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 4
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, ebx
mov byte [esp + 0x194], 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_]
push str.data_
lea ecx, [esp + 0x58]
call dword [0x497354]
push 0x498844
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x58]
call dword [0x497354]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x4417a8
lea eax, [esp + 0x58]
push eax
call esi
test eax, eax
jne 0x4417d1
mov ebp, dword [ebp + 0x1c]
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x198], 2
call fcn.00431850
lea eax, [esp + 0x1c]
push eax
jmp 0x441956
lea ecx, [esp + 0x54]
push ecx
lea ecx, [ebp + 0x44]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esp + 0x6c], edi
jb 0x4419b6
mov eax, dword [esp + 0x58]
mov esi, eax
test eax, eax
je 0x441829
mov eax, esi
lea edx, [eax + 2]
jmp 0x441800
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441800
sub eax, edx
sar eax, 1
je 0x441829
cmp dword [esp + 0xa0], 0
jne 0x441829
push esi
lea ecx, [esp + 0x90]
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 ecx, dword [esp + 0x90]
cmp dword [esp + 0xa4], edi
jae 0x441840
lea ecx, [esp + 0x90]
push str.ONECLICK
lea edx, [esp + 0x20]
call fcn.00431c90
add esp, 4
test eax, eax
je 0x44192b
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
test eax, eax
jle 0x44191f
xor edi, edi
mov bl, 5
push 1
cmp esi, eax
jb 0x44188e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x2c]
sub esp, 0x1c
lea eax, [edi + edx + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x1b4], bl
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4418d2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x48]
sub esp, 0x1c
lea eax, [edi + edx]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, ebp
mov byte [esp + 0x1d0], 3
call fcn.004419c0
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x38
cmp esi, eax
jl 0x441882
lea edi, [esp + 0x8c]
call fcn.00432240
lea edi, [esp + 0x8c]
call fcn.00432240
mov eax, ebp
call fcn.00444680
mov ebp, dword [ebp + 0x1c]
mov eax, edi
push eax
mov byte [esp + 0x198], 2
call fcn.00431850
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x198], 1
call fcn.0040a200
lea ecx, [esp + 0x70]
mov byte [esp + 0x194], 0
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 + 0x54]
mov dword [esp + 0x194], 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 eax, ebp
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x184
ret 4
lea esi, [esp + 0x58]
jmp 0x4417f3