Function at 0x4548cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
lea eax, [ecx + 0x16c]
mov dword [ebp - 0x14], ecx
push esi
mov esi, eax
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov dword [ebp - 0x1c], 1
push edi
mov edi, eax
mov dword [ebp - 0xc], ebx
lea edx, [esi + 0x7d6]
mov dword [ebp - 0x38], edx
cmp dword [ebp + 8], ebx
je 0x454e5a
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x454e5a
and dword [ebp - 8], 0
mov dword [ecx + 0x96c], ebx
mov ebx, dword [ebp + 8]
test edx, edx
jle 0x454e4b
cmp esi, dword [ebp - 0x38]
ja 0x454e3e
mov dl, byte [ebx]
movsx eax, dl
mov dword [ebp - 0x10], esi
cmp eax, 0x3f
jg 0x454a14
je 0x454980
cmp eax, 0x24
je 0x454967
cmp eax, 0x29
jle 0x454a2c
cmp eax, 0x2b
jle 0x454980
cmp eax, 0x2e
jne 0x454a2c
mov byte [esi], 2
inc esi
jmp 0x454dac
cmp byte [ebx + 1], 0
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
jne 0x454b04
mov byte [esi], 5
inc esi
jmp 0x454db2
cmp ebx, dword [ebp + 8]
je 0x454df1
mov al, byte [edi]
mov dword [ebp - 0x10], edi
cmp al, 0xb
je 0x454dac
cmp al, 0xd
je 0x454dac
cmp al, 4
je 0x454dea
cmp al, 5
jle 0x4549b2
cmp al, 0xa
jle 0x454dea
cmp dl, 0x2b
jne 0x4549d7
mov eax, esi
xor edx, edx
sub eax, edi
cmp esi, edi
mov edi, dword [ebp - 0x10]
sbb ecx, ecx
not ecx
and ecx, eax
jbe 0x4549da
mov al, byte [edi]
mov byte [esi], al
inc esi
inc edi
inc edx
cmp edx, ecx
jb 0x4549ca
jmp 0x4549da
mov edi, dword [ebp - 0x10]
mov byte [esi], 0
inc esi
mov byte [esi], 0
lea edx, [esi + 1]
jmp 0x4549ec
mov al, byte [esi - 1]
mov byte [esi], al
dec esi
cmp esi, edi
ja 0x4549e6
cmp byte [ebx], 0x3f
jne 0x4549fa
mov byte [esi], 0xc
jmp 0x454a0a
cmp byte [ebx + 1], 0x3f
sete al
lea eax, [eax*2 + 0xb]
mov byte [esi], al
mov ecx, dword [ebp - 0x14]
mov esi, edx
jmp 0x454daf
sub eax, 0x5b
je 0x454c05
dec eax
je 0x454b14
dec eax
dec eax
je 0x454af1
cmp byte [ebp + 0x14], 0
je 0x454a92
cmp dl, 0x28
jne 0x454a5d
mov eax, dword [ebp - 0x1c]
cmp eax, 0xa
jge 0x454df8
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ecx + edx*4 + 0x144], eax
mov byte [esi], 6
mov byte [esi + 1], al
add esi, 2
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x454a87
cmp dl, 0x29
jne 0x454a92
cmp byte [edi], 6
je 0x454e06
mov edx, dword [ebp - 0xc]
test edx, edx
jle 0x454dff
mov byte [esi], 7
mov al, byte [ecx + edx*4 + 0x144]
mov byte [esi + 1], al
add esi, 2
dec edx
mov dword [ebp - 0xc], edx
mov edi, dword [ebp - 0x10]
jmp 0x454db2
mov byte [ebp - 0x28], dl
test dl, dl
jne 0x454a9f
add dl, 0x5c
mov byte [ebp - 0x28], dl
cmp byte [ebp + 0x10], 0
jne 0x454ae3
mov edi, dword [ebp - 0x14]
movzx ecx, dl
mov eax, dword [edi + 0x994]
cmp byte [ecx + eax], 2
mov ecx, edi
jne 0x454ae3
push 0
push dword [ebp - 0x28]
mov byte [esi], 3
inc esi
call fcn.00454657
push 0x20
lea ecx, [edi + 0x970]
pop edx
mov al, byte [ecx]
mov byte [esi], al
inc esi
mov byte [ecx], 0
inc ecx
dec edx
jne 0x454ad0
mov ecx, edi
jmp 0x454dac
mov byte [esi], 1
mov byte [esi + 1], dl
add esi, 2
jmp 0x454dac
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
cmp ebx, dword [ebp + 8]
jne 0x454b04
mov byte [esi], 4
jmp 0x45497a
mov byte [esi], 1
mov al, byte [ebx]
mov byte [esi + 1], al
add esi, 2
jmp 0x454db2
inc dword [ebp - 8]
inc ebx
mov cl, byte [ebx]
mov al, cl
cmp al, 0x31
jl 0x454b7a
cmp al, 0x39
jle 0x454b43
cmp al, 0x3c
je 0x454b3e
cmp al, 0x3e
jne 0x454b7a
cmp byte [edi], 8
je 0x454e0d
mov byte [esi], 9
inc esi
jmp 0x454da9
mov byte [esi], 8
jmp 0x454b38
mov edx, dword [ebp - 0xc]
movsx eax, cl
sub eax, 0x30
test edx, edx
jle 0x454b60
mov edi, dword [ebp - 0x14]
cmp dword [edi + edx*4 + 0x144], eax
je 0x454e14
cmp dword [ebp - 0x1c], eax
jle 0x454e1b
mov ecx, dword [ebp - 0x14]
mov byte [esi], 0xa
mov byte [esi + 1], al
add esi, 2
jmp 0x454a8a
cmp byte [ebp + 0x14], 0
jne 0x454bba
cmp cl, 0x28
jne 0x454b99
mov eax, dword [ebp - 0x1c]
cmp eax, 0xa
jge 0x454e22
mov ecx, dword [ebp - 0x14]
jmp 0x454a43
cmp cl, 0x29
jne 0x454bba
cmp byte [edi], 6
je 0x454e30
mov edx, dword [ebp - 0xc]
test edx, edx
jle 0x454e29
mov ecx, dword [ebp - 0x14]
jmp 0x454a76
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push ebx
mov ecx, edi
call fcn.00454737
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x2c]
add ebx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
test eax, eax
js 0x454be7
mov byte [esi], 1
mov byte [esi + 1], al
add esi, 2
jmp 0x454adc
push 0x20
mov byte [esi], 3
lea ecx, [edi + 0x970]
inc esi
pop edx
mov al, byte [ecx]
mov byte [esi], al
inc esi
mov byte [ecx], 0
inc ecx
dec edx
jne 0x454bf4
jmp 0x454adc
mov eax, dword [ebp - 8]
xor edi, edi
mov byte [esi], 3
inc esi
inc eax
mov dword [ebp - 0x18], edi
inc ebx
mov dword [ebp - 8], eax
cmp byte [ebx], 0x5e
jne 0x454c26
inc eax
mov byte [ebp - 1], 0xff
mov dword [ebp - 8], eax
inc ebx
jmp 0x454c2a
mov byte [ebp - 1], 0
cmp byte [ebx], 0x2d
jne 0x454c43
push 0x2d
pop edi
inc eax
mov dword [ebp - 0x18], edi
push edi
mov dword [ebp - 8], eax
call fcn.00454635
mov eax, dword [ebp - 8]
inc ebx
cmp byte [ebx], 0x5d
jne 0x454c59
push 0x5d
pop edi
inc eax
mov dword [ebp - 0x18], edi
push edi
mov dword [ebp - 8], eax
call fcn.00454635
inc ebx
mov al, byte [ebx]
test al, al
je 0x454e37
cmp al, 0x5d
je 0x454d86
cmp al, 0x2d
jne 0x454d26
test edi, edi
jns 0x454c88
push 0x2d
pop edi
push edi
mov dword [ebp - 0x18], edi
call fcn.00454635
jmp 0x454d74
mov al, byte [ebx + 1]
test al, al
je 0x454e37
cmp al, 0x5d
je 0x454c77
inc dword [ebp - 8]
lea ecx, [edi + 1]
inc ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], ebx
movzx eax, byte [ebx]
mov dword [ebp - 0x20], eax
cmp eax, 0x5c
jne 0x454cf7
inc ebx
cmp byte [ebx], 0
je 0x454e37
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
push ebx
mov ecx, edi
call fcn.00454737
mov edx, dword [ebp - 8]
add ebx, dword [ebp - 0x3c]
inc edx
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x30], ebx
test eax, eax
js 0x454cee
push eax
mov ecx, edi
call fcn.00454635
mov eax, dword [ebp - 0x20]
mov edi, eax
jmp 0x454cf1
or edi, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
test edi, edi
jns 0x454d03
mov ecx, dword [ebp - 0x14]
jmp 0x454c77
cmp ecx, eax
mov ecx, dword [ebp - 0x14]
jg 0x454d74
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push dword [ebp + 0x10]
push ebx
call fcn.00454657
inc ebx
cmp ebx, edi
jle 0x454d10
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
jmp 0x454d74
cmp al, 0x5c
jne 0x454d65
cmp byte [ebx + 1], 0
mov ecx, dword [ebp - 0x14]
je 0x454d65
lea eax, [ebp - 0x40]
inc ebx
push eax
push ebx
call fcn.00454737
add ebx, dword [ebp - 0x40]
mov edi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
inc eax
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], eax
test edi, edi
js 0x454d5d
push edi
jmp 0x454c7e
or edi, 0xffffffff
mov dword [ebp - 0x18], edi
jmp 0x454d77
push dword [ebp + 0x10]
movzx edi, al
push eax
mov dword [ebp - 0x18], edi
call fcn.00454657
mov eax, dword [ebp - 8]
inc eax
inc ebx
mov dword [ebp - 8], eax
mov al, byte [ebx]
test al, al
jne 0x454c63
cmp byte [ebx], 0
je 0x454e37
mov ah, byte [ebp - 1]
add ecx, 0x970
push 0x20
pop edx
mov al, byte [ecx]
xor al, ah
mov byte [esi], al
inc esi
mov byte [ecx], 0
inc ecx
dec edx
jne 0x454d9b
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
inc ebx
mov dword [ebp - 8], eax
cmp eax, dword [ebp + 0xc]
jl 0x454926
test edx, edx
jle 0x454e4b
cmp byte [ebp + 0x14], 0
mov eax, 0x4e9638
mov ecx, dword [ebp - 0x34]
mov byte [ecx], 0
jne 0x454e6d
mov eax, str.Unmatched__
jmp 0x454e6d
mov eax, str.Illegal_closure
jmp 0x454e43
mov eax, str.Empty_closure
jmp 0x454e43
mov eax, str.Too_many____pairs
jmp 0x454e43
mov eax, 0x4e962c
jmp 0x454e43
mov eax, str.Null_pattern_inside___
jmp 0x454e43
mov eax, 0x4e9578
jmp 0x454e43
mov eax, str.Cyclical_reference
jmp 0x454e43
mov eax, str.Undetermined_reference
jmp 0x454e43
mov eax, 0x4e95c0
jmp 0x454e43
mov eax, 0x4e95f0
jmp 0x454e43
mov eax, 0x4e95d4
jmp 0x454e43
mov eax, str.Missing__
jmp 0x454e43
mov eax, str.Pattern_too_long
mov ecx, dword [ebp - 0x34]
mov byte [ecx], 0
jmp 0x454e6d
mov byte [esi], 0
mov dword [ecx + 0x96c], 1
jmp 0x454e62
cmp dword [ecx + 0x96c], ebx
je 0x454e66
xor eax, eax
jmp 0x454e6d
mov byte [eax], bl
mov eax, str.No_previous_regular_expression
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10