Function at 0x410bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x54]
call fcn.004181a0
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0
call fcn.004181a0
mov eax, dword [0x46a7b4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x9c]
push 0
push 0x4000
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 3
call fcn.0044ee54
test eax, eax
je 0x410e56
mov eax, dword [edi + 0x98]
push 0
push 0x5001
push eax
lea ecx, [esp + 0x4c]
call fcn.0044ee54
test eax, eax
jne 0x410c67
lea ecx, [esp + 0x54]
call fcn.0044f18c
jmp 0x410e56
push 0x468dd4
lea ecx, [esp + 0x10]
call fcn.0044e896
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
call fcn.004182d0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x58]
call fcn.004181e0
test eax, eax
je 0x410e15
mov bl, 4
mov edx, dword [0x46a7b4]
mov dword [esp + 0x14], edx
push 0x20
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x80], bl
call fcn.00411f20
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 5
call fcn.0044e846
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], bl
call fcn.0044e74a
push 0x20
lea edx, [esp + 0x10]
push 1
push edx
call fcn.004120f0
fstp qword [esp + 0x40]
push 0x20
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.004120f0
fstp qword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 1
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00412370
mov esi, eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push 1
push ecx
lea eax, [esp + 0x54]
push edx
push eax
mov byte [esp + 0xa8], 6
call fcn.00412240
add esp, 0x38
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
push 0x468da4
push ecx
mov byte [esp + 0x84], 7
call fcn.00448c90
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 6
call fcn.0044e74a
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], bl
call fcn.0044e74a
mov ecx, dword [esp + 0xc]
xor dl, dl
mov byte [esp + 0x1c], dl
mov eax, dword [ecx - 8]
cmp eax, 1
jle 0x410d9d
add ecx, 2
dec eax
xor dl, byte [ecx]
add ecx, 2
dec eax
jne 0x410d91
mov byte [esp + 0x1c], dl
mov edx, dword [0x46a7b4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
and eax, 0xff
mov byte [esp + 0x70], 8
push eax
push 0x468d94
push ecx
call fcn.00448c90
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.0044eb2c
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
call fcn.004182d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], bl
call fcn.0044e74a
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 3
call fcn.0044e74a
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x58]
call fcn.004181e0
test eax, eax
jne 0x410c9b
push 0x468d70
lea ecx, [esp + 0x10]
call fcn.0044e896
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x40]
push edx
call fcn.004182d0
lea ecx, [esp + 0x54]
call fcn.0044f18c
lea ecx, [esp + 0x40]
call fcn.0044f18c
push 0
push 0x468680
push 0x4687e4
mov ecx, edi
call fcn.0044cc40
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 2
call fcn.0044e74a
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 1
call fcn.0044e74a
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 0
call fcn.0044ee11
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], 0xffffffff
call fcn.0044ee11
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret