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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f3145
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x103b7200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x7c], edi
cmp byte [edi + 0x78], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x84], esi
je 0x10246d68
xor edx, edx
mov eax, ebx
div dword [edi + 0x6c]
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [edi]
mov dword [ebp - 0x7c], edx
call dword [eax + 0xa8]
mov ecx, eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
cmp dword [edi + 0x58], eax
jae 0x10246ce4
mov edx, dword [ecx]
lea eax, [ebp - 0x88]
push eax
push 0x103c2b28
call dword [edx + 0x88]
mov edx, eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x88], eax
jae 0x10246cea
push eax
lea ecx, [edi + 0x50]
call fcn.10050120
mov edx, dword [edi + 0x5c]
mov dword [ebp - 0x80], edx
sub ebx, dword [ebp - 0x7c]
je 0x10246d15
mov ecx, dword [edi + 0x64]
push ebx
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
push 1
push 0
push ebx
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x80]
call dword [edx + 0x18]
add esi, ebx
mov ecx, dword [edi + 0x64]
mov edx, dword [ebp - 0x7c]
mov ebx, dword [edi + 0x74]
mov eax, dword [ecx]
test edx, edx
je 0x10246d45
push edx
push esi
push ebx
mov ebx, dword [ebp - 0x80]
push ebx
call dword [eax + 0x24]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xa8]
push 1
push 0
push esi
push ebx
jmp 0x10246fb7
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x80]
push ebx
call dword [eax + 0x24]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xa8]
push 1
push 0
push esi
push ebx
jmp 0x10246fb7
mov eax, dword [edi + 0x68]
cmp eax, 4
ja case.default.0x10246d74
jmp dword [eax*4 + 0x1024712c]
test ebx, ebx
je case.default.0x10246d74
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [edi + 0x64]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
call edx
test al, al
je 0x10246e2b
cmp dword [edi + 0x68], 1
jne 0x10246e2b
test esi, esi
je 0x10246db5
cmp ebx, esi
jae 0x10246e3f
cmp esi, dword [edi + 0x6c]
mov ecx, edi
mov eax, dword [edi]
cmovb esi, dword [edi + 0x6c]
push esi
push 0x103c2b28
call dword [eax + 0xa8]
push eax
lea ecx, [edi + 0x4c]
call fcn.10246730
mov ecx, eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], ecx
test eax, eax
je 0x10246df2
push ebx
push eax
push ecx
call fcn.102b3f60
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov eax, esi
sub eax, ebx
push eax
lea eax, [ebx + ecx]
push 0
push eax
call fcn.102b44e0
mov ecx, dword [edi + 0x64]
add esp, 0xc
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ecx]
push esi
push ebx
push esi
push ebx
call dword [eax + 0x24]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xa8]
push 1
push 0
push esi
push ebx
jmp 0x10246fb7
test esi, esi
jne 0x10246e3f
lea ecx, [ebp - 0x28]
test al, al
je 0x10247074
jmp 0x10247049
push dword [edi + 0x70]
mov eax, dword [edi]
mov ecx, edi
push ebx
push 0x103c2b28
call dword [eax + 0xa8]
push eax
lea ecx, [edi + 0x4c]
call fcn.10246770
mov ecx, dword [ebp - 0x7c]
mov edi, eax
push ebx
push dword [ebp - 0x84]
mov ecx, dword [ecx + 0x64]
push ebx
push edi
mov edx, dword [ecx]
call dword [edx + 0x24]
mov esi, eax
mov eax, dword [ebp - 0x7c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa8]
push 1
push 0
push esi
push edi
jmp 0x10246fb7
push dword [edi + 0x70]
mov eax, dword [edi + 0x6c]
push eax
mov dword [ebp - 0x80], eax
mov eax, dword [edi]
push 0x103c2b28
call dword [eax + 0xa8]
push eax
lea ecx, [edi + 0x4c]
call fcn.10246770
mov ecx, dword [edi + 0x64]
mov esi, eax
mov dword [ebp - 0x7c], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
call edx
test al, al
je 0x10246f43
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x10246ed7
push ebx
push eax
push esi
call fcn.102b3f60
add esp, 0xc
mov eax, dword [ebp - 0x80]
lea ecx, [ebx + esi]
mov edx, eax
sub edx, ebx
cmp dword [edi + 0x68], 2
jne 0x10246ef1
sub al, bl
push edx
movzx eax, al
push eax
push ecx
jmp 0x10246f18
dec edx
cmp dword [edi + 0x68], 4
push edx
push 0
jne 0x10246f11
push ecx
call fcn.102b44e0
mov ecx, dword [ebp - 0x80]
add esp, 0xc
mov al, cl
sub al, bl
mov byte [esi + ecx - 1], al
jmp 0x10246f20
lea eax, [ecx + 1]
mov byte [ecx], 0x80
push eax
call fcn.102b44e0
add esp, 0xc
mov ecx, dword [edi + 0x64]
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
push esi
mov eax, dword [ecx]
push ebx
push ebx
call dword [eax + 0x20]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
push 1
push 0
push esi
push ebx
jmp 0x10246fb7
mov esi, dword [ebp - 0x80]
cmp ebx, esi
jne 0x1024709f
mov ecx, dword [edi + 0x64]
push esi
push dword [ebp - 0x84]
mov esi, dword [ebp - 0x7c]
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
mov eax, dword [edi + 0x68]
cmp eax, 2
jne 0x10246fdc
mov ecx, dword [ebp - 0x80]
mov dl, byte [esi + ecx - 1]
lea ebx, [esi + ecx]
cmp dl, 1
jb 0x102470cd
movzx eax, dl
mov dword [ebp - 0x7c], eax
cmp eax, ecx
ja 0x102470cd
mov eax, esi
sub eax, dword [ebp - 0x7c]
add eax, ecx
cmp eax, ebx
je 0x10246fa2
cmp dl, byte [eax]
jne 0x102470cd
inc eax
cmp eax, ebx
jne 0x10246f95
mov ebx, ecx
sub ebx, dword [ebp - 0x7c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
push 1
push 0
push ebx
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102b1cf8
mov esp, ebp
pop ebp
ret 8
cmp eax, 4
jne 0x10247002
mov eax, dword [ebp - 0x80]
mov cl, byte [esi + eax - 1]
cmp cl, 1
jb 0x102470fb
movzx ecx, cl
cmp ecx, eax
ja 0x102470fb
mov ebx, eax
sub ebx, ecx
jmp 0x10246fa7
cmp ebx, 1
jbe 0x10247014
cmp byte [esi + ebx - 1], 0
jne 0x10247014
dec ebx
cmp ebx, 1
ja 0x10247007
dec ebx
cmp byte [ebx + esi], 0x80
je 0x10246fa7
push str.StreamTransformationFilter:_invalid_ones_and_zeros_padding_found
lea ecx, [ebp - 0x28]
call fcn.10050380
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x78]
call fcn.10243790
push 0x103add2c
lea eax, [ebp - 0x78]
push eax
call fcn.102b4ced
push str.StreamTransformationFilter:_plaintext_length_is_not_a_multiple_of_block_size_and_NO_PADDING_is_specified
call fcn.10050380
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.10245c90
push 0x103ae1a4
lea eax, [ebp - 0x50]
push eax
call fcn.102b4ced
push str.StreamTransformationFilter:_ciphertext_length_is_not_a_multiple_of_block_size
call fcn.10050380
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x50]
call fcn.10243790
push 0x103add2c
lea eax, [ebp - 0x50]
push eax
call fcn.102b4ced
push str.StreamTransformationFilter:_ciphertext_length_is_not_a_multiple_of_block_size
lea ecx, [ebp - 0x28]
call fcn.10050380
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.10243790
push 0x103add2c
lea eax, [ebp - 0x50]
push eax
call fcn.102b4ced
push str.StreamTransformationFilter:_invalid_PKCS_7_block_padding_found
lea ecx, [ebp - 0x28]
call fcn.10050380
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x50]
call fcn.10243790
push 0x103add2c
lea eax, [ebp - 0x50]
push eax
call fcn.102b4ced
push str.StreamTransformationFilter:_invalid_W3C_block_padding_found
lea ecx, [ebp - 0x28]
call fcn.10050380
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.10243790
push 0x103add2c
lea eax, [ebp - 0x50]
push eax
call fcn.102b4ced
nop dword [eax]
jnp 0x1024719b
and al, 0x10
jnp 0x1024719f
and al, 0x10
mov ebp, dword [esi + 0x24]
adc byte [ebx - 1961876370], cl
outsb dx, byte [esi]
and al, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
sub eax, 0
je 0x10247158
sub eax, 1
je 0x10247167
pop edi
xor al, al
pop esi
ret 8
mov eax, dword [esi]
push dword [esp + 0x10]
mov eax, dword [eax + 0x28]
call eax
test al, al
jne 0x102471ad
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xbc]
call eax
test al, al
je 0x102471bb
mov edi, dword [esp + 0xc]
test edi, edi
je 0x102471b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa8]
push dword [esp + 0x10]
lea ecx, [edi - 1]
push ecx
mov edx, dword [eax]
mov ecx, eax
push 0x103c2b28
mov eax, dword [edx + 0x98]
call eax
sbb byte [eax - 0x1000000], 0xd0
add bh, bh
rol byte [eax + eax*8 + 0x46c70e74], 1
sbb byte [ecx], al
add byte [eax], al
add byte [edi - 0x50], bl
add dword [esi - 0x3e], ebx
or byte [eax], al
test al, al
je 0x102471b4
mov dword [esi + 0x18], 1
pop edi
mov al, 1
pop esi
ret 8
mov dword [esi + 0x18], 0
pop edi
xor al, al
pop esi
ret 8