Function at 0xaf8728
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1006df4b
push eax
mov eax, 0x1fc0
mov dword fs:[0], esp
call fcn.00b01cb8
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x40], ebp
mov ecx, 0x280
xor eax, eax
lea edi, [esp + 0x1d0]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2004]
mov ecx, dword [esp + 0x2000]
push eax
mov edi, 1
push ecx
push edi
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x1e0]
push eax
push ecx
push ecx
lea edx, [esp + 0x2018]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov dword [esp + 0x1ff8], 7
mov dword [esp + 0x38], ebp
mov dword [esp + 0x68], ebp
call fcn.00b0e43e
push ecx
lea eax, [esp + 0x2018]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x1ffc], 8
call fcn.00b0e43e
push ecx
lea edx, [esp + 0x2018]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x2000], 9
call fcn.00b0e43e
push ecx
lea eax, [esp + 0x2018]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x2004], 0xa
call fcn.00b0e43e
push ecx
lea edx, [esp + 0x2018]
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
mov byte [esp + 0x2008], 0xb
call fcn.00b0e43e
push ecx
mov byte [esp + 0x2008], 0xc
mov ecx, esp
mov dword [esp + 0xa4], esp
lea eax, [esp + 0x2018]
push eax
call fcn.00b0e43e
push ecx
lea edx, [esp + 0x2018]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
mov byte [esp + 0x2010], 0xd
call fcn.00b0e43e
mov byte [esp + 0x200c], 7
call fcn.00ad2cb8
add esp, 0x34
cmp eax, ebp
je 0xaf888e
mov esi, dword [esp + 0x1fe0]
push 0x1007fa84
mov ecx, esi
call fcn.00b0e737
mov dword [esp + 0x40], edi
jmp 0xaf8f3c
mov eax, dword [esp + 0x18]
xor ecx, ecx
sub eax, 8
cmp eax, ebp
mov dword [esp + 0x18], eax
lea edx, [esp + eax + 0x1d0]
mov dword [esp + eax + 0x1d0], ecx
mov dword [edx + 4], ecx
jg 0xaf88cc
mov esi, dword [esp + 0x1fe0]
push 0x1007fa84
mov ecx, esi
call fcn.00b0e737
mov dword [esp + 0x40], edi
jmp 0xaf8f3c
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x1fe4]
mov word [esp + 0x38], cx
mov dword [esp + 0x28], eax
mov byte [esp + 0x3a], cl
mov word [esp + 0x2c], ax
mov ecx, 0x10
lea edi, [esp + 0xf0]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0xb0]
mov byte [esp + 0x2e], al
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xf4]
push 0x1007b0d4
push eax
call fcn.00b01669
mov ecx, dword [esp + 0x1ff4]
lea edx, [esp + 0xbc]
push ecx
push 0x1007b0d4
push edx
call fcn.00b01669
mov eax, dword [esp + 0x108]
mov cl, byte [esp + 0x10c]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0xcc]
mov byte [esp + 0x40], cl
mov byte [esp + 0x4c], al
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0xb0]
lea edi, [esp + 0xb0]
not ecx
dec ecx
mov dword [esp + 0x30], edx
cmp ecx, 5
jbe 0xaf89c2
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xb0]
mov edx, ecx
sub eax, 5
add edx, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [edx]
not ecx
mov dl, byte [edx + 4]
dec ecx
lea ecx, [esp + ecx + 0x24]
mov dword [ecx], eax
mov byte [ecx + 4], dl
jmp 0xaf89f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x24]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0xb0]
lea edi, [esp + ecx + 0x24]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xf0]
cmp ecx, 5
jbe 0xaf8a46
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xf0]
mov edx, ecx
sub eax, 5
add edx, eax
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [edx]
not ecx
mov dl, byte [edx + 4]
dec ecx
lea ecx, [esp + ecx + 0x30]
mov dword [ecx], eax
mov byte [ecx + 4], dl
jmp 0xaf8a79
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x30]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0xf0]
lea edi, [esp + ecx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call fcn.00b029b4
lea edx, [esp + 0x34]
push edx
call fcn.00b029b4
mov esi, dword [esp + 0x20]
add esp, 8
mov eax, esi
and eax, 0x80000007
jns 0xaf8aa2
dec eax
or eax, 0xfffffff8
inc eax
jne 0xaf8aac
mov ecx, esi
mov dword [esp + 0x1c], ecx
jmp 0xaf8ac2
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
lea ecx, [eax*8 + 8]
mov dword [esp + 0x1c], ecx
cmp esi, ecx
jge 0xaf8adf
sub ecx, esi
lea edi, [esp + esi + 0x1d0]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x1007dbb0]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fd8], 0xe
push ecx
call fcn.00abd8a8
mov eax, dword [0x1007fa6c]
add esp, 4
cmp eax, ebp
jle 0xaf8c10
push 0x1007f2e0
lea ecx, [esp + 0x14]
call fcn.00b0e737
mov bl, 0xf
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fd8], bl
call fcn.00b0d243
push 0x20
lea ecx, [esp + 0x14]
call fcn.00b0eb44
cmp eax, ebp
jle 0xaf8b67
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00b0ce09
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fdc], 0x10
call fcn.00b0e7b6
mov byte [esp + 0x1fd8], bl
lea ecx, [esp + 0x20]
jmp 0xaf8bbd
lea eax, [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00b0ce09
push 0x1007b37c
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x1fe4], 0x11
call fcn.00b0e912
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fdc], 0x12
call fcn.00b0e7b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x1fd8], 0x11
call fcn.00b0e6c9
mov byte [esp + 0x1fd8], bl
lea ecx, [esp + 0x44]
call fcn.00b0e6c9
mov edx, dword [esp + 0x1fe4]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x1007b36c
push ecx
call fcn.00b0d1e4
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00b0e43e
call fcn.00abda98
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fd8], 0xe
call fcn.00b0e6c9
cmp dword [0x1007fa6c], ebp
jne 0xaf8c33
lea eax, [esp + 0x14]
lea edx, [esp + 0x1fe4]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00b0e43e
call fcn.00abce18
add esp, 8
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00b0e43e
call fcn.00ac4c68
mov esi, eax
call fcn.00ac5b28
xor ecx, ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ecx
push edx
mov dword [esp + 0x58], ecx
push 1
mov dword [esp + 0x60], ecx
mov ebp, eax
mov dword [esp + 0x64], ecx
call fcn.00ac62e8
lea eax, [esp + 0x58]
push eax
call fcn.00b0cab8
xor ecx, ecx
mov edx, dword [esp + 0x2000]
mov dword [esp + 0x6c], ecx
xor eax, eax
mov dword [esp + 0x70], ecx
lea edi, [esp + 0xbe0]
mov dword [esp + 0x74], ecx
push edx
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x6c], 0
mov byte [esp + 0x80], cl
mov ecx, 0x280
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x38]
push eax
mov eax, 0x899c0f61
mul esi
sub esi, edx
lea eax, [esp + 0x64]
shr esi, 1
add esi, edx
lea edx, [esp + 0x1e8]
shr esi, 9
push esi
push ecx
mov ecx, dword [esp + 0x200c]
push edx
push ebp
push eax
push ecx
lea edx, [esp + 0xc00]
push 0x1007bc6c
push edx
call fcn.00b01669
add esp, 0x38
lea eax, [esp + 0x5c]
lea edi, [esp + 0xbd0]
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push 0xb
dec ecx
push 0x1007bc58
push ecx
lea ecx, [esp + 0xbe0]
push ecx
call fcn.00ad7fa8
xor eax, eax
lea edx, [esp + 0x78]
push eax
mov ecx, 8
lea edi, [esp + 0x7c]
push 0x20
push edx
push 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x6c]
push eax
call fcn.00adc7d8
mov byte [esp + 0x8e], 0
xor eax, eax
cmp byte [esp + eax + 0x78], 0x2b
jne 0xaf8d58
mov byte [esp + eax + 0x78], 0x40
inc eax
cmp eax, 0x16
jl 0xaf8d4c
mov ecx, 6
mov esi, 0x1007ce90
lea edi, [esp + 0x98]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea edi, [esp + 0x150]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0x130]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1ff0]
lea edx, [esp + 0x130]
push ecx
push 0x1007b0d4
push edx
call fcn.00b01669
mov eax, dword [esp + 0x1ff8]
lea ecx, [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x164]
push 0x1007bc80
push edx
call fcn.00b01669
add esp, 0x1c
xor eax, eax
mov cl, byte [esp + eax + 0x132]
mov dl, byte [esp + eax + 0x152]
mov bl, byte [esp + eax + 0x9a]
xor cl, dl
xor bl, cl
mov byte [esp + eax + 0x9a], bl
inc eax
lea edx, [eax + 2]
cmp edx, 0x17
jl 0xaf8dcd
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x98]
push 0
push eax
lea ecx, [esp + 0x1d8]
push esi
push ecx
call fcn.00adc8d8
xor eax, eax
mov ecx, 0x280
lea edi, [esp + 0x15d0]
push eax
lea edx, [esp + 0x15d4]
push 0xa00
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x1dc]
push esi
push eax
call fcn.00adc7d8
mov ecx, eax
lea esi, [esp + 0x15d0]
mov edx, ecx
lea edi, [esp + 0x1d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov bl, 0x3d
and ecx, 3
mov dl, 0x2f
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x1d0]
cmp cl, 0x41
jl 0xaf8e7d
cmp cl, 0x5a
jg 0xaf8e7d
add cl, 0x20
mov byte [esp + 0x1d0], cl
jmp 0xaf8eba
cmp cl, 0x61
jl 0xaf8e93
cmp cl, 0x7a
jg 0xaf8e93
add cl, 0xe0
mov byte [esp + 0x1d0], cl
jmp 0xaf8eba
cmp cl, 0x2b
jne 0xaf8ea1
mov byte [esp + 0x1d0], dl
jmp 0xaf8eba
cmp cl, dl
jne 0xaf8eae
mov byte [esp + 0x1d0], bl
jmp 0xaf8eba
cmp cl, bl
jne 0xaf8eba
mov byte [esp + 0x1d0], 0x2b
lea edi, [esp + eax + 0x1d0]
mov al, byte [esp + eax + 0x1ce]
cmp al, 0x41
jl 0xaf8ed7
cmp al, 0x5a
jg 0xaf8ed7
add al, 0x20
mov byte [edi - 2], al
jmp 0xaf8f00
cmp al, 0x61
jl 0xaf8ee6
cmp al, 0x7a
jg 0xaf8ee6
sub al, 0x20
mov byte [edi - 2], al
jmp 0xaf8f00
cmp al, 0x2b
jne 0xaf8eef
mov byte [edi - 2], dl
jmp 0xaf8f00
cmp al, dl
jne 0xaf8ef8
mov byte [edi - 2], bl
jmp 0xaf8f00
cmp al, bl
jne 0xaf8f00
mov byte [edi - 2], 0x2b
mov ecx, 5
lea esi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x1fe0]
lea eax, [esp + 0x1d0]
push eax
mov ecx, esi
call fcn.00b0e737
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 1
mov byte [esp + 0x1fd8], 7
call fcn.00b0e6c9
lea ecx, [esp + 0x1fe4]
mov byte [esp + 0x1fd8], 6
call fcn.00b0e6c9
lea ecx, [esp + 0x1fe8]
mov byte [esp + 0x1fd8], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x1fec]
mov byte [esp + 0x1fd8], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x1ff0]
mov byte [esp + 0x1fd8], 3
call fcn.00b0e6c9
lea ecx, [esp + 0x1ff4]
mov byte [esp + 0x1fd8], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x1ff8]
mov byte [esp + 0x1fd8], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x1ffc]
mov byte [esp + 0x1fd8], 0
call fcn.00b0e6c9
mov ecx, dword [esp + 0x1fd0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1fcc
ret