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

Disassembly:
push 0xffffffffffffffff
push 0x1006de6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd04
mov eax, dword [esp + 0xd20]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00b0e737
mov ecx, dword [esp + 0xd2c]
mov dword [esp + 0xd1c], 0
push ecx
lea ecx, [esp + 0x18]
call fcn.00b0e737
mov edx, dword [esp + 0xd34]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0xd20], 1
call fcn.00b0e737
lea ecx, [esp + 0x18]
mov byte [esp + 0xd1c], 2
call fcn.00b0eb91
lea ecx, [esp + 0x14]
call fcn.00b0eb91
xor eax, eax
mov ecx, 0x100
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x114]
mov dword [esp + 0x30], eax
push 6
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], al
push ecx
lea ecx, [esp + 0x1c]
call fcn.00b0cd8d
mov esi, eax
lea edx, [esp + 0x10]
push 5
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xd24], 3
call fcn.00b0ce09
mov ecx, dword [esp + 0xd3c]
mov ebx, dword [esp + 0xd38]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x128]
push 0x1007bdf4
push eax
call fcn.00b01669
add esp, 0x1c
lea ecx, [esp + 0x10]
call fcn.00b0e6c9
lea ecx, [esp + 0x44]
mov byte [esp + 0xd1c], 2
call fcn.00b0e6c9
xor ecx, ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
push edx
mov dword [esp + 0x34], ecx
push 8
mov dword [esp + 0x3c], ecx
push 0x1007bde8
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x120]
mov byte [esp + 0x48], cl
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x120]
push ecx
push eax
call fcn.00ad7fa8
mov eax, dword [0x1007dbb0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xd40]
lea ecx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0xd28], 5
call fcn.00b0e737
call fcn.00abe0f8
mov edx, dword [esp + 0xd4c]
add esp, 8
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00b0e737
call fcn.00abe0f8
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x91c]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x51c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x91c]
push eax
push 0x1007b0d4
push ecx
call fcn.00b01669
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x528]
push edx
push 0x1007b0d4
push eax
call fcn.00b01669
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xb4]
mov dword [esp + 0x80], ecx
add esp, 0x20
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 0x68], ecx
push edx
mov byte [esp + 0x70], cl
mov ecx, 0x20
rep stosd dword es:[edi], eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00b0e43e
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0xd2c], 6
call fcn.00b0e43e
mov byte [esp + 0xd28], 7
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push ebx
call fcn.00b0e737
mov byte [esp + 0xd2c], 5
call fcn.00ad2bf8
add esp, 0x10
lea eax, [esp + 0x514]
lea ecx, [esp + 0x914]
lea edx, [esp + 0x70]
push 0
push eax
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
lea ecx, [esp + 0x70]
push 4
push ecx
mov dword [esp + 0x8c], 0x80
call fcn.00ae3778
push 0x1007fa84
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00b0e806
push 0x1007fa84
lea ecx, [esp + 0x20]
call fcn.00b0e806
test esi, esi
jne 0xaf792b
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0xd28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], edx
mov edx, ebp
and edx, 0x80000007
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
jns 0xaf759a
dec edx
or edx, 0xfffffff8
inc edx
je 0xaf7647
mov eax, dword [esp + 0xd4c]
test eax, eax
jne 0xaf760c
cmp edx, 3
jg 0xaf75de
mov ebx, dword [esp + 0xd24]
mov ecx, 8
sub ecx, edx
lea esi, [esp + 0x2c]
mov eax, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 8
sub ecx, edx
add ebp, ecx
jmp 0xaf7658
mov ebx, dword [esp + 0xd24]
mov ecx, 0x10
sub ecx, edx
lea esi, [esp + 0x2c]
mov eax, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10
sub ecx, edx
add ebp, ecx
jmp 0xaf7658
mov ebx, dword [esp + 0xd24]
mov ecx, 8
sub ecx, edx
xor eax, eax
mov esi, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x2c]
mov eax, 8
sub eax, edx
mov edx, dword [esp + 0x30]
add ebp, eax
mov dword [ebx + ebp], ecx
mov dword [ebx + ebp + 4], edx
jmp 0xaf7655
mov ebx, dword [esp + 0xd24]
mov dword [ebx + ebp], eax
mov dword [ebx + ebp + 4], ecx
add ebp, 8
lea eax, [esp + 0x5c]
push 0
push eax
push ebp
push ebx
call fcn.00adc8d8
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x114]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x118]
push 0x400
push ecx
push ebp
push ebx
call fcn.00adc7d8
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0xaf76b4
cmp byte [esp + ecx + 0x114], 0x3d
jne 0xaf76b4
mov byte [esp + ecx + 0x114], 0
dec ecx
jns 0xaf769f
lea edx, [esp + 0x114]
lea ecx, [esp + 0x20]
push edx
call fcn.00b0e737
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x74]
xor bl, bl
rep stosd dword es:[edi], eax
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor esi, esi
mov byte [esp + 0xd1c], 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0xaf7763
xor eax, eax
lea ecx, [esp + esi + 0x94]
mov dword [esp + 0x50], eax
mov edx, dword [ecx]
mov dword [esp + 0x54], eax
mov word [esp + 0x58], ax
mov dword [esp + 0x50], edx
mov eax, dword [ecx + 4]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x58], eax
mov cl, byte [ecx + 8]
mov byte [esp + 0x5c], cl
call fcn.00b015d3
movsx ecx, bl
mov edx, eax
lea edi, [esp + 0x98]
shr edx, 0x18
mov byte [esp + ecx + 0x7b], dl
mov edx, eax
shr edx, 0x10
mov byte [esp + ecx + 0x7a], dl
mov edx, eax
shr edx, 8
mov byte [esp + ecx + 0x79], dl
mov byte [esp + ecx + 0x78], al
or ecx, 0xffffffff
xor eax, eax
add esp, 4
add bl, 4
add esi, 9
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0xaf76ef
movsx ecx, bl
lea eax, [ecx - 1]
add ecx, 0xfffffffd
cmp eax, ecx
jl 0xaf7785
mov cl, byte [esp + eax + 0x74]
test cl, cl
jne 0xaf7785
dec bl
dec eax
movsx ecx, bl
sub ecx, 3
cmp eax, ecx
jge 0xaf7770
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x114]
push eax
rep stosd dword es:[edi], eax
movsx eax, bl
lea edx, [esp + 0x118]
push 0x400
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.00adc7d8
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0xaf77dd
cmp byte [esp + ecx + 0x114], 0x3d
jne 0xaf77dd
mov byte [esp + ecx + 0x114], 0
dec ecx
jns 0xaf77c8
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
xor dl, dl
xor esi, esi
mov byte [esp + 0x10], dl
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0xaf781b
mov al, byte [esp + esi + 0x114]
lea edi, [esp + 0x114]
xor dl, al
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0xaf77f8
mov byte [esp + 0x10], dl
mov esi, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [esi - 8]
test ecx, ecx
jle 0xaf7836
mov bl, byte [eax + esi]
xor dl, bl
inc eax
cmp eax, ecx
jl 0xaf7828
mov byte [esp + 0x10], dl
mov eax, dword [esp + 0x10]
mov ecx, 0x32
and eax, 0xff
push 0x1007b868
cdq
idiv ecx
lea ecx, [esp + 0x2c]
mov dl, byte [edx + 0x1007ceac]
mov byte [esp + 0x14], dl
call fcn.00b0e737
push eax
lea eax, [esp + 0x118]
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0xd28], 9
call fcn.00b0e986
mov edx, dword [esp + 0x10]
mov byte [esp + 0xd1c], 0xa
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00b0cc35
lea ecx, [esp + 0x20]
lea edx, [esp + 0x44]
push ecx
mov bl, 0xb
push eax
push edx
mov byte [esp + 0xd28], bl
call fcn.00b0e8ac
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xd20], 0xc
call fcn.00b0e7b6
lea ecx, [esp + 0x44]
mov byte [esp + 0xd1c], bl
call fcn.00b0e6c9
lea ecx, [esp + 0x48]
mov byte [esp + 0xd1c], 0xa
call fcn.00b0e6c9
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd1c], 9
call fcn.00b0e6c9
lea ecx, [esp + 0x28]
mov byte [esp + 0xd1c], 8
call fcn.00b0e6c9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xd48]
push eax
push 0x1007b0d4
push ecx
call fcn.00b01669
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0xd1c], 5
call fcn.00b0e6c9
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd1c], 4
call fcn.00b0e6c9
lea ecx, [esp + 0x24]
mov byte [esp + 0xd1c], 2
call fcn.00b0e6c9
lea ecx, [esp + 0x40]
mov byte [esp + 0xd1c], 1
call fcn.00b0e6c9
lea ecx, [esp + 0x14]
mov byte [esp + 0xd1c], 0
call fcn.00b0e6c9
lea ecx, [esp + 0x18]
mov dword [esp + 0xd1c], 0xffffffff
call fcn.00b0e6c9
mov ecx, dword [esp + 0xd14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd10
ret