Function at 0x409070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47098e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x48f088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x58]
call fcn.00408410
mov esi, eax
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
push eax
call fcn.00445610
add esp, 4
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040a820
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040a820
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x40931e
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x40912b
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409121
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409327
push edx
push ecx
call fcn.0044945e
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x409186
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40917c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40932c
push edx
push ecx
call fcn.0044945e
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x484cb0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.0040c030
mov byte [ebp - 4], 7
mov eax, 0xe
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov dword [ebp - 0x60], 0xd500d3
mov dword [ebp - 0x5c], 0xc900cf
mov dword [ebp - 0x58], 0xd300df
mov dword [ebp - 0x54], 0xa400ac
mov dword [ebp - 0x50], 0x9c00b0
mov dword [ebp - 0x4c], 0xa400b4
mov dword [ebp - 0x48], 0xaf00b2
mov dword [ebp - 0x44], 0xc8
nop word [eax + eax]
lea eax, [ecx + 0xba]
xor word [ebp + ecx*2 - 0x60], ax
inc ecx
mov eax, dword [ebp - 0x64]
cmp ecx, eax
jb 0x409210
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
xor eax, eax
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 7
lea edx, [ecx + 2]
mov word [ebp - 0x7c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409240
sub ecx, edx
lea eax, [ebp - 0x60]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040c030
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 8
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00424600
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x4092ae
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4092a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409331
push edx
push ecx
call fcn.0044945e
add esp, 8
mov edx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edx, 8
jb 0x4092fb
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4092f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409336
push edx
push ecx
call fcn.0044945e
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00408b80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448dec
mov esp, ebp
pop ebp
ret
push 0
push 0
call fcn.0044ac55
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
call fcn.0044e6c9
int3