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

Disassembly:
push 0xffffffffffffffff
push 0x427456
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fee0]
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 0x4113bf
push 0x20000
push 0xd
lea ecx, [esp + 0x24]
call fcn.0040fe80
push 0x4352a4
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.004171c0
mov esi, eax
mov ecx, dword [esi]
cmp ecx, ebx
je 0x411542
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x411542
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
je 0x411542
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__]
mov edi, edi
push 0x43158c
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 0x4114c7
lea ecx, [esp + 0x7c]
push ecx
push 0x42dc54
mov ecx, esi
mov dword [esp + 0x84], ebx
call fcn.00416580
test eax, eax
jne 0x41152f
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x7c], edx
jne 0x41152f
push str.subkey
mov ecx, esi
call fcn.00416560
test eax, eax
je 0x411564
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.00410d70
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 0x411576
push str.name
mov ecx, esi
call fcn.00416560
cmp eax, ebx
je 0x41152f
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.00410d70
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 0x411455
mov ecx, esi
call fcn.00415c80
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x411410
push 0x10000
push 0x65e
lea ecx, [esp + 0x40]
call fcn.0040fe80
push 0x4352a4
lea eax, [esp + 0x3c]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0x80]
push 0x43158c
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.00416560
test eax, eax
je 0x4115f5
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.00410d70
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 0x43158c
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 0x4115df