Function at 0x10047d30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a47d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
sub eax, esi
lea edi, [edx + 1]
cmp edi, eax
jbe 0x10047d87
xor al, al
jmp 0x10047d8a
mov al, byte [esi + edx]
movzx eax, al
mov dword [ecx + 8], edi
sub eax, 0
je 0x10047f13
sub eax, 1
jne 0x100480a1
mov cl, 0x76
mov dword [ebp - 0x3c], 0x2193a76
mov dword [ebp - 0x38], 0xf041302
mov dword [ebp - 0x34], 0x18130033
mov word [ebp - 0x30], 2
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x10047dcf
mov cl, byte [ebp - 0x3c]
jmp 0x10047dc0
xorps xmm0, xmm0
mov byte [ebp - 0x2f], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047df0
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005220
mov dword [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x10076a70]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x51081d1d
mov dword [ebp - 0x44], 0x1f181e1b
mov dword [ebp - 0x40], 0x5f1514
nop
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x1a
jb 0x10047e30
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x57]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047e60
sub ecx, edx
lea eax, [ebp - 0x57]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10005220
push 0
push ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x70]
push eax
push eax
call dword [0x1007529c]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10047ec9
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047ebf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047f0d
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100480a1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048097
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048097
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
call fcn.1000ad80
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10047edb
cmp eax, 0xff
ja 0x10047edb
mov cl, 0x50
mov dword [ebp - 0x3c], 0x243f1c50
mov dword [ebp - 0x38], 0x29223524
xor eax, eax
mov dword [ebp - 0x34], 0x3e352615
mov word [ebp - 0x30], 0x24
nop dword [eax]
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x10047f7f
mov cl, byte [ebp - 0x3c]
jmp 0x10047f70
xorps xmm0, xmm0
mov byte [ebp - 0x2f], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047fa0
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10005220
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
cmova edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047fe0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.10005220
push 0
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x54]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x70]
push eax
push eax
call dword [0x1007529c]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10048046
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004803c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048082
push ecx
push edx
call fcn.100662c0
add esp, 8
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x10047edb
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048088
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048088
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
jmp 0x10047edb
push ecx
push edx
call fcn.100662c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4