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

Disassembly:
push 0xffffffffffffffff
push 0x10094005
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
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 0x10011afb
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 0x100118a6
mov eax, dword [eax + 4]
jmp 0x100118a9
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.10010aa0
test ebp, ebp
mov edi, eax
mov dword [esp + 0x4c], edi
jne 0x100118d8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebp + 4]
mov dword [esp + 0x48], ebp
je 0x100118fd
add edi, 0xc
lea edx, [esp + 0x58]
push edi
push edx
call dword [0x1009f108]
add esp, 8
test al, al
jne 0x100118fd
lea eax, [esp + 0x48]
jmp 0x1001190c
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 0x1001194a
cmp edi, ebp
je 0x10011950
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x54]
jne 0x10011af6
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 0x100119b9
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.10012ce0
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 0x10011a04
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.10012d00
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 0x10011a34
mov eax, dword [eax + 4]
jmp 0x10011a37
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.10011310
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 0x10011ae2
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 0x10011844
or eax, 0xffffffff
jmp 0x10011afd
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