Function at 0x48f7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5080e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0x10
je case.0x48f829.16
cmp dword [esi + 0x38], 0
je case.0x48f829.16
call fcn.0047c0b0
mov edi, eax
test edi, edi
jne 0x48ff1e
mov eax, dword [esi + 4]
cmp eax, 0xc
jne 0x48f820
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x82c], edi
je case.0x48f829.12
mov dword [esi + 4], 0x11
mov ecx, esi
call fcn.0048f5d0
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
cmp eax, 0x11
ja case.0x48f829.16
jmp dword [eax*4 + 0x48ff30]
mov eax, edi
mov dword [esi + 4], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0048d140
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0048db70
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0047c4a0
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0048e410
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0048ec20
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0047c240
mov edi, eax
test edi, edi
jne 0x48ff06
cmp dword [esi + 0x74], 0x16
jne 0x48fc3e
cmp dword [esi + 0x80], 4
jne 0x48f8fc
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xe
je 0x48fcad
cmp dword [esi], 0
je 0x48f92f
mov eax, dword [esi + 0xa0]
mov ecx, esi
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0xa8], 2
mov byte [eax], 2
mov eax, dword [esi + 0xa0]
mov byte [eax + 1], 0x32
call fcn.0047c140
mov edi, 0xffff8480
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x48]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, 5
je 0x48fa88
cmp eax, 6
je 0x48fa88
cmp eax, 8
je 0x48fa88
cmp eax, 0xb
je 0x48fa88
mov eax, dword [esi]
test byte [eax + 0x88], 1
jne 0x48f98b
cmp dword [esi + 0xb0], 0
je 0x48fa88
mov edi, dword [esi + 0x38]
mov ebx, 7
test edi, edi
je 0x48f9a1
mov edi, dword [edi + 0x1bc]
test edi, edi
jne 0x48f9a8
mov edi, dword [eax + 0x40]
test edi, edi
je 0x48fa11
mov edi, dword [edi]
test edi, edi
je 0x48fa11
nop
mov edx, dword [edi + 4]
mov eax, 0x3ffd
sub eax, ebx
mov dword [ebp - 0x14], edx
cmp edx, eax
ja 0x48fa70
mov eax, dword [esi + 0xa0]
mov ecx, edx
shr ecx, 0x10
push edx
mov byte [ebx + eax], cl
mov ecx, edx
mov eax, dword [esi + 0xa0]
shr ecx, 8
mov byte [eax + ebx + 1], cl
mov eax, dword [esi + 0xa0]
mov byte [eax + ebx + 2], dl
add ebx, 3
mov eax, dword [esi + 0xa0]
push dword [edi + 8]
add eax, ebx
push eax
call fcn.004bbb30
add ebx, dword [ebp - 0x14]
add esp, 0xc
mov edi, dword [edi + 0x134]
test edi, edi
jne 0x48f9b0
mov eax, dword [esi + 0xa0]
lea edx, [ebx - 7]
mov ecx, edx
shr edx, 8
shr ecx, 0x10
mov byte [eax + 4], cl
lea ecx, [ebx - 7]
mov eax, dword [esi + 0xa0]
mov byte [eax + 5], dl
mov eax, dword [esi + 0xa0]
mov byte [eax + 6], cl
mov ecx, esi
mov eax, dword [esi + 0xa0]
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa4], 0x16
mov byte [eax], 0xb
inc dword [esi + 4]
call fcn.0047c140
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov edi, 0xffff8b00
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [esi + 4], 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0048ed60
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0048f2c0
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xa0]
mov ecx, esi
mov dword [esi + 0xa4], 0x14
mov dword [esi + 0xa8], 1
mov byte [eax], 1
inc dword [esi + 4]
call fcn.0047c140
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 2
jl 0x48fb29
mov eax, dword [esi + 0x48]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 0x10]
add edx, dword [esi + 0x9c]
jmp 0x48fb2f
mov edx, dword [esi + 0x9c]
mov dword [esi + 0xa0], edx
mov eax, dword [esi]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x88]
and eax, 1
push eax
lea eax, [edx + 4]
push eax
mov eax, dword [ecx + 0x3d0]
push esi
call eax
cmp dword [esi + 0x14], 0
mov eax, 0x24
mov edi, 0xc
cmove edi, eax
mov eax, dword [esi + 0xa0]
add eax, 4
mov dword [esi + 0xc0], edi
push edi
push eax
lea eax, [esi + 0xc4]
push eax
call fcn.004bbb30
lea eax, [edi + 4]
mov dword [esi + 0xa4], 0x16
mov dword [esi + 0xa8], eax
add esp, 0x18
mov eax, dword [esi + 0xa0]
mov byte [eax], 0x14
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x81c], 0
je 0x48fbbe
mov eax, dword [esi]
test byte [eax + 0x88], 1
jne 0x48fbc1
mov dword [esi + 4], 0xf
jmp 0x48fbc1
inc dword [esi + 4]
mov eax, dword [esi + 0x90]
xorps xmm0, xmm0
mov ecx, esi
movq qword [eax], xmm0
mov eax, dword [esi + 0x48]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x2c], eax
call fcn.0047c140
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0047c240
mov edi, eax
test edi, edi
jne 0x48ff06
cmp dword [esi + 0x74], 0x14
je 0x48fc56
cmp dword [esi], 0
je 0x48fc3e
mov eax, dword [esi + 0xa0]
mov ecx, esi
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0xa8], 2
mov byte [eax], 2
mov eax, dword [esi + 0xa0]
mov byte [eax + 1], 0xa
call fcn.0047c140
mov edi, 0xffff8900
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x78], 1
jne 0x48fcc5
mov eax, dword [esi + 0x6c]
cmp byte [eax], 1
jne 0x48fcc5
mov eax, dword [esi + 0x48]
xorps xmm0, xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x5c]
movq qword [eax], xmm0
cmp dword [esi + 0x14], 2
jl 0x48fca7
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 0x10]
add ecx, dword [esi + 0x68]
mov dword [esi + 0x6c], ecx
inc dword [esi + 4]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x6c], ecx
inc dword [esi + 4]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
je 0x48fcf8
mov eax, dword [esi + 0xa0]
mov ecx, esi
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0xa8], 2
mov byte [eax], 2
mov eax, dword [esi + 0xa0]
mov byte [eax + 1], 0x32
call fcn.0047c140
mov edi, 0xffff8200
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x88]
not eax
and eax, 1
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ecx + 0x3d0]
push esi
call eax
add esp, 0xc
mov ecx, esi
call fcn.0047c240
mov edi, eax
test edi, edi
jne 0x48ff06
cmp dword [esi + 0x74], 0x16
jne 0x48fc0b
mov edi, dword [esi + 0x6c]
cmp byte [edi], 0x14
jne 0x48fdd1
cmp dword [esi + 0x80], 0x10
jne 0x48fdd1
add edi, 4
lea eax, [ebp - 0x10]
xor bl, bl
xor edx, edx
sub edi, eax
nop dword [eax]
lea eax, [ebp - 0x10]
add eax, edx
inc edx
mov cl, byte [edi + eax]
xor cl, byte [eax]
or bl, cl
cmp edx, 0xc
jb 0x48fd70
test bl, bl
jne 0x48fdd1
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [esi + 0xc0], 0xc
movq qword [esi + 0xd0], xmm0
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x81c], 0
je 0x48fcad
mov eax, dword [esi]
test byte [eax + 0x88], 1
jne 0x48fcb0
mov dword [esi + 4], 0xa
jmp 0x48fcb0
cmp dword [esi], 0
je 0x48fe04
mov eax, dword [esi + 0xa0]
mov ecx, esi
mov dword [esi + 0xa4], 0x15
mov dword [esi + 0xa8], 2
mov byte [eax], 2
mov eax, dword [esi + 0xa0]
mov byte [eax + 1], 0x32
call fcn.0047c140
mov edi, 0xffff8180
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov eax, edi
mov dword [esi + 4], 0xf
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
cmp dword [esi + 8], 1
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x81c]
mov dword [ebp - 0x14], eax
jne 0x48fe56
mov dword [esi + 8], 2
mov dword [esi + 0xc], 0
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x48fe9a
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x48fe74
call fcn.00480670
push dword [ebx + 0x64]
call fcn.004c3b98
add esp, 4
push dword [ebx + 0x6c]
call fcn.004c3b98
add esp, 4
mov eax, pe_nt_image_headers32
mov byte [ebx], 0
lea ebx, [ebx + 1]
sub eax, 1
jne 0x48fe84
push dword [esi + 0x30]
call fcn.004c3b98
add esp, 4
mov ecx, dword [esi]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x48fec5
cmp dword [eax + 0x10], 0
je 0x48fec5
cmp dword [ebp - 0x14], 0
jne 0x48fec5
push eax
push dword [ecx + 0x28]
call edx
add esp, 8
mov ecx, dword [esi + 0x38]
call fcn.0047d5b0
push dword [esi + 0x38]
call fcn.004c3b98
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [esi + 0x38], 0
test ecx, ecx
je 0x48fef6
call fcn.0047d520
push dword [esi + 0x44]
call fcn.004c3b98
add esp, 4
mov eax, dword [esi + 0x48]
inc dword [esi + 4]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov eax, 0xffff8f00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b992a
mov esp, ebp
pop ebp
ret