Function at 0x10004943
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075618
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1009d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0
push 0x100899ef
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100028b0
mov dword [ebp - 4], 0
mov esi, dword [0x100a23bc]
test esi, esi
jne 0x10004748
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10005980
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10004991
inc ecx
push ecx
jmp 0x10004986
cmp byte [0x100a2432], 0
je 0x10004789
mov ecx, 0xd78c9c
call fcn.10014880
mov edi, eax
test edi, edi
je 0x10004786
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call ebx
test eax, eax
jne 0x10004786
push 4
add edi, 0x6a8
push edi
call ebx
test eax, eax
jne 0x10004786
mov ax, word [edi]
mov word [esi + 0x3c], ax
mov edi, dword [ebp - 0x48]
movzx eax, word [esi + 0x3c]
add eax, 0xffffff9b
cmp eax, 0x6f
ja case.0x100047a0.113
movzx eax, byte [eax + 0x100049d8]
jmp dword [eax*4 + 0x100049b4]
mov cl, 0x1a
mov dword [ebp - 0x40], 0x687b511a
mov dword [ebp - 0x3c], 0x4d3a696f
xor eax, eax
mov dword [ebp - 0x38], 0x7368687b
mov word [ebp - 0x34], 0x6875
mov byte [ebp - 0x32], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x100047df
mov cl, byte [ebp - 0x40]
jmp 0x100047d0
mov byte [ebp - 0x32], 0
jmp 0x10004965
mov cl, 0x33
mov dword [ebp - 0x3c], 0x41527833
mov dword [ebp - 0x38], 0x61134046
xor eax, eax
mov dword [ebp - 0x34], 0x5646545c
mov byte [ebp - 0x30], 0
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x10004814
mov cl, byte [ebp - 0x3c]
jmp 0x10004805
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x3b]
jmp 0x10004968
xor cl, cl
mov byte [ebp - 0x3c], 0x61
xor cl, byte [ebp - 0x3c]
mov al, 0x2a
xor al, byte [ebp - 0x3c]
xor bh, bh
mov byte [ebp - 0x3b], al
mov ah, 0x12
mov byte [ebp - 0x41], 6
mov dl, 0x13
mov al, byte [ebp - 0x41]
mov bl, 0x14
mov byte [ebp - 0x3a], cl
mov ch, 0x41
mov cl, byte [ebp - 0x3c]
mov dh, 0x2c
xor al, cl
mov byte [ebp - 0x42], 4
mov byte [ebp - 0x33], al
xor ah, cl
mov al, byte [ebp - 0x42]
xor dl, cl
mov byte [ebp - 0x31], bh
xor bl, cl
xor ch, cl
mov byte [ebp - 0x37], ah
xor dh, cl
mov byte [ebp - 0x39], dl
xor bh, cl
mov byte [ebp - 0x38], bl
xor al, cl
mov byte [ebp - 0x36], ch
mov byte [ebp - 0x32], al
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x35], dh
mov byte [ebp - 0x34], bh
mov byte [ebp - 0x31], 0
jmp 0x10004968
mov cl, 0x17
mov dword [ebp - 0x3c], 0x65765c17
mov dword [ebp - 0x38], 0x47376462
xor eax, eax
mov dword [ebp - 0x34], 0x64727e65
mov word [ebp - 0x30], 0x63
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x100048b6
mov cl, byte [ebp - 0x3c]
jmp 0x100048a7
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x3b]
jmp 0x10004968
movaps xmm0, xmmword [0x100924a0]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x79
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x100048d5
mov byte [ebp - 0x2f], 0
jmp 0x10004965
movaps xmm0, xmmword [0x10091bf0]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xe
jb 0x100048f5
mov byte [ebp - 0x31], 0
jmp 0x10004965
mov cl, 0x50
mov dword [ebp - 0x40], 0x703c1550
mov dword [ebp - 0x3c], 0x31223f1d
xor eax, eax
mov dword [ebp - 0x38], 0x311d7034
mov word [ebp - 0x34], 0x3537
mov byte [ebp - 0x32], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x100047df
mov cl, byte [ebp - 0x40]
jmp 0x10004930
movaps xmm0, xmmword [0x10091e90]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x10004954
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005ae0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10005980
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10004991
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10002790
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003a2a5
mov esp, ebp
pop ebp
ret 4