Function at 0x145dd46
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 0xe668c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1458
push ebx
call fcn.015054e0
push esi
mov esi, ecx
mov dword [ebp - 0xd8], esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 2
lea ecx, [esi + 8]
push 0
mov byte [esi], 0
call fcn.0148ef50
mov byte [ebp - 4], 1
sub esp, 8
mov dword [ebp - 0x24], 1
mov eax, esp
lea ecx, [ebp - 0x78]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0148b390
add esp, 8
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x1e], 0xf9e1e1f2
mov dword [ebp - 0x1a], 0xf6f5f1f1
mov word [ebp - 0x16], 0x100
nop dword [eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x145ddb0
lea eax, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
push eax
mov ecx, esi
call fcn.01491600
mov byte [ebp - 4], 1
mov edi, eax
mov cl, byte [ebp - 0x78]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov byte [ebp - 0x78], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x78]
mov dword [edi + 8], eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], esi
call fcn.0148aff0
push 0x104
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.01506760
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0xe6c2e0]
lea ecx, [ebp - 0x468]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x145de30
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x145ed10
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x468]
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x160]
call fcn.01494f90
mov dword [ebp - 0x24], 0x41
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x58], 0xf9e7e4cf
mov dword [ebp - 0x54], 0xfff5f1f1
mov dword [ebp - 0x50], 0xf0f4b2e8
mov word [ebp - 0x4c], 0xf6
mov byte [ebp - 0x4a], 1
nop dword [eax + eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x58], al
inc ecx
cmp ecx, 0xd
jb 0x145dea0
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x4a], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x145deb7
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x150]
sub eax, edx
cmp eax, ecx
jb 0x145ed15
cmp dword [ebp - 0x14c], 0x10
lea eax, [ebp - 0x160]
push ecx
cmovae eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x58]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x148]
call fcn.01494f90
mov esi, 0x61
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 0x10
cmovae eax, dword [ebp - 0x148]
push eax
push 0x1000
lea eax, [ebp - 0x1468]
push eax
push edx
call fcn.01650cb7
lea edi, [ebp - 0x1468]
mov dword [ebp - 0x9c], edi
nop
mov dword [ebp - 0x1d], 0xf0fae6c3
xor ecx, ecx
mov dword [ebp - 0x19], 0xfcf4fe
mov byte [ebp - 0x15], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 7
jb 0x145df54
push 7
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x15], 0
push eax
push edi
call fcn.01511d5e
add esp, 0xc
test eax, eax
jne 0x145ec23
push 0x104
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.01506760
add esp, 0xc
mov dword [ebp - 0x42], 0xfee1f5c3
cmp dword [ebp - 0x134], 0x10
lea edx, [ebp - 0x148]
mov word [ebp - 0x3e], 0x100
cmovae edx, dword [ebp - 0x148]
xor ecx, ecx
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x42], al
inc ecx
cmp ecx, 4
jb 0x145dfb4
push edx
push 0x104
lea eax, [ebp - 0x360]
mov byte [ebp - 0x3d], 0
push eax
push 0
lea eax, [ebp - 0x42]
push eax
push edi
call fcn.01653988
cmp cl, byte [ebp - 0x389938b3]
inc ebp
invalid
push edi
push eax
call fcn.0172c9fa
inc edi
add edi, eax
mov dword [ebp - 0x9c], edi
cmp byte [edi], 0
jne 0x145df40
mov ecx, dword [ebp - 0x134]
cmp ecx, 0x10
jb 0x145ec76
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x145ec6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x145ed1a
push ecx
push edx
call fcn.01504783
add esp, 8
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
cmp ecx, 0x10
jb 0x145ecc7
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x145ecbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x145ed1a
push ecx
push edx
call fcn.01504783
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x145ecf7
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x145eced
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x145ed1a
push ecx
push edx
call fcn.01504783
add esp, 8
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.01429840
call fcn.01429840
call fcn.01509a20
lea ecx, [ebp - 0xe8]
call fcn.0148f220
push eax
lea ecx, [ebp - 0x20c]
call fcn.01429f00
push eax
mov edx, 0xe80e10
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x224]
call fcn.014913b0
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1d8]
call fcn.01430120
add esp, 4
lea eax, [ebp - 0x1d8]
push 0xe916e8
push eax
call fcn.0150616b
lea ecx, [ebp - 0x78]
call fcn.0148f220
push eax
lea ecx, [ebp - 0x23c]
call fcn.01429f00
push eax
mov edx, 0xe80e10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x254]
call fcn.014913b0
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1f4]
call fcn.01430120
add esp, 4
lea eax, [ebp - 0x1f4]
push 0xe916e8
push eax
call fcn.0150616b
int3