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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
and dword [esp], edi
push esi
push edx
push ecx
sub esp, 4
xor dword [esp], ebx
xor ebx, dword [esp]
xor dword [esp], ebx
mov ebx, dword [esp]
push ebp
push 0xffffffffffffffff
push 0x7fe3cf6f
sub esp, 0x3f
mov dword [esp + 0x3b], 0x7fe32e77
add esp, 0x3b
push 0xffffffffffffffff
call fcn.1009fdd2
or esi, 0xffffffff
inc esi
xor esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
and edx, 0x5e7d6a0b
push dword [ebp + 0xc]
lea esp, [esp - 0x44]
mov edx, dword [esp + 0x44]
lea esp, [esp + 0x48]
mov dword [edx + 4], 0
lea ebx, [edx + 8]
cld
mov edi, 0x7fe43562
sub esp, 4
mov dword [esp], 0x7fe4355f
call fcn.1009ea63
lea ecx, [eax]
mov ah, byte [esi]
inc esi
inc edi
push edi
call fcn.1009e55a
cmp al, ah
jne 0x100a9809
mov byte [ebx], al
inc ebx
inc dword [edx + 4]
cmp dword [edx + 4], 0xe
jae 0x100a9f1c
cmp al, 0xf
jne 0x100a97ac
cmp al, byte [esi]
jne 0x100a9811
mov byte [ebx], al
inc dword [edx + 4]
cmp dword [edx + 4], 0xe
jae 0x100a9f1c
inc esi
jmp 0x100a9811
dec ecx
jne 0x100a97c5
dec esi
mov eax, 0
mov ecx, dword [edx + 4]
dec ecx
js 0x100a9872
cmp byte [ecx + edx + 8], 0xf
jne 0x100a9872
inc eax
dec ecx
js 0x100a9872
cmp byte [ecx + edx + 8], 0xf
jne 0x100a986a
mov dword [ebp - 4], 1
mov eax, 0xa40
lea edi, [ebp + 0x10]
mov edi, dword [edi]
mov ebx, dword [edi + eax]
push edi
push dword [ebp + 0xc]
sub esp, 4
mov dword [esp], ebx
call fcn.100a828c
jmp 0x100a9aa5
movzx ecx, byte [ecx + edx + 8]
mov dword [ebp - 8], ecx
shl eax, 0xa
movzx ebx, byte [esi]
shl ebx, 2
add eax, ebx
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + eax]
sub esp, 4
mov dword [esp], edi
push dword [ebp + 0xc]
lea esp, [esp - 4]
xchg dword [esp], ebx
xor ebx, esi
and ebx, 0
or ebx, dword [esp]
add esp, 4
lea esp, [esp - 4]
call fcn.100a828c
cmp eax, 3
jne 0x100a98f3
add ebx, 4
mov cl, byte [esi + 1]
shr cl, 3
and cl, 7
and ecx, 7
je 0x100a993f
sub esp, 4
xor dword [esp], ebx
xor ebx, dword [esp]
xor dword [esp], ebx
mov ebx, dword [esp]
call fcn.100a81c3
shl eax, 2
add ebx, eax
dec ecx
jne 0x100a98c8
jmp 0x100a993f
cmp eax, 4
jne 0x100a993f
add ebx, 4
mov cl, byte [esi + 1]
shr cl, 6
and cl, 3
cmp cl, 3
jne 0x100a9927
movzx ecx, byte [esi + 1]
and ecx, 0x3f
add ecx, 8
shl ecx, 2
add ebx, ecx
jmp 0x100a993f
mov cl, byte [esi + 1]
shr cl, 3
and cl, 7
and ecx, 7
shl ecx, 2
add ebx, ecx
jmp 0x100a993f
add esp, 0xfffffffc
mov dword [esp], ebx
call fcn.100a81c3
mov ecx, eax
mov edx, dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 0x10]
push edx
lea esp, [esp - 0x1e]
mov dword [esp + 0x1a], ebx
lea esp, [esp + 0x1a]
call fcn.100a828c
cmp eax, 0xffffffff
jne 0x100a9a71
xor eax, eax
not eax
and eax, 0xf3
cmp dword [edx + 0x54], 1
je 0x100a99bd
push 0
and eax, 0xa5b8cf96
or eax, 0xffffffff
not eax
xor eax, dword [esp]
add esp, 4
not eax
and eax, 0xf2
cmp dword [edx + 0x54], 2
je 0x100a99bd
xor eax, eax
or eax, 0x66
cmp dword [edx + 0x54], 3
jne 0x100a99c6
cmp dword [ebp - 8], eax
jne 0x100a9a71
cmp dword [edx + 0x64], 1
jne 0x100a9a52
mov al, byte [esi + 1]
shr al, 6
and al, 3
and eax, 3
push 0
or dword [esp], eax
call fcn.100a9704
test dword [edx + 0x68], eax
je 0x100a9a71
test dword [edx + 0x70], 0x100
jne 0x100a9a15
mov al, byte [esi + 1]
shr al, 3
and al, 7
and eax, 7
push eax
call fcn.100a9704
test dword [edx + 0x70], eax
je 0x100a9a71
test dword [edx + 0x6c], 0x100
jne 0x100a9a52
mov al, byte [esi + 1]
and al, 7
and eax, 7
lea esp, [esp - 4]
xchg dword [esp], eax
sub eax, 0x77a15bc5
and eax, dword [esp]
or eax, dword [esp]
add esp, 4
lea esp, [esp - 4]
call fcn.100a9704
test dword [edx + 0x6c], eax
je 0x100a9a71
cmp edi, 0
je 0x100a9a6f
cmp dword [edx + 0x54], 0
je 0x100a9a71
cmp dword [edx + 0x54], 4
jae 0x100a9a71
mov edi, ebx
lea ebx, [ebx + 4]
dec ecx
jne 0x100a9951
mov eax, 6
cmp edi, 0
je 0x100a9ee4
and ebx, 0
add ebx, edi
push dword [ebp + 0x10]
push edx
push ebx
call fcn.100a828c
cmp eax, 0xffffffff
jne 0x100a9ee4
inc esi
xor eax, eax
xor edi, edi
mov ecx, dword [edx + 4]
cmp ecx, 0
je 0x100a9ad7
cmp byte [edi + edx + 8], 0x66
jne 0x100a9ac2
inc al
cmp byte [edi + edx + 8], 0x67
jne 0x100a9acf
inc ah
inc edi
dec ecx
jne 0x100a9ab5
mov cl, ah
and eax, 1
and ecx, 1
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x30], 0xffffffff
mov dword [edx + 0x3c], 0xffffffff
cmp dword [edx + 0x64], 1
jne 0x100a9ced
mov al, byte [esi]
mov byte [edx + 0x2d], al
mov al, byte [esi]
shr al, 6
and al, 3
and eax, 3
mov dword [edx + 0x30], eax
mov al, byte [esi]
shr al, 3
and al, 7
mov dword [edx + 0x34], eax
mov al, byte [esi]
and al, 7
mov dword [edx + 0x38], eax
inc esi
cmp dword [edx + 0x30], 3
je 0x100a9ced
cmp dword [edx], 0x10
je 0x100a9c86
cmp dword [edx + 0x20], 1
je 0x100a9c90
cmp dword [edx + 0x38], 4
jne 0x100a9bd4
mov al, byte [esi]
mov byte [edx + 0x2e], al
mov al, byte [esi]
shr al, 6
and al, 3
and eax, 3
mov dword [edx + 0x3c], eax
mov al, byte [esi]
shr al, 3
and al, 7
push edi
xchg edi, edx
or edx, 0xaecf51d5
mov edx, edi
push esi
sub esi, esi
add esi, esp
sub esi, 0x44
mov esi, dword [esi + 0x32]
push 0xf8f2edaa
xchg dword [esp], esi
mov dword [esp], esi
lea esp, [esp + 4]
xor esi, 0xf8f2edea
add edi, esi
xchg dword [esp], esi
mov dword [esp], esi
lea esp, [esp + 4]
mov dword [edi], eax
pop edi
mov al, byte [esi]
and al, 7
mov dword [edx + 0x44], eax
inc esi
cmp dword [edx + 0x44], 5
jne 0x100a9bd4
cmp dword [edx + 0x30], 0
jne 0x100a9bd4
xor ecx, ecx
sub ecx, 4
neg ecx
mov eax, dword [esi]
jmp 0x100a9c11
mov dword [edx + 0x4c], 0
cmp dword [edx + 0x30], 0
je 0x100a9c6c
cmp dword [edx + 0x30], 1
je 0x100a9c4a
mov eax, dword [esi]
push 0
shr ecx, 0xd
shr ecx, 0x13
sub ecx, 0xffffffff
neg ecx
sub esp, 0x40
and ecx, dword [esp + 0x40]
add esp, 0x44
add ecx, 4
and dword [edx + 0x4c], ecx
or dword [edx + 0x4c], ecx
push esi
shr esi, 0x11
shr esi, 0xf
not esi
and esi, 0x5d4f9054
xor esi, 0x5d4f9004
add esi, edx
mov dword [esi], eax
pop esi
lea eax, [esi]
sub eax, dword [ebp + 8]
mov dword [edx + 0x48], eax
add esi, ecx
jmp 0x100a9ced
movzx eax, byte [esi]
or ecx, 0xffffffff
not ecx
or ecx, 1
jmp 0x100a9c11
cmp dword [edx + 0x38], 5
je 0x100a9bef
jmp 0x100a9ced
cmp dword [edx + 0x20], 1
je 0x100a9b3e
cmp dword [edx + 0x30], 0
je 0x100a9cd7
cmp dword [edx + 0x30], 1
je 0x100a9cb9
movzx eax, word [esi]
or ecx, 0xffffffff
inc ecx
or ecx, 2
jmp 0x100a9c11
movzx eax, byte [esi]
and ecx, 0
add ecx, 1
jmp 0x100a9c11
cmp dword [edx + 0x38], 6
je 0x100a9ca4
jmp 0x100a9ced
mov ecx, dword [edx + 0x80]
or ecx, ecx
je 0x100a9dbe
xor ebx, ebx
push ecx
mov dword [edx + ebx + 0xa4], 0
test dword [edx + ebx + 0x88], 4
je 0x100a9dad
test dword [edx + ebx + 0x8c], 8
jne 0x100a9dad
test dword [edx + ebx + 0x8c], 1
jne 0x100a9d65
mov ecx, dword [edx + ebx + 0x98]
cmp dword [edx + 0x1c], 0
je 0x100a9d7e
mov ecx, dword [edx + ebx + 0x9c]
jmp 0x100a9d7e
push edx
lea edx, [edx + 0x78]
add edx, 0
mov ecx, dword [edx]
pop edx
cmp dword [edx + 0x20], 0
je 0x100a9d7e
lea ecx, [edx + 0x7c]
mov ecx, dword [ecx]
lea edi, [edx + ebx + 0xa8]
shr ecx, 3
mov dword [edx + ebx + 0xa4], ecx
cmp ecx, 0
je 0x100a9dad
shl eax, 5
shl eax, 0x1b
or eax, esi
sub eax, dword [ebp + 8]
mov dword [edx + ebx + 0xa0], eax
cld
rep movsb byte es:[edi], byte [esi]
add ebx, 0x3c
mov ecx, dword [esp]
lea esp, [esp + 4]
dec ecx
jne 0x100a9cfd
cmp dword [ebp - 4], 1
jne 0x100a9e10
movzx eax, byte [esi]
shl eax, 2
add eax, 0x800
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + eax]
push edi
push dword [ebp + 0xc]
lea esp, [esp - 0x17]
mov dword [esp + 0x13], ebx
lea esp, [esp + 0x13]
call fcn.100a828c
inc esi
sub esi, dword [ebp + 8]
push eax
or eax, 0xffffffff
inc eax
add eax, 0xd96b41ad
xor eax, 0xd96b4189
add eax, edx
mov dword [eax], esi
pop eax
jmp 0x100a9ee4
sub esi, dword [ebp + 8]
mov dword [edx + 0x24], esi
mov dword [edx + 0x18], 0xffffffff
mov ecx, dword [edx + 4]
cmp ecx, 0
je 0x100a9e4e
xor eax, eax
lea esi, [edx + 8]
mov al, byte [esi]
cmp al, 0x26
jb 0x100a9e46
cmp al, 0x65
ja 0x100a9e46
and dword [edx + 0x18], eax
or dword [edx + 0x18], eax
inc esi
dec ecx
jne 0x100a9e2e
mov ecx, dword [edx + 0x80]
or ecx, ecx
je 0x100a9edf
xor ebx, ebx
push 0
add dword [esp], ecx
test dword [edx + ebx + 0x8c], 1
jne 0x100a9e9b
mov ecx, dword [edx + ebx + 0x98]
cmp dword [edx + 0x1c], 0
je 0x100a9ec8
mov ecx, dword [edx + ebx + 0x9c]
jmp 0x100a9ec8
mov ecx, dword [edx + 0x78]
cmp dword [edx + 0x20], 0
je 0x100a9ec8
push edx
push esi
lea esi, [edx]
mov esi, 0xd99dc177
xor esi, 0xd99dc10b
add edx, esi
lea esp, [esp - 0x30]
mov esi, dword [esp + 0x30]
lea esp, [esp + 0x34]
mov ecx, dword [edx]
pop edx
mov dword [edx + ebx + 0x94], ecx
mov ecx, dword [esp]
add esp, 4
add ebx, 0x3c
dec ecx
jne 0x100a9e5e
mov eax, 0xffffffff
call fcn.1009fe8e
mov ebx, dword [esp]
lea esp, [esp + 4]
mov ecx, dword [esp]
add esp, 4
pop edx
sub esp, 0x52
xor dword [esp + 0x52], esi
xor esi, dword [esp + 0x52]
xor dword [esp + 0x52], esi
mov dword [esp + 0x52], esi
add esp, 0x56
pop edi
leave
ret 0xc
mov eax, 7
jmp 0x100a9ee4