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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0x64], eax
xor eax, eax
push 0x44
push eax
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x28], 0
mov word [esp + 0x29], 0
mov dword [esp + 0x64], 0x400
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
je case.0x10082779.6
push eax
push 5
lea eax, [esp + 0x24]
push str._c_c
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
mov eax, dword [ebp + 0x14]
add eax, 0xffffffff
add esp, 0x10
cmp eax, 0x1c
ja case.0x10082779.6
movzx ecx, byte [eax + 0x10082b1c]
jmp dword [ecx*4 + 0x10082af8]
mov edi, 1
push 0xc2
call sub.XecureAcASN.dll_XFA_ASN_GetOID
mov esi, eax
mov eax, dword [ebp + 0x14]
add esp, 4
cmp eax, 0x16
je 0x10082998
cmp eax, 0x15
je 0x10082998
cmp eax, 0x1b
je 0x10082998
cmp eax, 0x1c
je 0x10082998
cmp eax, 0x1d
je 0x10082998
mov eax, dword [esp + 0x4c]
push edi
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.10082400
lea edx, [esp + 0x74]
push esi
push edx
call sub.XecureAcASN.dll_XFA_ASN_CopyOID
mov eax, dword [esp + 0x84]
add esp, 0x14
test eax, eax
jne 0x100827fd
push 0x18
push 1
call sub.XecureAcIO.dll_XFA_calloc
add esp, 8
mov dword [esp + 0x70], eax
mov dword [eax + 4], 2
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x1c]
mov dword [ecx], eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push 0x94
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], edx
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x94], eax
call sub.XecureAcASN.dll_XFA_ASN_EncodePDU
push 0x1a
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x3c]
push ecx
call sub.XecureAcASN.dll_XFA_ASN_EncodePDU
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
lea ecx, [eax + edx + 8]
push 1
push ecx
call sub.XecureAcIO.dll_XFA_calloc
mov dword [esp + 0x30], eax
mov byte [eax], 0x30
mov dl, byte [esp + 0x40]
add dl, byte [esp + 0x48]
mov eax, dword [esp + 0x30]
mov byte [eax + 1], dl
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
push ecx
push edx
add eax, 2
push eax
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
lea edx, [ecx + eax + 2]
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
lea edx, [ecx + eax + 2]
add esp, 0x38
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
add eax, 4
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push 0
push ebx
call fcn.10080360
add esp, 0x20
mov esi, eax
lea edx, [esp + 0x44]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x10]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x28]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x34]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x40]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.10090e24
mov esp, ebp
pop ebp
ret
mov edi, 2
push 0xc
jmp 0x1008278a
mov edi, 3
push 0xb
jmp 0x1008278a
mov edi, 6
push 0x15f
jmp 0x1008278a
mov edi, 7
push 0x160
jmp 0x1008278a
mov edi, 8
push 0x161
jmp 0x1008278a
mov edi, 4
push pe_nt_image_headers32
jmp 0x1008278a
lea edx, [esp + 0xc]
push esi
push edx
call sub.XecureAcIO.dll_XFA_BIN_Copy
add esp, 8
jmp 0x100828bc
mov edx, dword [ebx + 0x8a0]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
push 1
push ebx
call fcn.100808f0
add esp, 0x28
test eax, eax
jne 0x10082a23
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.10082460
lea ecx, [esp + 0x24]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x2c]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Copy
lea ecx, [esp + 0x54]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0x20
cmp dword [esp + 0x14], 0x100
mov eax, 0x800
je 0x10082a36
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
push eax
call fcn.100825f0
lea edx, [esp + 0x24]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x6c]
push 0
push edx
call sub.XecureAcCSP.dll_XFA_CSP_KCDSA_ComputeZ
mov esi, eax
add esp, 0x24
test esi, esi
je 0x10082a8e
push esi
push str.XFA_CSP_KCDSA_ComputeZ_failed...__d_n
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR80.dll_fprintf]
add esp, 0xc
jmp 0x100828e5
lea eax, [esp + 0x5c]
push edi
push eax
call sub.XecureAcCSP.dll_XFA_CSP_HashInit
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x68]
push edx
mov esi, eax
call sub.XecureAcCSP.dll_XFA_CSP_HashUpdate
or esi, eax
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
push ecx
call sub.XecureAcCSP.dll_XFA_CSP_HashUpdate
lea edx, [esp + 0x24]
or esi, eax
push edx
lea eax, [esp + 0x78]
push eax
call sub.XecureAcCSP.dll_XFA_CSP_HashFinal
add esp, 0x20
or esi, eax
je 0x100828bc
push esi
push str.XFA_CSP_Hash_failed...__d_n
jmp 0x10082a76
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.10090e24
mov esp, ebp
pop ebp
ret