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

Disassembly:
push 0xffffffffffffffff
push 0x10093705
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x18], esi
cmp esi, dword [eax + 4]
je 0x10011a6b
mov esi, dword [esi + 8]
xor eax, eax
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push 1
lea eax, [esp + 0xc0]
push eax
mov ecx, esi
call fcn.10004c70
mov ecx, eax
call fcn.100055d0
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x11c], 0
jb 0x10011816
mov eax, dword [eax + 4]
jmp 0x10011819
add eax, 4
push eax
lea ecx, [esp + 0x5c]
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 + 0x58]
push ecx
mov ecx, ebp
mov byte [esp + 0x120], 1
call fcn.10010a10
test ebp, ebp
mov edi, eax
mov dword [esp + 0x4c], edi
jne 0x10011848
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebp + 4]
mov dword [esp + 0x48], ebp
je 0x1001186d
add edi, 0xc
lea edx, [esp + 0x58]
push edi
push edx
call dword [0x1009e108]
add esp, 8
test al, al
jne 0x1001186d
lea eax, [esp + 0x48]
jmp 0x1001187c
mov eax, dword [ebp + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebp
lea eax, [esp + 0x40]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x58]
mov byte [esp + 0x11c], 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 + 0xb8]
mov dword [esp + 0x11c], 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 edi, edi
mov ecx, dword [ebp + 4]
mov dword [esp + 0x54], ecx
je 0x100118ba
cmp edi, ebp
je 0x100118c0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x54]
jne 0x10011a66
push 1
mov ecx, esi
call fcn.10004c70
mov ecx, eax
call fcn.10006440
push 1
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.10004c70
mov ecx, eax
call fcn.100052e0
cmp dword [eax], 0
je 0x10011929
push 1
mov ecx, esi
call fcn.10004c70
mov ecx, eax
call fcn.100052e0
push eax
lea edx, [esp + 0x20]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Copy
add esp, 8
mov ecx, esi
call fcn.10012c50
add eax, 0x10
push eax
lea eax, [esp + 0x28]
push eax
call sub.XecureAcPKCS8.dll_XFA_PKCS8_EncodePrivKeyInfo
add esp, 8
push 2
mov ecx, esi
call fcn.10004c70
mov ecx, eax
call fcn.100052e0
cmp dword [eax], 0
je 0x10011974
push 2
mov ecx, esi
call fcn.10004c70
mov ecx, eax
call fcn.100052e0
push eax
lea ecx, [esp + 0x30]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Copy
add esp, 8
mov ecx, esi
call fcn.10012c70
add eax, 0x10
push eax
lea edx, [esp + 0x38]
push edx
call sub.XecureAcPKCS8.dll_XFA_PKCS8_EncodePrivKeyInfo
add esp, 8
push 1
push 1
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
call fcn.10004c70
mov ecx, eax
call fcn.100055d0
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x11c], 2
jb 0x100119a4
mov eax, dword [eax + 4]
jmp 0x100119a7
add eax, 4
push eax
lea ecx, [esp + 0x78]
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 + 0x74]
push ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x120], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, 9
lea esi, [esp + 0x1c]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
mov byte [esp + 0x124], 4
call fcn.10011280
lea ecx, [esp + 0xd4]
mov byte [esp + 0x11c], 3
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 + 0x74]
mov byte [esp + 0x11c], 2
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 + 0x9c]
mov dword [esp + 0x11c], 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 esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x128]
cmp esi, dword [ecx + 4]
jne 0x10011a52
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x18], edx
mov esi, edx
jmp 0x100117b4
or eax, 0xffffffff
jmp 0x10011a6d
xor eax, eax
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8