Function at 0x4626fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.00462340
mov ebx, eax
test ebx, ebx
jne 0x4627d0
cmp dword [ebp - 0x18], 0
jne 0x4627d0
cmp byte [ebp - 9], 0
je 0x462765
mov eax, dword [ebp - 8]
mov dword [eax], 0x7a129876
xor ebx, ebx
jmp 0x462ac8
mov dword [ebp - 0x1c], 0x20000
mov eax, dword [ebp - 0x1c]
call fcn.0040d864
mov dword [ebp - 0x18], eax
mov ecx, 0x20000
mov edx, 0xe0000
mov eax, dword [ebp - 0x18]
call fcn.00461e38
test al, al
jne 0x4627d0
mov eax, dword [0x66d7e4]
mov eax, dword [eax + 0x10]
test eax, eax
jb 0x4627b8
mov edx, dword [0x66d7e4]
cmp eax, 1
ja 0x4627b8
mov edx, dword [ebp - 0x18]
mov ecx, 0x20000
mov eax, 0xe0000
call fcn.00402da0
jmp 0x4627d0
mov eax, dword [ebp - 8]
mov dword [eax], 0x62348904
xor ebx, ebx
lea eax, [ebp - 0x18]
call fcn.0040d7e8
jmp 0x462ac8
test ebx, ebx
jne 0x4627e3
cmp dword [ebp - 0x18], 0
je 0x4627e3
mov esi, dword [ebp - 0x18]
add esi, 0x10000
test ebx, ebx
jne 0x4628a5
test esi, esi
je 0x4628a5
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xa]
mov edx, 0x10000
mov eax, esi
call fcn.004625c4
mov ecx, eax
test ecx, ecx
je 0x4628a5
cmp byte [ebp - 0xa], 0
je 0x462824
mov eax, dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x462830
mov eax, ecx
mov edi, dword [eax + 8]
movzx eax, word [eax + 6]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 9
jae 0x46283f
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
jmp 0x46284f
cmp dword [ebp - 0x10], 0x20000
jb 0x46284f
mov dword [ebp - 0x10], 0x20000
test edi, edi
je 0x4628a5
cmp edi, 0xe0000
jb 0x462874
mov eax, dword [ebp - 0x10]
add eax, edi
cmp eax, 0x100000
ja 0x462874
mov ebx, edi
sub ebx, 0xe0000
add ebx, dword [ebp - 0x18]
jmp 0x4628a5
cmp byte [ebp - 9], 0
jne 0x4628a5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.0040d864
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, edi
mov eax, dword [ebp - 0x20]
call fcn.00461e38
test al, al
je 0x4628a5
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xa5], 0
mov byte [ebp - 0xa3], 0
mov byte [ebp - 0x7f], 0
mov byte [ebp - 0x11], 0
test ebx, ebx
je 0x462910
cmp dword [ebp - 0x10], 0
je 0x462910
lea eax, [ebp - 0x7f]
push eax
lea eax, [ebp - 0x5b]
push eax
push 0x20
lea ecx, [ebp - 0xa3]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004620e0
test al, al
je 0x462910
cmp byte [ebp - 0xa3], 0
je 0x4628f3
mov byte [ebp - 0xa5], 0x40
cmp byte [ebp - 0x7f], 0
je 0x462900
or byte [ebp - 0xa5], 0x20
lea eax, [ebp - 0x5b]
mov edx, 0x10
call fcn.00411370
mov byte [ebp - 0x11], al
cmp byte [ebp - 0xa3], 0
jne 0x46298a
test esi, esi
je 0x46298a
lea ebx, [esi + 0xece0]
xor eax, eax
cmp byte [ebx + eax], 0x30
jb 0x462951
movzx edx, byte [ebx + eax]
cmp dl, 0x3a
jb 0x462939
cmp dl, 0x41
jb 0x462951
cmp byte [ebx + eax], 0x5b
jb 0x462945
cmp byte [ebx + eax], 0x61
jb 0x462951
cmp byte [ebx + eax], 0x7b
ja 0x462951
inc eax
cmp eax, 0x20
jl 0x462925
cmp eax, 6
jl 0x46296f
lea edx, [ebp - 0xa3]
mov ecx, eax
mov eax, ebx
xchg edx, eax
call fcn.004081f4
or byte [ebp - 0xa5], 0x10
jmp 0x46298a
lea ebx, [esi + 0xfff5]
mov eax, 0xa
lea edx, [ebp - 0xa3]
mov ecx, eax
mov eax, ebx
xchg edx, eax
call fcn.004081f4
xor eax, eax
mov dword [ebp - 4], eax
lea ebx, [ebp - 0xa3]
mov eax, ebx
call fcn.00408154
test eax, eax
jle 0x4629bf
lea edx, [ebx + eax]
xor ecx, ecx
mov dword [edx], ecx
lea edx, [eax + 3]
shr edx, 2
dec edx
test edx, edx
jl 0x4629bf
inc edx
xor eax, eax
mov ecx, dword [ebx + eax*4]
xor dword [ebp - 4], ecx
inc eax
dec edx
jne 0x4629b5
cmp byte [ebp - 0x7f], 0
je 0x462a0d
mov eax, dword [ebp - 4]
and eax, 0xffff
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xffff
xor eax, edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x7f]
mov eax, ebx
call fcn.00408154
test eax, eax
jle 0x462a0d
lea edx, [ebx + eax]
mov word [edx], 0
lea edx, [eax + 1]
shr edx, 1
dec edx
test edx, edx
jl 0x462a0d
inc edx
xor eax, eax
movzx ecx, word [ebx + eax*2]
xor word [ebp - 2], cx
inc eax
dec edx
jne 0x462a01
cmp byte [ebp - 0x11], 0
je 0x462a59
and word [ebp - 4], 0xf000
or byte [ebp - 0xa5], 0x10
lea ebx, [ebp - 0x5b]
xor eax, eax
lea edx, [eax + eax*2]
add edx, ebx
mov ecx, edx
movzx ecx, word [ecx]
and cx, 0xfff
movzx ecx, cx
xor dword [ebp - 4], ecx
inc edx
movzx edx, word [edx]
shr edx, 4
and edx, 0xfff
xor dword [ebp - 4], edx
inc eax
cmp eax, 5
jne 0x462a25
add ebx, 0xf
movzx eax, byte [ebx]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xfffffff
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xf00000
xor eax, edx
movzx edx, byte [ebp - 0xa5]
shl edx, 0x18
or eax, edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], 0
je 0x462a99
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
call fcn.004032f4
lea eax, [ebp - 0x18]
call fcn.0040d7e8
cmp dword [ebp - 0x20], 0
je 0x462ab4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
call fcn.004032f4
lea eax, [ebp - 0x20]
call fcn.0040d7e8
mov eax, dword [ebp - 4]
add eax, eax
shr eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret