Function at 0x477d0f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c27ef
call fcn.004c1d38
sub esp, 0xcc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 0x10], ebx
jne 0x477d3b
xor al, al
jmp 0x478437
mov dword [ebp - 0x14], 0x7e2799ac
push 1
lea ecx, [ebp - 0x78]
call fcn.0041fb6c
mov dword [ebp - 0x20], 0x80bfe737
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
jmp 0x477d6b
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x78]
mov dword [eax + ecx*4], 0xa733e34b
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 1
jl 0x477d5b
mov dword [ebp - 0x2c], 0xdf7
cmp dword [ebp - 0x2c], 0xf24
jle 0x477dcd
mov esi, ebx
mov edi, ebx
mov eax, esi
mov ecx, edi
sar eax, cl
cdq
push edx
push eax
lea ecx, [ebp - 0xd8]
call fcn.0040195e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x477da3
mov eax, dword [eax]
push eax
call fcn.004ac597
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.0041ff48
inc edi
cmp edi, 0x2f3b
jl 0x477d85
inc esi
cmp esi, 0x6328
jl 0x477d83
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2c], 0xd7c
jge 0x477de4
push 0xac178c
call fcn.004ac597
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x477e0d
mov dword [ebp - 0x30], ebx
jmp 0x477e23
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xc0], 0x4b06
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 4
jl 0x477e12
mov dword [ebp - 0x14], ebx
jmp 0x477edc
push 1
lea ecx, [ebp - 0x84]
call fcn.0041fb6c
mov dword [ebp - 0x28], 0xc7555b7c
mov dword [ebp - 0x3c], ebx
xor edx, edx
inc edx
jmp 0x477e60
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], 0x8b72fd49
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], edx
jl 0x477e4d
mov dword [ebp - 0x28], ebx
jmp 0x477e79
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], edx
jl 0x477e6a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x78]
mov dword [eax], ecx
test ecx, ecx
jne 0x477eb9
cmp dword [ebp - 0xc0], ebx
jne 0x477eb3
mov ecx, edx
mov esi, dword [ebp - 0x78]
sub ecx, dword [esi]
xor edx, edx
mov eax, dword [ebp - 0x84]
cmp ecx, dword [eax]
setge dl
xor eax, eax
cmp edx, 0x456574b6
setl al
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x84]
call fcn.0041fc3e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffffa
jge 0x477e31
lea ecx, [ebp - 0x78]
call fcn.0041fc3e
mov eax, dword [ebp - 0x48]
mov dword [eax], ebx
cmp dword [edi + 0x14], 0x10
jb 0x477efd
mov ecx, dword [edi]
jmp 0x477eff
mov ecx, edi
mov dword [ebp - 0x40], ecx
cmp dword [edi + 0x14], 0x10
jb 0x477f0c
mov edx, dword [edi]
jmp 0x477f0e
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x47840b
call fcn.004777ca
mov eax, dword [ebp - 0x40]
mov al, byte [eax]
cmp al, 0x30
jl 0x477f53
cmp al, 0x39
jg 0x477f53
call fcn.00477ac9
push 0x6d22
push ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x3da4
call fcn.0049d82d
add esp, 0x14
mov ecx, dword [ebp - 0x40]
inc ecx
jmp 0x477eff
mov dword [ebp - 0x34], 0x692b
push 1
lea ecx, [ebp - 0x6c]
call fcn.0041fb6c
mov dword [ebp - 0x1c], 0x2e88
mov dword [ebp - 0x18], 0x881826f
mov dword [ebp - 0x14], ebx
jmp 0x477f87
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x6c]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x477f77
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x6c]
mov dword [eax], ecx
mov dword [ebp - 0x34], ebx
jmp 0x47802c
mov dword [ebp - 0x14], ebx
jmp 0x477fb0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x54], 8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x477fa2
mov byte [ebp - 0x36], bl
cmp byte [ebp - 0x36], 0
je 0x477fc7
push ebx
push ebx
call dword [0xad6074]
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x54]
test eax, eax
jne 0x477fdb
cmp dword [ebp - 0x50], ebx
jne 0x477fdb
mov ecx, ebx
jmp 0x477fde
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x34]
xor edx, edx
cmp ecx, eax
setle dl
sub edx, 0x6ec7
neg edx
sbb edx, edx
inc edx
mov ecx, dword [ebp - 0x54]
imul ecx, edx
xor edx, edx
mov eax, dword [ebp - 0x6c]
cmp ecx, dword [eax]
setne dl
mov eax, 0xb4837182
cmp eax, edx
sbb ecx, ecx
inc ecx
mov eax, dword [ebp - 0x34]
sub eax, ecx
cmp eax, dword [ebp - 0x1c]
jge 0x47801a
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x6c]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], ebx
jle 0x477f9d
lea ecx, [ebp - 0x6c]
call fcn.0041fc3e
push ebx
lea eax, [ebp - 0x48]
push eax
call fcn.0047bf48
pop ecx
pop ecx
mov dword [ebp - 0x14], 0x328a062b
mov dword [ebp - 0x20], 0xe56e31bb
mov dword [ebp - 0x2c], 0xfb6
cmp dword [ebp - 0x2c], 0x1017
jle 0x4780b1
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov ebx, esi
mov ecx, edi
sar ebx, cl
mov esi, dword [ebp - 0x20]
mov eax, ebx
mov ecx, esi
sar eax, cl
cdq
push edx
push eax
mov ecx, 0xad3018
call fcn.0041fa28
inc esi
cmp esi, 0x2735
jl 0x47807a
inc edi
cmp edi, 0x7a13
push 0
pop ebx
mov esi, dword [ebp - 0x1c]
jl 0x47806e
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x64e9
jl 0x47806c
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0xe5f
jge 0x4780d7
mov edx, 0xac17f0
mov ecx, 0xad3018
call fcn.004217de
or dword [ebp - 4], 0xffffffff
jmp 0x4780fd
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x18], 7
push 2
lea ecx, [ebp - 0x90]
call fcn.0041fb6c
mov dword [ebp - 0x24], ebx
jmp 0x478139
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x44], 2
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 1
jl 0x47812b
mov dword [ebp - 0x24], ebx
jmp 0x478157
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x90]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x478144
mov dword [ebp - 0x44], 0x13
cmp dword [ebp - 0x44], 5
jg 0x4783f3
push 2
lea ecx, [ebp - 0x60]
call fcn.0041fb6c
mov dword [ebp - 0x18], 0xecbe92e3
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0xb0]
call fcn.004776c4
mov eax, dword [ebp - 0x60]
mov dword [eax], ebx
cmp dword [eax], 0xffffffea
jne 0x4783e3
mov dword [ebp - 0x20], 0xbe9f
mov dword [ebp - 0x14], 0x3603
cmp dword [ebp - 0x14], 0x3661
jle 0x4781f8
mov edi, ebx
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], edi
mov ecx, esi
shl edi, cl
mov eax, edi
or eax, ebx
cdq
push edx
push eax
mov ecx, 0xad3018
call fcn.0041fa28
inc ebx
cmp ebx, 0x3fd7
jl 0x4781c3
inc esi
cmp esi, 0x5e38
push 0
pop ebx
mov edi, dword [ebp - 0x1c]
jl 0x4781b9
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x3a04
jl 0x4781b7
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 4
cmp dword [ebp - 0x14], 0x335e
jge 0x47821e
mov edx, 0xac1850
mov ecx, 0xad3018
call fcn.004217de
or dword [ebp - 4], 0xffffffff
jmp 0x478244
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x18], 0x8592840c
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x4c], 0xffff
mov eax, dword [ebp - 0x60]
cmp dword [eax], ebx
je 0x4782cf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je 0x4782cc
mov dword [ebp - 0x18], 0x2c49fe67
mov eax, dword [ebp - 0x60]
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp esi, eax
setg cl
xor edx, edx
cmp esi, ecx
setne dl
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jl 0x4782cc
mov eax, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0x5e3aa9c1
mov dword [ebp - 0x1c], 0x4fb9
cmp dword [ebp - 0x1c], 0x5012
jle 0x478336
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov eax, edi
cdq
idiv esi
mov ebx, edx
mov edi, dword [ebp - 0x18]
mov eax, edi
xor eax, ebx
cdq
push edx
push eax
mov ecx, 0xad3018
call fcn.0041fa28
inc edi
cmp edi, 0x6af5
jl 0x478301
inc esi
cmp esi, 0x6703
push 0
pop ebx
mov edi, dword [ebp - 0x20]
jl 0x4782f4
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x576b
jl 0x4782f2
push 1
lea ecx, [ebp - 0xac]
call fcn.0041fb6c
mov dword [ebp - 4], 6
cmp dword [ebp - 0x1c], 0x4f86
jge 0x478362
mov edx, 0xac1898
mov ecx, 0xad3018
call fcn.004217de
or dword [ebp - 4], 0xffffffff
jmp 0x478388
mov dword [ebp - 0x18], 0x97bde515
mov dword [ebp - 0x14], ebx
jmp 0x4783a7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xac]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x478394
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], 0
je 0x4783cb
push 0x352
push 0x170
push 0x1ae9
call dword [0xad6094]
dec dword [ebp - 0x4c]
lea ecx, [ebp - 0xac]
call fcn.0041fc3e
mov eax, dword [ebp - 0x60]
dec dword [eax]
jmp 0x478192
lea ecx, [ebp - 0x60]
call fcn.0041fc3e
dec dword [ebp - 0x44]
jmp 0x478164
mov eax, dword [ebp - 0x90]
dec dword [eax]
lea ecx, [ebp - 0x90]
call fcn.0041fc3e
jmp 0x477d34
mov dword [ebp - 0x18], 0xcf5720e
call fcn.00477c1e
mov byte [ebp - 0x37], bl
cmp byte [ebp - 0x37], 0
je 0x478435
push 0x226f
push 0x1b39
push 0x20f
call dword [0xad6474]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret