Function at 0x100472b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10092726
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x16c]
xor edi, edi
push 0x100da440
push 0xe
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov ebx, 0xe1
call fcn.10079cfe
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
cmp esi, edi
je 0x10047365
mov ebp, 0x100a2298
xor eax, eax
sub ebp, esi
lea ebx, [ebx]
mov edx, eax
lea edi, [eax + esi]
mov cl, byte [edi + ebp]
xor edx, 0x2a
add edx, ebx
xor cl, bl
and edx, 0xff
inc eax
cmp eax, 0xd
mov byte [edi], cl
mov ebx, edx
jl 0x10047340
mov byte [esi + 0xd], 0
xor edi, edi
mov dword [esp + 0x160], edi
mov ebp, 0
mov edi, 0x1009ec00
sub edi, 0xba3eb74
mov ebx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
je 0x1004744d
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 + 0x20], ebx
cmp eax, ebp
je 0x1004744d
movzx ecx, word [edi + 0xba3eb74]
xor cx, 0x2e
mov word [eax], cx
movzx edx, word [edi + 0xba3eb76]
xor dx, 0x58
mov word [eax + 2], dx
mov ecx, 0x83
xor cx, word [edi + 0xba3eb78]
mov edx, 0xab
mov word [eax + 4], cx
xor dx, word [edi + 0xba3eb7a]
mov ecx, 0xd4
mov word [eax + 6], dx
xor cx, word [edi + 0xba3eb7c]
mov word [eax + 8], cx
movzx edx, word [edi + 0xba3eb7e]
xor dx, 2
mov word [eax + 0xa], dx
movzx ecx, word [edi + 0xba3eb80]
xor cx, 0x31
mov word [eax + 0xc], cx
movzx edx, word [edi + 0xba3eb82]
xor dx, 0x5d
mov word [eax + 0xe], dx
mov ecx, 0x8a
xor cx, word [edi + 0xba3eb84]
xor edx, edx
mov word [eax + 0x10], cx
mov word [eax + 0x12], dx
mov byte [esp + 0x160], 1
mov ecx, dword [0x100e38a0]
mov edx, dword [0x100e3948]
mov eax, ecx
xor eax, dword [0x100e389c]
cmp edx, eax
je 0x10047485
mov eax, dword [0x100e3898]
xor eax, dword [0x100e3894]
push ebx
add eax, edx
call eax
mov ecx, dword [0x100e38a0]
jmp 0x10047487
xor eax, eax
xor ecx, dword [0x100e389c]
mov edx, dword [0x100e3954]
cmp edx, ecx
je 0x100474ad
mov ecx, dword [0x100e3898]
xor ecx, dword [0x100e3894]
push esi
add ecx, edx
push eax
call ecx
mov edi, eax
jmp 0x100474af
xor edi, edi
mov byte [esp + 0x160], 0
cmp ebx, ebp
je 0x100474c8
push ebx
call fcn.10079d09
add esp, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x160], 0xffffffff
cmp esi, ebp
je 0x100474e4
push esi
call fcn.10079d09
add esp, 4
mov dword [esp + 0x28], ebp
cmp edi, ebp
je 0x10047541
push 0x11c
lea ecx, [esp + 0x38]
push ebp
push ecx
call fcn.1007dcf0
add esp, 0xc
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x11c
call edi
test eax, eax
jl 0x10047541
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
movzx eax, byte [esp + 0x14e]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, 1
jmp 0x10047543
xor eax, eax
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10079a05
add esp, 0x150
ret 8