Function at 0x41d8f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xbc
push ebx
push ebp
push 0x435208
push eax
call fcn.004256de
mov ebp, eax
xor ebx, ebx
add esp, 8
cmp ebp, ebx
jne 0x41d91d
pop ebp
xor eax, eax
pop ebx
add esp, 0xbc
ret
push edi
push ebp
push 4
lea ecx, [esp + 0x3c]
push 1
push ecx
mov dword [esp + 0x44], 0x3e8
mov dword [esp + 0x40], 1
call fcn.00425ab4
push ebp
push 4
lea edx, [esp + 0x48]
push 1
push edx
call fcn.00425ab4
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x47662c]
add esp, 0x20
xor edi, edi
cmp eax, ebx
je 0x41db5a
push esi
xor esi, esi
mov eax, dword [0x476628]
mov cx, word [esi + eax]
mov word [esp + 0x3c], cx
mov dx, word [esi + eax + 2]
mov word [esp + 0x3e], dx
mov cx, word [esi + eax + 4]
mov word [esp + 0x40], cx
mov dx, word [esi + eax + 6]
mov cl, byte [esp + 0x72]
mov word [esp + 0x42], dx
mov dl, byte [esi + eax + 0x3e]
xor dl, cl
and dl, 0x3f
xor cl, dl
mov byte [esp + 0x72], cl
mov byte [esp + 0x74], bl
mov cl, byte [esi + eax + 0x3c]
mov byte [esp + 0x70], cl
mov dl, byte [esi + eax + 0x3d]
mov byte [esp + 0x71], dl
mov cl, byte [esi + eax + 0x3f]
mov byte [esp + 0x73], cl
fld dword [esi + eax + 0x38]
fstp dword [esp + 0x6c]
mov edx, dword [esi + eax + 0x43]
mov dword [esp + 0x77], edx
lea ecx, [esi + eax + 0x20]
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x58], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x5c], ecx
lea edx, [esi + eax + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x68], edx
mov word [esp + 0x75], bx
lea ecx, [esi + eax + 8]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], ecx
lea edx, [esi + eax + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], edx
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00423d90
fld dword [esp + 0x1c]
fmul dword [0x4361fc]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
fstp dword [esp + 0x1c]
mov dword [esp + 0x98], eax
fld dword [esp + 0x20]
mov eax, dword [esp + 0x34]
fmul dword [0x4361fc]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa0], edx
fstp dword [esp + 0x20]
mov dword [esp + 0xa8], eax
fld dword [esp + 0x24]
mov dword [esp + 0xac], ecx
fmul dword [0x4361fc]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0xc8], edx
call fcn.00424040
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
push ebp
mov dword [esp + 0x60], eax
mov eax, dword [0x476620]
push 4
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xa4]
lea ecx, [eax + edi*4]
push 1
push ecx
mov dword [esp + 0x74], edx
call fcn.00425ab4
push ebp
push 0x3f
lea edx, [esp + 0x68]
push 1
push edx
call fcn.00425ab4
mov eax, dword [0x47662c]
add esp, 0x34
inc edi
add esi, 0x47
cmp edi, eax
jne 0x41d971
pop esi
push ebp
call fcn.004254fc
add esp, 4
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0xbc
ret