Function at 0x10030520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056858
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1006a018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x2c], 0x3d
mov dl, 0x49
xor dl, byte [ebp - 0x2c]
mov al, 0x5f
xor al, byte [ebp - 0x2c]
mov dh, 0x62
mov byte [ebp - 0x2b], al
mov ah, 0x53
mov byte [ebp - 0x2a], dl
mov cl, 0x5e
mov dl, byte [ebp - 0x2c]
mov ch, 0x51
mov byte [ebp - 0x39], 0x52
xor dh, dl
mov al, byte [ebp - 0x39]
xor ah, dl
xor al, dl
mov byte [ebp - 0x3a], 0x4e
mov byte [ebp - 0x25], al
xor cl, dl
mov al, byte [ebp - 0x3a]
xor ch, dl
xor al, dl
mov byte [ebp - 0x35], 0x58
mov byte [ebp - 0x24], al
sub esp, 0x18
mov al, byte [ebp - 0x35]
mov byte [ebp - 0x28], dh
xor al, dl
mov edx, esp
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x29], ah
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x26], ch
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100305cb
mov eax, dword [edx]
jmp 0x100305cd
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x100305da
xor ecx, ecx
jmp 0x100305e9
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100305e0
sub ecx, esi
push ecx
lea eax, [ebp - 0x2b]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [edi]
call fcn.10011b00
movaps xmm0, xmmword [0x10062a40]
add esp, 0x18
mov dword [edi + 4], eax
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
nop
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0xe
jb 0x10030610
sub esp, 0x18
mov byte [ebp - 0x21], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003063e
mov eax, dword [edx]
jmp 0x10030640
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2f], 0
jne 0x1003064d
xor ecx, ecx
jmp 0x1003065c
lea ecx, [ebp - 0x2f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030653
sub ecx, esi
push ecx
lea eax, [ebp - 0x2f]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [edi]
call fcn.10011b00
add esp, 0x18
mov dword [edi + 8], eax
mov dl, 0x77
mov dword [ebp - 0x30], 0x101a1e77
mov dword [ebp - 0x2c], 0x1b120428
xor ecx, ecx
mov dword [ebp - 0x28], 0x1e031412
mov word [ebp - 0x24], 0x1918
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x2f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xd
jae 0x100306a9
mov dl, byte [ebp - 0x30]
jmp 0x10030698
sub esp, 0x18
mov byte [ebp - 0x22], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100306ca
mov eax, dword [edx]
jmp 0x100306cc
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2f], 0
jne 0x100306d9
xor ecx, ecx
jmp 0x100306e9
lea ecx, [ebp - 0x2f]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100306e0
sub ecx, esi
push ecx
lea eax, [ebp - 0x2f]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [edi + 8]
call fcn.10011b00
add esp, 0x18
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x37]
mov word [ebp - 0x38], 0x25
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x37], 0
mov dword [ebp - 0x60], 0xf
push 0
push eax
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
call fcn.100052b0
mov dword [ebp - 4], 0
mov esi, dword [edi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10030756
push 4
push esi
call edi
test eax, eax
jne 0x10030756
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call dword [0x1006251c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x1003076f
inc eax
push eax
push dword [ebp - 0x74]
call fcn.10005180
mov dl, 0x79
mov dword [ebp - 0x30], 0xa181b79
mov dword [ebp - 0x2c], 0x11c261c
xor ecx, ecx
mov dword [ebp - 0x28], 0x1718111a
mov word [ebp - 0x24], 0x1c1e
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x2f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xd
jae 0x100307a3
mov dl, byte [ebp - 0x30]
jmp 0x10030792
sub esp, 0x18
mov byte [ebp - 0x22], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100307c4
mov eax, dword [edx]
jmp 0x100307c6
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2f], 0
jne 0x100307d3
xor ecx, ecx
jmp 0x100307e9
lea ecx, [ebp - 0x2f]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100307e0
sub ecx, esi
push ecx
lea eax, [ebp - 0x2f]
mov ecx, edx
push eax
call fcn.100052b0
mov esi, dword [ebp - 0x40]
mov ecx, dword [esi]
call fcn.10011b00
add esp, 0x18
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [ebp - 0x4c], 0x14
mov dword [ebp - 0x48], eax
sub esp, 0x18
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x44], esp
mov dl, 0x2f
mov byte [ebp - 0x38], dl
mov cl, 0x4b
xor cl, dl
mov byte [ebp - 0x35], 0
push eax
mov al, 0xa
mov byte [ebp - 0x36], cl
xor al, dl
mov dword [ebp - 0x24], 0
sub esp, 0x18
mov byte [ebp - 0x37], al
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x37], 0
jne 0x1003085a
xor ecx, ecx
jmp 0x1003086c
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030860
sub ecx, esi
mov esi, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100052b0
push dword [ebp - 0x44]
call fcn.1000be20
mov ecx, dword [esi + 0x20]
add esp, 0x20
call fcn.10011b00
add esp, 0x18
mov dword [ebp - 0x28], eax
call fcn.1000f080
mov esi, eax
test esi, esi
je 0x10030a6f
mov dword [ebp - 0x24], esi
call fcn.10011f80
mov ecx, eax
call dword [0x10062514]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10030a6f
mov edx, dword [ebp - 0x40]
push 4
mov dword [esi], eax
push eax
mov edx, dword [edx]
mov dword [ebp - 0x44], edx
call edi
test eax, eax
jne 0x100308ef
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100308ef
push 4
push eax
call edi
test eax, eax
jne 0x100308ef
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x8c]
call eax
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0xcc]
mov dword [ecx + 0x13c], 0
mov dword [ecx + 0x140], 0
mov dword [ecx + 0x144], 0x3f340000
mov dword [ecx + 0x148], 0x3f340000
mov dword [ecx + 0x1f0], 0
mov dword [ecx + 0x1f4], 0
mov dword [ecx + 0x1f8], 0
mov dword [ecx + 0x1fc], 0
call eax
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1003097a
push 4
push eax
call edi
test eax, eax
jne 0x1003097a
mov eax, dword [ebp - 0x34]
add eax, 0xb4
push 4
push eax
mov dword [ebp - 0x34], eax
call edi
test eax, eax
jne 0x1003097a
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xb
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1003099a
push 4
push eax
call edi
test eax, eax
jne 0x1003099a
mov ecx, dword [ebp - 0x34]
push pe_nt_image_headers32
call dword [0x100624fc]
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
test eax, eax
je 0x100309e6
push 4
push eax
call edi
test eax, eax
jne 0x100309e2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0xcc]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0xd0]
mov dword [ebp - 0x50], eax
movups xmm0, xmmword [ebp - 0x5c]
jmp 0x100309e6
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10030a09
push 4
push eax
call edi
test eax, eax
jne 0x10030a09
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
call dword [0x10062520]
mov edi, dword [esi]
test edi, edi
je 0x10030a40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030a40
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xd8], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0xdc], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xe0], eax
mov esi, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10030a5e
push 4
push esi
call edi
test eax, eax
jne 0x10030a5e
push eax
mov ecx, esi
call dword [0x100624e8]
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x24]
call fcn.10031ff0
jmp 0x10030a72
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
inc eax
sub dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], eax
jne 0x10030811
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052ee0
mov esp, ebp
pop ebp
ret