Function at 0x446b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469333
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x48700c]
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 esi, edx
mov ebx, ecx
mov dword [ebp - 0x7c], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
push 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
call fcn.00403490
lea edx, [ebp - 0x88]
mov ecx, ebx
call fcn.00447580
add esp, 0x1c
test eax, eax
jne 0x446bd2
xor esi, esi
jmp 0x446ebc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x10
push str.BonreeUpdKey2014
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403560
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0044d6f0
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x446c5a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x446c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x446c50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
test esi, esi
je 0x446c65
xor esi, esi
jmp 0x446e30
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call fcn.00407990
mov dword [ebp - 0x78], eax
push edi
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00446ef0
mov edi, dword [ebp - 0x78]
add esp, 4
test eax, eax
jne 0x446c9f
xor esi, esi
jmp 0x446dfc
mov esi, dword [edi]
cmp esi, edi
je 0x446df7
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x58]
push 0x475264
call fcn.00433c50
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00433d40
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x446d0d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x446d03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446c4a
push edx
push ecx
call fcn.00461242
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call ebx
test eax, eax
je 0x446e5c
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00447390
cmp dword [esi + 0x3c], 0x10
lea edi, [esi + 0x28]
jb 0x446d4c
mov edi, dword [esi + 0x28]
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x446d56
mov edx, dword [eax]
push dword [esi + 0x38]
push edi
push dword [eax + 0x10]
push edx
call fcn.00402b80
mov edx, dword [ebp - 0x5c]
add esp, 0x10
mov edi, eax
cmp edx, 0x10
jb 0x446d9c
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x446d92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446c4a
push edx
push ecx
call fcn.00461242
add esp, 8
test edi, edi
jne 0x446e5c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004036d0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x446dd6
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x446dd2
cmp esi, dword [eax + 8]
jne 0x446dd2
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x446dc2
mov esi, eax
jmp 0x446dec
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x446dec
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x446de0
mov edi, dword [ebp - 0x78]
cmp esi, edi
jne 0x446cb0
mov esi, 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
push dword [edi + 4]
call fcn.004289e0
mov eax, dword [ebp - 0x78]
push 0x40
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x78]
mov dword [eax], edi
mov eax, dword [ebp - 0x78]
mov dword [eax + 8], edi
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0
call fcn.00461242
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x446eaa
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x446ea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x446ea0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x446e96
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x446e8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x446e8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov edi, dword [ebp - 0x78]
xor esi, esi
jmp 0x446dfc
push edx
push ecx
call fcn.00461242
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x88]
call fcn.004110c0
mov eax, esi
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.00461231
mov esp, ebp
pop ebp
ret