Function at 0x101614c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029f530
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10389ef4]
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 ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0xa0]
mov edi, dword [ebp + 8]
push ecx
mov ecx, ebx
mov dword [ebp - 0x8c], ebx
mov eax, dword [ebx]
call dword [eax + 0x48]
mov ecx, edi
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x90], eax
call fcn.101345d0
cmp eax, 0xb
jne 0x101616ea
mov ecx, edi
call fcn.10192270
test al, al
je 0x101616ea
mov ecx, dword [ebp - 0x90]
push edi
push ebx
call fcn.10137fa0
mov ecx, eax
mov dword [ebp - 0x94], eax
call fcn.10194b70
test al, al
je 0x101616ea
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.101329e0
push edi
push ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], esi
call fcn.101329e0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10192300
mov ecx, edi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x8c], eax
call fcn.10192300
mov ebx, dword [ebp - 0x94]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x14]
add eax, 0x58
mov dword [ebp - 0x98], eax
mov eax, dword [ebx]
call dword [eax + 0x18]
mov eax, dword [ebx]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x1016162e
mov ebx, dword [ebp - 0x98]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x8c]
call fcn.10164320
lea edi, [eax + 2]
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.10164500
add edi, eax
mov ecx, dword [ebp - 0x54]
mov eax, edi
lea edx, [ebp - 0x58]
or eax, 1
add esp, 0x10
bsr eax, eax
push edx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add esi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x101615d3
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp - 0x68], 9
jne 0x10161690
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x1016167e
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10161674
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10161cbe
push edx
push ecx
call fcn.100ffd71
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp - 0x38], 9
jne case.default.0x10161747
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb case.default.0x10161747
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101616db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10161cbe
push edx
push ecx
call fcn.100ffd71
add esp, 8
jmp case.default.0x10161747
xor ebx, ebx
cmp dword [edi + 0x20], 3
jne 0x10161708
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10137590
mov ebx, eax
jmp 0x10161736
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x2f], bl
je 0x1016171a
mov ebx, 1
jmp 0x10161736
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10139260
test al, al
mov ecx, 1
cmovne ebx, ecx
mov ecx, edi
call fcn.101345d0
dec eax
cmp eax, 0x11
ja case.default.0x10161747
jmp dword [eax*4 + 0x10161cc4]
cmp dword [edi + 0x20], 3
jne 0x101617a2
xor eax, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
je case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.101386e0
test eax, eax
jns 0x1016177e
mov eax, 0xa
jmp 0x1016178d
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, ebx
jb 0x10161760
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10137dd0
push eax
call fcn.10159020
add esp, 4
mov esi, eax
mov eax, esi
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.10100ce5
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x20], 3
jne 0x10161833
xor eax, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
je case.default.0x10161747
nop
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138790
or eax, 1
test edx, edx
jne 0x1016180f
bsr eax, eax
jmp 0x10161815
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, ebx
jb 0x101617f0
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10137eb0
push edx
push eax
call fcn.1015a300
add esp, 8
jmp 0x101617bd
cmp dword [edi + 0x20], 3
jne 0x101618b3
xor eax, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
je case.default.0x10161747
nop word [eax + eax]
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.101386e0
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, ebx
jb 0x10161870
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10137dd0
push eax
call fcn.1015c440
jmp 0x101617ba
cmp dword [edi + 0x20], 3
jne 0x1016194c
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138790
mov ecx, edx
mov dword [ebp - 0x98], edx
sar dword [ebp - 0x98], 0x1f
shld edx, eax, 1
sar ecx, 0x1f
add eax, eax
xor ecx, eax
mov eax, dword [ebp - 0x98]
or ecx, 1
xor eax, edx
jne 0x10161925
bsr eax, ecx
jmp 0x1016192b
bsr eax, eax
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x101618e6
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10137eb0
push edx
push eax
call fcn.1015c460
add esp, 8
jmp 0x101617bd
cmp dword [edi + 0x20], 3
jne 0x101619bd
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138ac0
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x10161983
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10138e30
or eax, 1
bsr eax, eax
lea esi, [eax*8 + 0x49]
add esi, eax
shr esi, 6
jmp case.default.0x10161747
cmp dword [edi + 0x20], 3
jne 0x10161a46
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
nop dword [eax]
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138b70
or eax, 1
test edx, edx
jne 0x10161a1f
bsr eax, eax
jmp 0x10161a25
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x10161a00
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10138f10
push edx
push eax
call fcn.1015a300
add esp, 8
jmp 0x101617bd
lea esi, [ebx*4]
jmp case.default.0x10161747
lea esi, [ebx*8]
jmp case.default.0x10161747
mov esi, ebx
jmp case.default.0x10161747
cmp dword [edi + 0x20], 3
jne 0x10161ad2
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
nop dword [eax]
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138850
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
add esi, eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x10161aa0
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push 0
push edi
push dword [ebp - 0x8c]
call fcn.10137ff0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
jmp 0x101617bd
cmp dword [edi + 0x20], 3
jne 0x10161b4d
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138850
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add ecx, eax
mov eax, dword [ebp - 0x94]
inc eax
add esi, ecx
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x10161b08
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push 0
push edi
push dword [ebp - 0x8c]
call fcn.10137ff0
push eax
call fcn.10157370
jmp 0x101617ba
cmp dword [edi + 0x20], 3
jne 0x10161bca
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.101384d0
mov eax, dword [eax + 8]
test eax, eax
jns 0x10161ba3
mov eax, 0xa
jmp 0x10161bb2
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x10161b82
jmp case.default.0x10161747
mov ecx, dword [ebp - 0x90]
push edi
push dword [ebp - 0x8c]
call fcn.10137a60
mov eax, dword [eax + 8]
push eax
call fcn.10159020
jmp 0x101617ba
xor eax, eax
mov dword [ebp - 0x94], eax
test ebx, ebx
je case.default.0x10161747
nop word [eax + eax]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x20], 3
mov dword [ebp - 4], 4
jne 0x10161c3f
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138a10
jmp 0x10161c55
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 0x8c]
call fcn.10138d40
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
mov edx, dword [ebp - 0x14]
bsr eax, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
add esi, eax
cmp edx, 0x10
jb 0x10161ca4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10161c9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10161cbe
push edx
push ecx
call fcn.100ffd71
add esp, 8
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
jb 0x10161c00
jmp case.default.0x10161747
call fcn.1010c7ff
nop
jae 0x10161ce0
push ss
adc byte [edi + 0x1a], ah
push ss
adc ch, bl
pop ss
push ss
adc dh, ah
sbb dword [esi], edx
adc byte [esi + 0x17], cl
push ss
adc byte [ebx + 0x1a], dh
push ss
adc byte [edi + 0x1a], ah
push ss
adc byte [edi + 0x1a], bh
jg 0x10161cfc
push ss
adc dl, ch
sbb edx, dword [esi]
adc byte [esi - 0xdefe9e6], al
sbb dl, byte [esi]
adc dl, ch
sbb edx, dword [esi]
adc byte [ebp + 0x19], ch
push ss
adc byte [ebx + ebx + 0x16], ch
adc byte [edi + 0x1a], ah
push ss
adc byte [ebx + 0x1a], dh
push ss
sbb dl, byte [0x7310]
sbb dl, byte [esi]
adc byte [eax + ebx + 0x16], dl
adc al, dl
sbb byte [esi], dl
adc ah, cl
int3