Function at 0x10047ab0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10092696
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [0x100e38a0]
xor eax, dword [0x100e389c]
mov ecx, dword [0x100e39ac]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
cmp ecx, eax
je 0x10047b1f
mov eax, dword [0x100e3898]
xor eax, dword [0x100e3894]
add eax, ecx
mov ecx, dword [esp + 0x108]
push ecx
push ebp
push 0x410
call eax
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebp
jne 0x10047b26
xor eax, eax
jmp 0x10047e19
mov eax, dword [0x100e4bac]
cmp eax, ebp
jne 0x10047d1c
push 0x100da440
push 0x1a
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov ebx, 2
call fcn.10079cfe
mov edi, eax
add esp, 8
mov dword [esp + 0x28], edi
cmp edi, ebp
je 0x10047b87
mov ebp, 0x100a22a8
xor eax, eax
sub ebp, edi
mov ecx, eax
lea esi, [eax + edi]
mov dl, byte [esi + ebp]
xor ecx, 0x2a
add ecx, ebx
xor dl, bl
and ecx, 0xff
inc eax
cmp eax, 0x19
mov byte [esi], dl
mov ebx, ecx
jl 0x10047b62
mov byte [edi + 0x19], 0
xor ebp, ebp
mov dword [esp + 0x100], ebp
mov ebp, 0
mov esi, 0x1009ec00
sub esi, 0xba3eb74
mov ebx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
je 0x10047c6f
xor ecx, ecx
mov eax, 0xa
mov edx, 2
mul edx
seto cl
push 0x100da440
neg ecx
or ecx, eax
push ecx
call fcn.10079cfe
add esp, 8
mov ebx, eax
mov dword [esp + 0x24], ebx
cmp eax, ebp
je 0x10047c6f
movzx ecx, word [esi + 0xba3eb74]
xor cx, 0x2e
mov word [eax], cx
movzx edx, word [esi + 0xba3eb76]
xor dx, 0x58
mov word [eax + 2], dx
mov ecx, 0x83
xor cx, word [esi + 0xba3eb78]
mov edx, 0xab
mov word [eax + 4], cx
xor dx, word [esi + 0xba3eb7a]
mov ecx, 0xd4
mov word [eax + 6], dx
xor cx, word [esi + 0xba3eb7c]
mov word [eax + 8], cx
movzx edx, word [esi + 0xba3eb7e]
xor dx, 2
mov word [eax + 0xa], dx
movzx ecx, word [esi + 0xba3eb80]
xor cx, 0x31
mov word [eax + 0xc], cx
movzx edx, word [esi + 0xba3eb82]
xor dx, 0x5d
mov word [eax + 0xe], dx
mov ecx, 0x8a
xor cx, word [esi + 0xba3eb84]
xor edx, edx
mov word [eax + 0x10], cx
mov word [eax + 0x12], dx
mov byte [esp + 0x100], 1
mov ecx, dword [0x100e38a0]
mov edx, dword [0x100e3948]
mov eax, ecx
xor eax, dword [0x100e389c]
cmp edx, eax
je 0x10047ca7
mov eax, dword [0x100e3898]
xor eax, dword [0x100e3894]
push ebx
add eax, edx
call eax
mov ecx, dword [0x100e38a0]
jmp 0x10047ca9
xor eax, eax
xor ecx, dword [0x100e389c]
mov edx, dword [0x100e3954]
cmp edx, ecx
je 0x10047ccd
mov ecx, dword [0x100e3898]
xor ecx, dword [0x100e3894]
push edi
add ecx, edx
push eax
call ecx
jmp 0x10047ccf
xor eax, eax
mov dword [0x100e4bac], eax
mov byte [esp + 0x100], 0
cmp ebx, ebp
je 0x10047ced
push ebx
call fcn.10079d09
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x100], 0xffffffff
cmp edi, ebp
je 0x10047d09
push edi
call fcn.10079d09
add esp, 4
mov dword [esp + 0x28], ebp
mov eax, dword [0x100e4bac]
mov esi, dword [esp + 0x14]
cmp eax, ebp
je 0x10047def
xor ebp, ebp
push ebp
push 0x18
lea ecx, [esp + 0x38]
push ecx
push ebp
push esi
call eax
test eax, eax
jne 0x10047def
mov eax, dword [0x100e38a0]
mov ecx, dword [0x100e39cc]
mov edx, eax
xor edx, dword [0x100e389c]
cmp ecx, edx
je 0x10047df4
mov eax, dword [0x100e3898]
xor eax, dword [0x100e3894]
lea edx, [esp + 0x48]
add eax, ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push 0x1c
push edx
push ecx
push esi
call eax
cmp eax, ebp
je 0x10047def
mov eax, dword [0x100e38a0]
mov ecx, dword [0x100e39cc]
mov edx, eax
xor edx, dword [0x100e389c]
cmp ecx, edx
je 0x10047df4
mov eax, dword [0x100e3898]
xor eax, dword [0x100e3894]
lea edx, [esp + 0x64]
add eax, ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x5c]
push 0x90
push edx
push ecx
push esi
call eax
cmp eax, ebp
je 0x10047def
movzx eax, word [esp + 0xa4]
cmp eax, 0x1450
ja 0x10047def
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x114]
push eax
push ecx
push esi
mov eax, 0x100e39cc
call fcn.10057660
test eax, eax
je 0x10047def
mov dword [esp + 0x1c], 1
mov eax, dword [0x100e38a0]
xor eax, dword [0x100e389c]
mov ecx, dword [0x100e38d8]
cmp ecx, eax
je 0x10047e15
mov edx, dword [0x100e3898]
xor edx, dword [0x100e3894]
push esi
add edx, ecx
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret