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

Disassembly:
mov eax, 0x2604
call fcn.10090560
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x2600], eax
mov eax, dword [esp + 0x2608]
mov ecx, dword [esp + 0x2610]
mov edx, dword [esp + 0x2614]
push ebx
mov ebx, dword [esp + 0x2610]
push ebp
push esi
mov esi, dword [esp + 0x2624]
push edi
mov edi, dword [esp + 0x262c]
xor ebp, ebp
push 0x103
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40d]
push ebp
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x414], 0
call sub.MSVCR80.dll_memset
push 0x1fff
lea ecx, [esp + 0x621]
push ebp
push ecx
mov byte [esp + 0x628], 0
call sub.MSVCR80.dll_memset
mov eax, ebx
add esp, 0x18
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x58], ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10088e58
sub eax, ecx
push eax
push ebx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x58]
push eax
push 0xfde9
call fcn.1007daf0
add esp, 0x14
test eax, eax
jne 0x10088ed1
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10088e90
mov ecx, dword [esp + 0x20]
sub eax, edx
push eax
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x64]
push eax
push 0xfde9
call fcn.1007daf0
add esp, 0x14
test eax, eax
je 0x10088ed9
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x10088ed1
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
or eax, 0xffffffff
jmp 0x10089983
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.MSVCR80.dll__wunlink]
mov edx, dword [esp + 0x2638]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, edx
add esp, 4
and eax, 0x100
mov ebp, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2630]
lea ecx, [ebp + 1]
je 0x10088f82
test dl, 0x60
je 0x10088f82
lea edx, [esp + 0x78]
push edx
push eax
lea eax, [esp + 0x64]
push esi
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], ecx
call sub.XecureAcCSP.dll_XFA_CSP_EncryptInit
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x1008995f
jmp 0x10088fc4
test edx, 0x400
je 0x10088fc0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x78]
push ecx
push eax
lea edx, [esp + 0x64]
push esi
push edx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x90], edi
call sub.XecureAcCSP.dll_XFA_CSP_DecryptInit
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x1008995f
jmp 0x10088fc4
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2634]
mov eax, ecx
and eax, 0x400
mov dword [esp + 0x50], eax
jne 0x1008905c
test ecx, 0x800
jne 0x1008905c
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.1007e590
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1008995f
push 0x8002
push ebx
call fcn.1007e170
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
jne 0x10089034
push ebx
call fcn.1007e210
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x10089034
or ebp, eax
jmp 0x1008995f
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
push eax
push esi
call fcn.1007e540
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x1008908c
push esi
call fcn.1007e570
add esp, 4
jmp 0x1008995f
push 0x8002
push ebx
call fcn.1007e170
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x1008908c
push ebx
call fcn.1007e210
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x1008908c
or ebp, eax
jmp 0x1008995f
cmp dword [esp + 0x70], 0
je 0x10089468
push 0x103
lea ecx, [esp + 0x309]
push 0
push ecx
call sub.MSVCR80.dll_memset
push 0x103
lea edx, [esp + 0x51d]
push 0
push edx
mov byte [esp + 0x524], 0
call sub.MSVCR80.dll_memset
mov esi, dword [esp + 0x38]
xor eax, eax
push 0x5c
push esi
mov byte [esp + 0x314], 0
mov dword [esp + 0x315], eax
mov dword [esp + 0x319], eax
mov dword [esp + 0x31d], eax
mov word [esp + 0x321], ax
mov byte [esp + 0x323], al
mov byte [esp + 0x304], al
mov dword [esp + 0x305], eax
mov dword [esp + 0x309], eax
mov dword [esp + 0x30d], eax
mov word [esp + 0x311], ax
mov byte [esp + 0x313], al
mov byte [esp + 0x324], 0xc
call dword [sym.imp.MSVCR80.dll_strrchr]
add esp, 0x20
test eax, eax
push 0x103
jne 0x1008914c
push esi
lea eax, [esp + 0x410]
push eax
jmp 0x10089158
add eax, 1
push eax
lea ecx, [esp + 0x410]
push ecx
call dword [sym.imp.MSVCR80.dll_strncpy]
lea eax, [esp + 0x414]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x10089170
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10089170
sub eax, edx
push eax
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x514]
push eax
call sub.MSVCR80.dll_memcpy
lea eax, [esp + 0x518]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100891a0
sub eax, edx
mov ebx, eax
cmp ebx, 0x80
mov byte [esp + 0x13], cl
jb 0x10089225
mov eax, 1
mov dl, 1
lea esi, [eax + 2]
lea ecx, [eax*8]
mov edi, ebx
shr edi, cl
test edi, edi
je 0x100891d5
add dl, 1
add eax, 1
sub esi, 1
jne 0x100891c3
mov cl, dl
xor cl, 0x80
test dl, dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x305], cl
lea eax, [esi + 2]
jbe 0x10089231
movzx edi, dl
mov dword [esp + 0x30], edi
jmp 0x10089200
mov edx, edi
sub edx, esi
lea ecx, [edx*8 - 8]
mov edx, ebx
shr edx, cl
add eax, 1
add esi, 1
sub dword [esp + 0x30], 1
mov byte [esp + eax + 0x303], dl
jne 0x10089200
jmp 0x10089231
mov byte [esp + 0x305], bl
mov eax, 2
push ebx
lea ecx, [esp + 0x510]
push ecx
lea edx, [esp + eax + 0x30c]
push edx
call sub.MSVCR80.dll_memcpy
movzx eax, byte [esp + 0x1f]
mov esi, dword [esp + 0x20]
lea ecx, [eax + ebx + 2]
push ecx
lea edx, [esp + 0x314]
push edx
push esi
call fcn.1007e540
add esp, 0x18
test eax, eax
je 0x1008927b
push esi
call fcn.1007e570
add esp, 4
or ebp, 0xffffffff
jmp 0x1008995f
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__wstat64i32]
add esp, 8
test eax, eax
je 0x100892a6
push esi
call fcn.1007e570
add esp, 4
or ebp, 0xffffffff
jmp 0x1008995f
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x2f8], 0x17
mov byte [esp + 0x2f9], 0xd
call dword [sym.imp.MSVCR80.dll__gmtime64]
mov ecx, dword [eax + 0x14]
add esp, 4
cmp ecx, 0x63
jle 0x100892d2
add ecx, 0xffffff9c
mov edx, dword [eax]
push edx
mov edx, dword [eax + 4]
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push edx
add eax, 1
push eax
push ecx
lea ecx, [esp + 0x30e]
push str._.2d_.2d_.2d_.2d_.2d_.2dZ
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
push 0xf
lea edx, [esp + 0x318]
push edx
push esi
call fcn.1007e540
add esp, 0x2c
test eax, eax
je 0x10089324
push esi
call fcn.1007e570
add esp, 4
or ebp, 0xffffffff
jmp 0x1008995f
xor edi, edi
cmp dword [esp + 0x48], edi
mov esi, 8
je 0x1008937e
mov eax, dword [esp + 0x2630]
cmp eax, esi
je 0x10089341
cmp eax, 0x15
jne 0x10089348
mov esi, 0x10
xor edi, edi
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push esi
push ebx
push eax
call fcn.10090db0
cdq
sub esi, eax
mov eax, dword [esp + 0x18]
sbb edi, edx
add esi, eax
adc edi, ebx
cmp dword [esp + 0x2630], 6
jne 0x10089374
mov esi, eax
mov edi, ebx
mov eax, esi
mov dword [esp + 0x70], eax
mov ebx, edi
jmp 0x1008938c
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov eax, ecx
test ebx, ebx
mov byte [esp + 0x2e4], 4
mov byte [esp + 0x13], 0
jl 0x1008942e
jg 0x100893ae
cmp eax, 0x80
jb 0x1008942e
mov esi, 1
mov byte [esp + 0x13], 1
lea edi, [esi + 2]
jmp 0x100893c4
mov eax, dword [esp + 0x70]
lea ecx, [esi*8]
mov edx, ebx
call fcn.10090d80
or eax, edx
je 0x100893db
add byte [esp + 0x13], 1
add esi, 1
sub edi, 1
jne 0x100893c0
mov al, byte [esp + 0x13]
mov dl, al
xor dl, 0x80
test al, al
mov byte [esp + 0x2e5], dl
jbe 0x10089435
movzx eax, al
lea esi, [esp + 0x2e6]
lea edi, [eax*8 - 8]
mov dword [esp + 0x30], eax
lea esp, [esp]
mov eax, dword [esp + 0x70]
mov edx, ebx
mov ecx, edi
call fcn.10090d80
mov byte [esi], al
add esi, 1
sub edi, 8
sub dword [esp + 0x30], 1
jne 0x10089410
jmp 0x10089435
mov byte [esp + 0x2e5], al
movzx eax, byte [esp + 0x13]
mov esi, dword [esp + 0x14]
add eax, 2
push eax
lea ecx, [esp + 0x2e8]
push ecx
push esi
call fcn.1007e540
add esp, 0xc
test eax, eax
je 0x10089468
push esi
call fcn.1007e570
add esp, 4
or ebp, 0xffffffff
jmp 0x1008995f
mov edx, dword [esp + 0x20]
push 0x8000
push edx
call fcn.1007e170
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
mov dword [esp + 0x20], edi
jne 0x10089499
mov eax, dword [esp + 0x14]
push eax
call fcn.1007e570
add esp, 4
or ebp, edi
jmp 0x1008995f
mov eax, dword [esp + 0x2634]
test eax, 0x200
je 0x100894fb
push 0x220
lea ecx, [esp + 0xc8]
push 0
push ecx
call sub.MSVCR80.dll_memset
lea edx, [esp + 0xd0]
push edx
push edi
call fcn.10088a20
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x100894ed
mov eax, dword [esp + 0x14]
push eax
call fcn.1007e570
push edi
call fcn.1007e570
add esp, 8
or ebp, 0xffffffff
jmp 0x1008995f
push 0
push esi
push edi
call sub.MSVCR80.dll__lseek
add esp, 0xc
jmp 0x1008955a
cmp dword [esp + 0x50], 0
jne 0x10089509
test eax, 0x800
je 0x10089556
push 0x220
lea ecx, [esp + 0xc8]
push 0
push ecx
call sub.MSVCR80.dll_memset
lea edx, [esp + 0xd0]
push edx
push edi
call fcn.10088a20
add esp, 0x14
test eax, eax
jl 0x100894d2
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1d0]
mov dword [esp + 0x18], eax
push 2
neg eax
push eax
push edi
mov dword [esp + 0x28], ecx
call sub.MSVCR80.dll__lseek
add esp, 0xc
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10089590
mov edx, dword [esp + 0x2634]
mov edi, dword [esp + 0x18]
push edx
mov eax, esi
cdq
sub edi, eax
mov eax, dword [esp + 0x20]
push 0
push 0
sbb eax, edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebx + 0x28]
push edi
push edx
push eax
call ecx
add esp, 0x1c
test dword [esp + 0x2634], 0x800
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
je 0x100895f9
mov edx, edi
or edx, ecx
jne 0x100895f9
mov esi, dword [esp + 0x14]
push edx
push 0x1009ec09
push esi
call fcn.1007e540
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x1008904e
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100894e5
mov ecx, dword [esp + 0x2634]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [ebx + 0x28]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push edx
push ecx
call eax
add esp, 0x1c
or ebp, 0xffffffff
jmp 0x1008995f
mov eax, esi
cdq
mov esi, edi
mov dword [esp + 0x28], eax
sub esi, eax
mov eax, ecx
sbb eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], eax
js 0x100897c4
jg 0x10089620
test esi, esi
jbe 0x100897c4
cmp dword [esp + 0x54], 0
jl 0x10089638
jg 0x10089631
cmp esi, 0x2000
jbe 0x10089638
mov ebp, 0x2000
jmp 0x1008963a
mov ebp, esi
mov edi, dword [esp + 0x20]
push ebp
lea edx, [esp + 0x614]
push edx
push edi
call fcn.1007e500
add esp, 0xc
test eax, eax
jne 0x10089833
cmp dword [esp + 0x48], eax
je 0x10089696
lea ecx, [esp + 0x34]
lea eax, [esp + 0x610]
push ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x40], ebp
call sub.XecureAcCSP.dll_XFA_CSP_EncryptUpdate
add esp, 0xc
test eax, eax
jne 0x10089833
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
jmp 0x100896e2
cmp dword [esp + 0x64], 0
je 0x100896d9
lea eax, [esp + 0x34]
lea edx, [esp + 0x610]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x40], ebp
call sub.XecureAcCSP.dll_XFA_CSP_DecryptUpdate
add esp, 0xc
test eax, eax
jne 0x10089833
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
jmp 0x100896e6
lea ecx, [esp + 0x610]
mov eax, ebp
mov dword [esp + 0x38], ecx
sub esi, ebp
mov ecx, 0
sbb dword [esp + 0x54], ecx
cmp dword [esp + 0x64], ecx
mov dword [esp + 0x34], eax
je 0x10089731
cmp dword [esp + 0x54], ecx
jg 0x10089731
jl 0x10089707
cmp esi, ecx
ja 0x10089731
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x44], ecx
call sub.XecureAcCSP.dll_XFA_CSP_DecryptFinal
add esp, 8
test eax, eax
jne 0x10089885
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
push eax
push ecx
push edi
call fcn.1007e540
lea edx, [esp + 0x4c]
push edx
mov ebp, eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x78]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0x14
test ebp, ebp
jne 0x100898e8
mov edi, dword [ebx + 0x2c]
test edi, edi
je 0x100897a7
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2634]
push edx
mov edx, eax
sub edx, esi
mov ebp, ecx
sbb ebp, dword [esp + 0x58]
push ebp
push edx
push ecx
mov ecx, dword [ebx + 0x28]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call edi
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x100898f8
cmp dword [esp + 0x54], 0
jg 0x10089631
jl 0x100897bc
test esi, esi
ja 0x10089620
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100897ef
mov edx, dword [esp + 0x2634]
sub edi, dword [esp + 0x28]
push edx
sbb ecx, dword [esp + 0x30]
mov edx, dword [ebx + 0x28]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x34]
push edi
push ecx
push edx
call eax
add esp, 0x1c
cmp dword [esp + 0x48], 0
je 0x10089948
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
push ecx
call sub.XecureAcCSP.dll_XFA_CSP_EncryptFinal
add esp, 8
test eax, eax
je 0x10089909
mov edx, dword [esp + 0x14]
push edx
call fcn.1007e570
mov eax, dword [esp + 0x24]
push eax
call fcn.1007e570
add esp, 8
or ebp, 0xffffffff
jmp 0x1008995f
mov edx, dword [esp + 0x14]
push edx
call fcn.1007e570
push edi
call fcn.1007e570
mov eax, dword [ebx + 0x2c]
add esp, 8
test eax, eax
je 0x100894e5
mov ecx, dword [esp + 0x2634]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
sbb ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x28]
push edx
mov edx, dword [esp + 0x38]
push edx
push ecx
call eax
add esp, 0x1c
or ebp, 0xffffffff
jmp 0x1008995f
lea edx, [esp + 0x40]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x6c]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1007e570
push edi
call fcn.1007e570
mov eax, dword [ebx + 0x2c]
add esp, 0x10
test eax, eax
je 0x100894e5
mov edx, dword [esp + 0x2634]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
sbb edx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
mov edx, dword [ebx + 0x28]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
call eax
add esp, 0x1c
or ebp, 0xffffffff
jmp 0x1008995f
push edi
call fcn.1007e570
mov eax, dword [esp + 0x24]
push eax
jmp 0x1008983e
mov edx, dword [esp + 0x14]
push edx
call fcn.1007e570
mov eax, dword [esp + 0x24]
push eax
jmp 0x10089957
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call fcn.1007e540
mov ebp, eax
lea eax, [esp + 0x4c]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 0x10
test ebp, ebp
je 0x1008994c
push esi
call fcn.1007e570
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1007e570
add esp, 8
or ebp, 0xffffffff
jmp 0x1008995f
mov esi, dword [esp + 0x14]
push esi
call fcn.1007e570
mov edx, dword [esp + 0x24]
push edx
call fcn.1007e570
add esp, 8
mov eax, dword [esp + 0x4c]
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_free]
je 0x10089973
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10089981
push eax
call esi
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x2610]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090524
add esp, 0x2604
ret