Function at 0x415d30
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x572c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
push 1
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 1
mov byte [esi + 0xd], bl
call fcn.00401ed0
mov ecx, esi
call fcn.00415f80
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp dword [esi + 0x1c], ebx
jne 0x415f28
mov eax, dword [esi]
lea edi, [esi + 0x24]
push 0x36
push edi
mov ecx, esi
mov dword [esp + 0x24], edi
call dword [eax + 0x3c]
lea ecx, [esi + 0x52]
push ecx
lea ecx, [esp + 0x18]
call fcn.00413210
push ebx
push str.V2.01
lea ecx, [esp + 0x1c]
call fcn.00412440
cmp eax, 3
je 0x415dc8
mov dword [esi + 0x1c], 3
jmp 0x415f28
cmp dword [esi + 0x1c], ebx
jne 0x415f28
xor eax, eax
mov ax, word [esi + 0x58]
lea edx, [eax + eax*2]
shl edx, 3
push edx
call fcn.00564fcb
add esp, 4
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x415df9
mov dword [esi + 0x1c], 5
jmp 0x415ec5
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov edx, dword [esi]
mov cx, word [esi + 0x58]
mov byte [esp + 0x28], 2
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp word [esi + 0x58], bx
jbe 0x415f72
xor ebp, ebp
mov edx, dword [esi + 0x5c]
lea ecx, [esp + 0x10]
add edx, ebp
push edx
call fcn.00413210
lea ecx, [esp + 0x10]
call fcn.004133e0
mov edi, dword [esi + 0x5c]
mov eax, dword [esp + 0x10]
add edi, ebp
test eax, eax
je 0x415e52
mov eax, dword [eax + 8]
test eax, eax
je 0x415e52
dec eax
jmp 0x415e54
xor eax, eax
cmp al, 0xc
mov byte [esp + 0x18], al
jb 0x415e61
mov byte [esp + 0x18], 0xc
lea eax, [esp + 0x18]
push 1
push eax
push edi
call fcn.00549940
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x415e96
mov ecx, dword [esp + 0x18]
add eax, 0xc
and ecx, 0xff
inc edi
push ecx
push eax
push edi
call fcn.00549940
mov eax, dword [esp + 0x1c]
add esp, 0xc
xor edx, edx
inc ebx
mov dx, word [esi + 0x58]
add ebp, 0x18
cmp ebx, edx
jl 0x415e23
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x415ec1
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov dword [esp + 0x10], ebx
cmp byte [edi], 1
jb 0x415ee7
mov ecx, 0xffffffdc
lea eax, [esi + 0x25]
sub ecx, esi
mov bl, byte [eax]
xor bl, 0x60
mov byte [eax], bl
inc eax
xor ebx, ebx
mov bl, byte [edi]
lea edx, [ecx + eax]
cmp edx, ebx
jle 0x415ed4
mov al, byte [esi + 0x48]
lea edi, [esi + 0x48]
cmp al, 1
jb 0x415f0e
mov ecx, 0xffffffb8
lea eax, [esi + 0x49]
sub ecx, esi
mov dl, byte [eax]
xor ebx, ebx
xor dl, 0x60
mov byte [eax], dl
mov bl, byte [edi]
inc eax
lea edx, [ecx + eax]
cmp edx, ebx
jle 0x415efb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push eax
call fcn.00413210
mov ecx, dword [esp + 0x38]
push edi
call fcn.00413210
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 0
cmp eax, ebx
je 0x415f3f
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov dword [esp + 0x28], 0xffffffff
je 0x415f5d
push eax
lea ecx, [esp + 0x34]
call fcn.00411610
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x10]
jmp 0x415eae