Function at 0x439b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
add esp, 0xfffffd9c
mov edi, dword [esp + 0x278]
mov eax, dword [esp + 0x27c]
mov esi, dword [esp + 0x280]
mov ecx, dword [esp + 0x284]
mov edx, dword [eax]
mov dword [esp + 0x25c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x260], eax
mov dl, byte [esi + 5]
cmp dl, 0x32
jb 0x439f6c
cmp dl, 0x39
ja 0x439f6c
and edx, 0xff
lea ebx, [edx - 0x32]
cmp ebx, 4
jae 0x439ba3
mov eax, ecx
mul dword [0x46c454]
mov ecx, edx
shr ecx, 2
mov dword [esp + 0x34], 0
jmp 0x439bae
shr ecx, 1
mov dword [esp + 0x34], 3
lea eax, [esp + 0x258]
push eax
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x258]
push eax
push ecx
push ebx
call fcn.00439a90
mov ecx, dword [esi]
mov dword [esp + 8], ecx
inc ecx
mov dword [esp + 4], ecx
cmp ecx, 4
jb 0x439f6c
cmp ecx, 0x28
ja 0x439f6c
xor ebp, ebp
mov ebx, 0x80000000
mov dword [esp + 0x20], 0x80000000
mov dword [esp + 0x40], 0x7fffffff
mov edx, 0x7fffffff
jmp 0x439c18
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x50]
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0xfc]
push ecx
lea eax, [esp + 0x250]
push eax
push edx
mov eax, ebp
xor edx, edx
div dword [esi]
mov ecx, edx
pop edx
fld dword [esi + ecx*8 + 0xc]
fadd dword [esp + 0x26c]
fstp dword [esp + 0x258]
fld dword [esi + ecx*8 + 8]
fadd dword [esp + 0x268]
fstp dword [esp + 0x254]
mov dword [esp + 0xc], edx
call fcn.004306b0
mov edx, dword [esp]
fld dword [esp + 0xf8]
push edx
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
mov dword [esp + 0x40], eax
pop edx
mov eax, dword [esp + 0x3c]
mov dword [esp + ebp*8 + 0x100], eax
fld dword [esp + 0xfc]
push edx
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
mov dword [esp + 0x54], eax
pop edx
mov ecx, dword [esp + 0x50]
mov dword [esp + ebp*8 + 0x104], ecx
cmp dword [esp + 0x3c], ebx
jle 0x439cda
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
jmp 0x439cde
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x3c], eax
jl 0x439cf0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x20], ecx
jge 0x439cfe
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
cmp ecx, edx
jl 0x439d06
mov dword [esp + 0x50], edx
inc ebp
cmp dword [esp + 4], ebp
ja 0x439c08
mov eax, dword [esp + 0x50]
test eax, eax
jge 0x439d21
mov dword [esp + 0x50], 0
mov eax, dword [edi + 4]
dec eax
cmp dword [esp + 0x20], eax
jle 0x439d2f
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jge 0x439d41
mov dword [esp + 0x40], 0
jmp 0x439d49
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
lea ebx, [eax - 1]
cmp dword [esp + 0x24], ebx
jle 0x439d59
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x34], 0
jbe 0x439d8f
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x20]
sub eax, dword [esp + 0x50]
jle 0x439d8f
mov dword [esp], eax
fild dword [esp]
fsqrt
fmul dword [0x46c450]
sub esp, 4
fstp dword [esp]
call fcn.00402540
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x50], eax
jge 0x439f6c
mov ecx, dword [esp + 0x250]
mov word [esp + 0xc], cx
mov edx, dword [esp + 0x254]
mov word [esp + 0x10], dx
mov eax, dword [esp + 0x258]
mov word [esp + 0x14], ax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
lea ecx, [ecx + eax*2]
lea ebx, [ecx*2]
nop
cmp dword [esp + 8], 0
jbe 0x439e88
xor ebp, ebp
xor ecx, ecx
nop
mov eax, dword [esp + ebp*8 + 0x104]
cmp dword [esp + 0x20], eax
setl byte [esp + 0x1c]
mov esi, dword [esp + ebp*8 + 0x10c]
cmp dword [esp + 0x20], esi
setl dl
cmp byte [esp + 0x1c], dl
je 0x439e7b
mov edx, dword [esp + ebp*8 + 0x100]
mov dword [esp + 0x18], edx
mov edx, dword [esp + ebp*8 + 0x108]
sub edx, dword [esp + 0x18]
mov dword [esp], edx
fild dword [esp]
mov edx, eax
sub edx, dword [esp + 0x20]
mov dword [esp], edx
fild dword [esp]
fmulp st(1)
sub eax, esi
mov dword [esp], eax
fild dword [esp]
fdivp st(1)
push ecx
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
pop ecx
mov esi, dword [esp + 0x18]
add esi, eax
cmp dword [esp + 0x40], esi
jle 0x439e68
mov eax, dword [esp + 0x40]
jmp 0x439e76
cmp dword [esp + 0x24], esi
jge 0x439e74
mov eax, dword [esp + 0x24]
jmp 0x439e76
mov eax, esi
mov dword [esp + ecx*4 + 0x54], eax
inc ecx
inc ebp
cmp dword [esp + 8], ebp
ja 0x439de4
jmp 0x439e8a
xor ecx, ecx
cmp ecx, 2
jb 0x439f57
test cl, 1
jne 0x439f57
lea eax, [ecx - 1]
nop
cmp eax, 0
jbe 0x439ecc
xor ebp, ebp
mov byte [esp + 0x30], 1
mov edx, dword [esp + ebp*4 + 0x54]
mov esi, dword [esp + ebp*4 + 0x58]
cmp esi, edx
jge 0x439ec5
mov dword [esp + ebp*4 + 0x54], esi
mov dword [esp + ebp*4 + 0x58], edx
mov byte [esp + 0x30], 0
inc ebp
cmp ebp, eax
jb 0x439eac
jmp 0x439ed1
mov byte [esp + 0x30], 1
mov dl, byte [esp + 0x30]
test dl, dl
je 0x439ea0
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + ecx*4 + 0x50]
cmp ecx, ebp
jl 0x439f57
sub ecx, ebp
inc ecx
mov edx, 1
mov esi, ebp
jmp 0x439ef6
mov ecx, eax
cmp dword [esp + edx*4 + 0x54], esi
jne 0x439f08
xor byte [esp + 0x30], 1
inc edx
cmp dword [esp + edx*4 + 0x54], esi
je 0x439efc
mov al, byte [esp + 0x30]
test al, al
je 0x439f4e
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x439f2c
mov eax, dword [esp + 0x20]
add eax, esi
push edx
xor edx, edx
div dword [esp + 0x38]
mov ebp, edx
pop edx
test ebp, ebp
jne 0x439f4e
mov eax, dword [edi + 8]
imul eax, esi
add eax, dword [edi]
mov ebp, dword [esp + 0xc]
add word [ebx + eax], bp
mov ebp, dword [esp + 0x10]
add word [ebx + eax + 2], bp
mov ebp, dword [esp + 0x14]
add word [ebx + eax + 4], bp
inc esi
lea eax, [ecx - 1]
cmp ecx, 1
jne 0x439ef4
dec dword [esp + 0x20]
add ebx, 0xfffffffa
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x50], eax
jl 0x439dd4
sub esp, 0xfffffd9c
pop edi
pop esi
pop ebx
pop ebp
ret 0x10