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

Disassembly:
push 0xffffffffffffffff
push 0x426ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ed50]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x41175d
push 0x20000
push 0xd
lea ecx, [esp + 0x24]
call fcn.004102b0
push 0x434cd0
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.00416e70
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4118dd
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x4118dd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
test esi, esi
je 0x4118dd
mov edi, dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esp, [esp]
push 0x431054
push edi
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x411860
lea ecx, [esp + 0x7c]
push ecx
push 0x42dd08
mov ecx, esi
call fcn.004161d0
test eax, eax
jne 0x4118cc
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x7c], edx
jne 0x4118cc
push str.subkey
mov ecx, esi
call fcn.004161b0
test eax, eax
je 0x4118ff
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.00411110
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_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::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 0x411911
push str.name
mov ecx, esi
call fcn.004161b0
test eax, eax
je 0x4118cc
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], 0
call fcn.00411110
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_char__struct_std::char_traits_char___class_std::allocator_char__::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 0x4117ee
mov ecx, esi
call fcn.00415a30
mov esi, eax
test esi, esi
jne 0x4117b0
push 0x10000
push 0x65e
lea ecx, [esp + 0x40]
call fcn.004102b0
push 0x434cd0
lea eax, [esp + 0x3c]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0x80]
push 0x431054
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.folder
mov ecx, esi
call fcn.004161b0
test eax, eax
je 0x411990
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.00411110
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_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::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 0x431054
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x41197a