Function at 0x475e84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [0x7299bc]
mov esi, dword [eax - 4]
mov eax, dword [0x7299bc]
mov ebx, dword [eax - 8]
test byte [ebx], 0x1a
je 0x475f76
test byte [esi], 0x3a
jne 0x475ebf
test byte [esi + 1], 4
je 0x475f76
cmp dword [esi + 8], 1
jne 0x475f76
push ebx
call fcn.00483af8
pop ecx
push edx
push eax
push esi
call fcn.00483af8
pop ecx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0xc], 0xffffffff
jne 0x475ef0
cmp dword [ebx + 8], 0xc4653601
jb 0x475f05
jmp 0x475ef2
jl 0x475f05
cmp dword [ebx + 0xc], 2
jne 0x475f03
cmp dword [ebx + 8], 0x540be3ff
jbe 0x475f0c
jmp 0x475f05
jle 0x475f0c
mov eax, 0x14
jmp 0x475f11
mov eax, 0xa
mov dword [ebx + 0x10], eax
mov dword [ebx], 8
sub dword [0x7299bc], 4
mov edx, dword [0x7299bc]
cmp edx, dword [0x7299b8]
jae 0x475f42
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x475f65
mov edx, dword [0x7299bc]
push dword [edx]
call fcn.00483dcd
pop ecx
jmp 0x4763f8
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
xor edx, edx
mov dword [eax], edx
jmp 0x4763f8
test byte [ebx + 1], 4
je 0x476070
test byte [esi + 1], 4
je 0x476070
mov ecx, dword [ebx + 8]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x476015
cmp dword [ebp - 8], 0
je 0x476015
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], ecx
test byte [ebx + 1], 4
je 0x475fc2
cmp dword [ebx + 0xc], 0
je 0x475fc2
mov eax, dword [ebx + 0x14]
cmp dword [eax], 1
je 0x475ff0
mov edx, dword [ebp - 4]
inc edx
push edx
call sym.SISCOM.EXE__hb_xgrab
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebx + 0x10]
push dword [ebp - 0xc]
call fcn.004d9148
add esp, 0xc
push dword [ebp - 4]
push dword [ebp - 0xc]
push ebx
call fcn.00484210
add esp, 0xc
xor ecx, ecx
mov edx, ecx
mov eax, ecx
cmp eax, dword [ebp - 4]
jae 0x476015
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + edx]
mov ebx, dword [ebp - 0xc]
xor byte [ebx + eax], cl
inc edx
cmp edx, dword [ebp - 8]
jne 0x47600f
xor edx, edx
inc eax
cmp eax, dword [ebp - 4]
jb 0x475ffb
sub dword [0x7299bc], 4
mov eax, dword [0x7299bc]
cmp eax, dword [0x7299b8]
jae 0x47603c
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x47605f
mov edx, dword [0x7299bc]
push dword [edx]
call fcn.00483dcd
pop ecx
jmp 0x4763f8
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
xor edx, edx
mov dword [eax], edx
jmp 0x4763f8
test byte [ebx + 1], 4
je 0x47614d
test byte [esi], 0x3a
jne 0x476093
test byte [esi + 1], 4
je 0x47614d
cmp dword [esi + 8], 1
jne 0x47614d
mov edi, dword [ebx + 8]
test edi, edi
je 0x4760f3
push esi
call fcn.004823fb
pop ecx
mov byte [ebp - 0x11], al
mov esi, dword [ebx + 0x10]
test byte [ebx + 1], 4
je 0x4760bb
cmp dword [ebx + 0xc], 0
je 0x4760bb
mov eax, dword [ebx + 0x14]
cmp dword [eax], 1
je 0x4760ea
lea edx, [edi + 1]
push edx
call sym.SISCOM.EXE__hb_xgrab
pop ecx
mov esi, eax
lea eax, [edi + 1]
push eax
push dword [ebx + 0x10]
push esi
call fcn.004d9148
add esp, 0xc
push edi
push esi
push ebx
call fcn.00484210
add esp, 0xc
jmp 0x4760ea
mov dl, byte [ebp - 0x11]
xor byte [esi + edi], dl
mov ecx, edi
add edi, 0xffffffff
test ecx, ecx
jne 0x4760e4
sub dword [0x7299bc], 4
mov eax, dword [0x7299bc]
cmp eax, dword [0x7299b8]
jae 0x47611a
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov edx, dword [0x7299bc]
mov ecx, dword [edx]
test dword [ecx], 0xf505
je 0x47613c
mov eax, dword [0x7299bc]
push dword [eax]
call fcn.00483dcd
pop ecx
jmp 0x4763f8
mov edx, dword [0x7299bc]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
jmp 0x4763f8
test byte [ebx], 0x3a
jne 0x476166
test byte [ebx + 1], 4
je 0x47623a
cmp dword [ebx + 8], 1
jne 0x47623a
test byte [esi + 1], 4
je 0x47623a
push ebx
call fcn.00483af8
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0x10]
test ecx, ecx
je 0x476197
dec ecx
movsx eax, byte [esi + ecx]
cdq
xor dword [ebp - 0x1c], eax
xor dword [ebp - 0x18], edx
test ecx, ecx
jne 0x476187
mov dword [ebx], 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0xc], ecx
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4761ba
cmp dword [ebp - 0x1c], 0xc4653601
jb 0x4761cf
jmp 0x4761bc
jl 0x4761cf
cmp dword [ebp - 0x18], 2
jne 0x4761cd
cmp dword [ebp - 0x1c], 0x540be3ff
jbe 0x4761d6
jmp 0x4761cf
jle 0x4761d6
mov eax, 0x14
jmp 0x4761db
mov eax, 0xa
mov dword [ebx + 0x10], eax
sub dword [0x7299bc], 4
mov edx, dword [0x7299bc]
cmp edx, dword [0x7299b8]
jae 0x476206
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
test dword [eax], 0xf505
je 0x476229
mov edx, dword [0x7299bc]
push dword [edx]
call fcn.00483dcd
pop ecx
jmp 0x4763f8
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
xor edx, edx
mov dword [eax], edx
jmp 0x4763f8
test byte [ebx], 0x3a
jne 0x476253
test byte [ebx + 1], 4
je 0x476322
cmp dword [ebx + 8], 1
jne 0x476322
test byte [esi], 0x3a
jne 0x47626c
test byte [esi + 1], 4
je 0x476322
cmp dword [esi + 8], 1
jne 0x476322
push ebx
call fcn.00483af8
pop ecx
push edx
push eax
push esi
call fcn.00483af8
pop ecx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0xc], 0xffffffff
jne 0x47629d
cmp dword [ebx + 8], 0xc4653601
jb 0x4762b2
jmp 0x47629f
jl 0x4762b2
cmp dword [ebx + 0xc], 2
jne 0x4762b0
cmp dword [ebx + 8], 0x540be3ff
jbe 0x4762b9
jmp 0x4762b2
jle 0x4762b9
mov ecx, 0x14
jmp 0x4762be
mov ecx, 0xa
mov dword [ebx + 0x10], ecx
mov dword [ebx], 8
sub dword [0x7299bc], 4
mov eax, dword [0x7299bc]
cmp eax, dword [0x7299b8]
jae 0x4762ee
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov edx, dword [0x7299bc]
mov eax, dword [edx]
test dword [eax], 0xf505
je 0x476311
mov edx, dword [0x7299bc]
push dword [edx]
call fcn.00483dcd
pop ecx
jmp 0x4763f8
mov ecx, dword [0x7299bc]
mov eax, dword [ecx]
xor edx, edx
mov dword [eax], edx
jmp 0x4763f8
push esi
push ebx
push 2
push 0x70ca90
push 0
push 0x440
push 1
call fcn.004639a8
add esp, 0x1c
mov ebx, eax
test ebx, ebx
je 0x4763f8
sub dword [0x7299bc], 4
mov ecx, dword [0x7299bc]
cmp ecx, dword [0x7299b8]
jae 0x47636e
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov eax, dword [0x7299bc]
mov edx, dword [eax]
test dword [edx], 0xf505
je 0x47638d
mov ecx, dword [0x7299bc]
push dword [ecx]
call fcn.00483dcd
pop ecx
jmp 0x476398
mov eax, dword [0x7299bc]
mov edx, dword [eax]
xor ecx, ecx
mov dword [edx], ecx
sub dword [0x7299bc], 4
mov eax, dword [0x7299bc]
cmp eax, dword [0x7299b8]
jae 0x4763bf
push 0
push 0
push 0
push 0x233b
call fcn.00463c60
add esp, 0x10
mov edx, dword [0x7299bc]
mov ecx, dword [edx]
test dword [ecx], 0xf505
je 0x4763de
mov eax, dword [0x7299bc]
push dword [eax]
call fcn.00483dcd
pop ecx
jmp 0x4763ea
mov edx, dword [0x7299bc]
mov ecx, dword [edx]
xor eax, eax
mov dword [ecx], eax
push ebx
call fcn.00483cac
pop ecx
push ebx
call fcn.00481e22
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret