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

Disassembly:
push 0xffffffffffffffff
push 0x436596
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x4146bf
push 0x20000
push 0xd
lea ecx, [esp + 0x24]
call fcn.0041a030
push 0x448e60
lea eax, [esp + 0x20]
push eax
call sub.MSVCR80.dll__CxxThrowException
push str.APPLICATION
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00419440
mov esi, eax
mov ecx, dword [esi]
cmp ecx, ebx
je 0x414842
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x414842
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
je 0x414842
mov edi, dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCP80.dll_bool___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___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edi, edi
push 0x43affc
push edi
call dword [sym.imp.MSVCP80.dll_bool___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, 8
test al, al
je 0x4147c7
lea ecx, [esp + 0x7c]
push ecx
push 0x43e82c
mov ecx, esi
mov dword [esp + 0x84], ebx
call fcn.00418800
test eax, eax
jne 0x41482f
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x7c], edx
jne 0x41482f
push str.subkey
mov ecx, esi
call fcn.004187e0
test eax, eax
je 0x414864
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x50]
mov ebx, 2
push eax
mov dword [esp + 0x78], ebx
call fcn.00414130
add esp, 8
mov ecx, dword [esp + 0x80]
push eax
mov byte [esp + 0x74], 3
call dword [sym.imp.MSVCP80.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__]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], bl
call dword [sym.imp.MSVCP80.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 + 0x1c]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x414876
push str.name
mov ecx, esi
call fcn.004187e0
cmp eax, ebx
je 0x41482f
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x78], ebx
call fcn.00414130
push edi
push eax
mov byte [esp + 0x80], 1
call ebp
add esp, 0x10
lea ecx, [esp + 0x4c]
mov bl, al
mov byte [esp + 0x70], 0
call dword [sym.imp.MSVCP80.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 + 0x1c]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
jne 0x414755
mov ecx, esi
call fcn.00417f10
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x414710
push 0x10000
push 0x65e
lea ecx, [esp + 0x40]
call fcn.0041a030
push 0x448e60
lea eax, [esp + 0x3c]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0x80]
push 0x43affc
call dword [0x43a6b0]
push str.folder
mov ecx, esi
call fcn.004187e0
test eax, eax
je 0x4148f5
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
mov ebx, 4
push edx
mov dword [esp + 0x78], ebx
call fcn.00414130
add esp, 8
mov ecx, dword [esp + 0x84]
push eax
mov byte [esp + 0x74], 5
call dword [sym.imp.MSVCP80.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__]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], bl
call dword [sym.imp.MSVCP80.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 + 0x1c]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10
mov ecx, dword [esp + 0x84]
push 0x43affc
call dword [0x43a6b0]
jmp 0x4148df