Function at 0x44fc00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d74aa
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x50e018]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x84], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.004059c0
lea edx, [ebp - 0xb0]
push edx
push edi
call fcn.00450700
add esp, 0x28
cmp eax, ebx
jne 0x44fcf1
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x44fca7
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
je 0x44fcd3
mov ecx, dword [ebp - 0x84]
mov edi, dword [ebp - 0xac]
push ecx
call fcn.00404110
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 8
xor eax, eax
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.004a665a
mov esp, ebp
pop ebp
ret
mov eax, 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 1
push 0x10
push str.BonreeUpdKey2014
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00405360
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004557f0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov esi, eax
jb 0x44fd4a
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, ebx
je 0x44fd83
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x44fd5e
mov dword [eax], 0xfffffffa
cmp dword [ebp - 0x18], 0x10
jb 0x44fd71
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jmp 0x44fca7
push 0x48
mov dword [ebp - 0x98], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x4500f9
mov dword [ebp - 0x9c], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x9c]
mov byte [eax + 0x44], 1
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + 0x45], 1
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x90]
push edx
lea edx, [ebp - 0x2c]
call fcn.00450130
add esp, 4
test eax, eax
jne 0x44fe58
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x44fdfa
mov dword [eax], 0xfffffff9
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00423860
mov ecx, dword [ebp - 0x9c]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x44fe3b
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
lea esi, [ebp - 0xb0]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402aa0
jmp 0x44fcd3
mov eax, dword [ebp - 0x9c]
mov esi, dword [eax]
mov dword [ebp - 0x90], esi
cmp esi, eax
jne 0x44fef6
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00423860
mov eax, dword [ebp - 0x9c]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push eax
call esi
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x44fea9
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
add esp, 4
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
je 0x44fede
mov edx, dword [ebp - 0x84]
mov edi, dword [ebp - 0xac]
push edx
call fcn.00404110
mov eax, dword [ebp - 0xb0]
push eax
call esi
add esp, 8
mov eax, 1
jmp 0x44fcd5
mov edi, dword [ebp - 0xb4]
push 0x4eb720
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00449940
add esp, 0xc
mov ecx, eax
lea edi, [esi + 0xc]
mov eax, edi
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0041b6a0
mov esi, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], esi
jb 0x44ff36
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], esi
jae 0x44ff4e
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44ffea
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x80]
call fcn.00450640
add esp, 4
lea edx, [edi + 0x1c]
mov byte [ebp - 4], 9
mov ecx, dword [edx + 0x10]
cmp dword [edx + 0x14], esi
jb 0x44ff7d
mov edx, dword [edx]
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
push ebx
mov ecx, eax
call fcn.00404440
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
test eax, eax
setne byte [ebp - 0x85]
cmp dword [ebp - 0x6c], esi
jb 0x44ffa8
mov edx, dword [ebp - 0x80]
push edx
call edi
add esp, 4
cmp byte [ebp - 0x85], bl
jne 0x45008e
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], esi
jb 0x44ffc6
mov eax, dword [ebp - 0x48]
push eax
call edi
add esp, 4
lea ecx, [ebp - 0x90]
call fcn.00424220
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x9c]
cmp esi, eax
jne 0x44fef0
jmp 0x44fe6e
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x44fffa
mov dword [eax], 0xfffffff8
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x34], esi
jb 0x45000e
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00423860
mov eax, dword [ebp - 0x9c]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x450055
mov ecx, dword [ebp - 0x2c]
push ecx
call edi
add esp, 4
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
je 0x44fcd3
mov edx, dword [ebp - 0x84]
mov edi, dword [ebp - 0xac]
push edx
call fcn.00404110
mov eax, dword [ebp - 0xb0]
push eax
jmp 0x44fcca
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
je 0x45009e
mov dword [eax], 0xfffffff7
cmp dword [ebp - 0x34], esi
jb 0x4500ac
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00423860
mov eax, dword [ebp - 0x9c]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x44fe3b
mov ecx, dword [ebp - 0x2c]
push ecx
call edi
jmp 0x44fe38
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x84], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x4f7eac
lea edx, [ebp - 0xc0]
push edx
mov dword [ebp - 0xc0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3