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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x318c
call fcn.10090560
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x3188], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xc0], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x1c], edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
je 0x1008430b
cmp dword [ebx + 0x20], 0
jne 0x10084313
test eax, eax
je 0x10084bc9
cmp dword [esp + 0xa8], 0
je 0x10084bc9
test edi, edi
je 0x10084bc9
xor eax, eax
push 0x220
push eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x140]
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [edi], 1
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jne 0x100844b0
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100899a0
add esp, 0x10
jmp 0x100844c1
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.100841d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10084aea
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1008464e
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x94]
test eax, eax
mov edi, ecx
mov dword [esp + 0xc], eax
je 0x1008464a
jmp 0x10084530
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x10084583
push eax
lea eax, [esp + 0x124]
push eax
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Attributes_Decode
add esp, 8
lea eax, [esp + 0x120]
cmp dword [eax], 3
je 0x10084561
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10084553
jmp 0x10084573
mov ecx, dword [eax + 8]
mov dword [edi + 0x408], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x40c], edx
lea eax, [esp + 0x120]
push eax
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Attributes_Reset
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [esp + 0x8c]
push edx
push eax
push edi
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Certs_GetCert
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10084aea
mov edx, dword [edi]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x358]
push ecx
push 1
push edx
push eax
push esi
push esi
call sub.XecureAcPKC.dll_XFA_ExtractCertInfo
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10084aea
push 0x200
lea eax, [edi + 0x208]
push esi
push eax
call sub.MSVCR80.dll_memset
push 0x1ff
lea ecx, [esp + 0x3cf]
push ecx
lea eax, [edi + 0x208]
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
push 0x200
lea eax, [edi + 8]
push esi
push eax
call sub.MSVCR80.dll_memset
push 0x1ff
lea edx, [esp + 0x84b]
push edx
lea eax, [edi + 8]
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x28]
add esp, 0x30
test eax, eax
mov dword [esp + 0xc], eax
je 0x1008464a
push 0x420
push 1
call sub.XecureAcIO.dll_XFA_calloc
mov dword [edi + 0x418], eax
add esp, 8
mov edi, eax
jmp 0x10084530
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100846b2
push eax
lea edx, [esp + 0x10c]
push edx
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Attributes_Decode
mov esi, eax
add esp, 8
test esi, esi
jne 0x10084aea
lea eax, [esp + 0x108]
mov edi, edi
cmp dword [eax], 2
je 0x1008468e
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10084680
jmp 0x100846a2
add eax, 8
push eax
lea eax, [esp + 0xbc]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Copy
add esp, 8
lea ecx, [esp + 0x108]
push ecx
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Attributes_Reset
add esp, 4
cmp dword [edi], 2
jne 0x10084724
test dword [ebp + 0x3c], 0x100
jne 0x10084724
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xf4]
push ecx
mov dword [esp + 0xf0], 2
mov dword [esp + 0xf4], edx
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Data_Decode
mov esi, eax
add esp, 8
test esi, esi
jne 0x10084aea
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x10084717
lea edx, [esp + 0xf0]
push edx
push eax
call sub.XecureAcIO.dll_XFA_BIN_Copy
add esp, 8
lea eax, [esp + 0xe8]
mov dword [esp + 0x14], eax
jmp 0x10084728
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0xc]
mov dword [ebx + 8], edx
jmp 0x10084740
mov eax, dword [esp + 0x64]
test eax, eax
je 0x100849b2
push 0x88
push eax
lea eax, [esp + 0x78]
push eax
call sub.XecureAcASN.dll_XFA_ASN_DecodePDU
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10084aea
lea ecx, [esp + 0x34]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x28]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0xd8]
push eax
call sub.XecureAcPKC.dll_XFA_PKC_GetPubKeyInfo
mov ecx, dword [esp + 0x88]
push 0x88
push ecx
mov esi, eax
call sub.XecureAcASN.dll_XFA_ASN_FreePDU
add esp, 0x20
test esi, esi
jne 0x10084aea
mov edx, dword [esp + 0xc4]
mov eax, dword [ebx + 8]
push edx
push eax
call fcn.100813b0
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [eax + 4], 1
mov dword [esp + 0x10], edi
jne 0x1008482c
test byte [ebp + 0x3c], 0x30
jne 0x1008482c
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x1008480a
push edi
push eax
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
push edx
lea eax, [esp + 0x40]
push ebx
push eax
call ecx
add esp, 0x1c
jmp 0x100848f6
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
mov edx, ebx
call fcn.100839d0
add esp, 0xc
jmp 0x100848f6
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x40]
mov edi, eax
push ecx
mov eax, ebx
call fcn.100837f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10084aea
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x38]
test eax, eax
mov dword [esp + 0xc8], 2
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], edx
je 0x100848ae
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x40]
push edx
push ecx
lea edx, [esp + 0x40]
push ebx
push edx
call eax
add esp, 0x1c
jmp 0x100848d6
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x30]
mov edx, ebx
call fcn.100839d0
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
jne 0x10084aea
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xc8]
push edx
push eax
lea ecx, [esp + 0xa4]
push ebx
push ecx
call fcn.10083140
lea edx, [esp + 0xc8]
push edx
mov esi, eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x58]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x6c]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0xd4]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0xa0]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x98]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x84]
add esp, 0x40
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x78]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x54]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x60]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0x10
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10084ab7
push 1
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x80]
push edx
push ebx
call eax
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x10084a75
mov eax, dword [esp + 0x6c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x68]
and eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
neg eax
sbb eax, eax
lea edx, [esp + 0x5c]
and eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
neg eax
sbb eax, eax
lea ecx, [esp + 0x44]
and eax, ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x78]
neg eax
sbb eax, eax
lea edx, [esp + 0x74]
and eax, edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x50]
neg eax
sbb eax, eax
lea ecx, [esp + 0x4c]
and eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x58]
neg eax
sbb eax, eax
lea edx, [esp + 0x54]
and eax, edx
add dword [esp + 0x20], 1
mov dword [esp + 0x1c], eax
jne 0x10084740
jmp 0x10084ab7
lea eax, [esp + 0x68]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x60]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x4c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x80]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x5c]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x68]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0x18
cmp dword [esp + 0x94], 0
je 0x10084aea
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x14]
push 0x210
push eax
mov eax, dword [esp + 0xb0]
push ecx
lea edx, [esp + 0x90]
push edx
push ebx
push eax
call fcn.100832a0
add esp, 0x18
mov esi, eax
lea ecx, [esp + 0x84]
push ecx
call sub.XecureAcPKCS7.dll_XFA_PKCS7_Signed_Reset
lea edx, [esp + 0xa4]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x34]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x48]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0xb0]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x7c]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x74]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x60]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x94]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x70]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x7c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0xe4]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
mov eax, dword [esp + 0x44]
add esp, 0x30
test eax, eax
je 0x10084b8e
cmp dword [eax], 1
jne 0x10084b8e
lea ecx, [esp + 0x7c]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 4
lea edx, [esp + 0xf0]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x38]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x2c]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3188]
xor ecx, esp
call fcn.10090524
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3194]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x91b5
call fcn.10090524
mov esp, ebp
pop ebp
ret